Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

将增量训练完的.h5模型文件转换为.weights文件 #10

Open
aleassx opened this issue Mar 16, 2021 · 2 comments
Open

将增量训练完的.h5模型文件转换为.weights文件 #10

aleassx opened this issue Mar 16, 2021 · 2 comments

Comments

@aleassx
Copy link

aleassx commented Mar 16, 2021

如题,如何将增量训练完的.h5模型文件转换为.weights文件

@dcdethan
Copy link

dcdethan commented Jul 1, 2021

train.py
20line checkpointer = ModelCheckpoint(filepath=filepath,monitor='loss',verbose=0,save_weights_only=True, save_best_only=True)
这里默认就是保存权重
至于载入load.weights就可以了

@niconchan
Copy link

加载的weight存到哪去了呢,没看到train.py里写了weight的存储路径

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants