Add ReTrain Just By Specfying Exp_id In Command Lines #7
+64
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
你好,aptx
我在运行代码时没有发现能够重训练的代码,指定exp_id的作用只是从epoch0开始重新训练,这让我十分困扰,因为我是在autodl上训练的,所以每次都得重头开始比较麻烦。
我在代码中添加了重训练的逻辑,没有持久化任何文件,仅仅使用eval验证已经存在的epoch模型来选择一个最优的epoch重新训练,希望你能采纳我的提交或者添加重新训练的相关逻辑,谢谢♪(・ω・)ノ