We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
看源代码,在训练时,main_mlc.save_checkpoint里面,结果保存在model_best.pth.tar,这样的pth文件。 在推理的时候,作者给的脚本
python q2l_infer.py -a modelname --config /path/to/json/file --resume /path/to/pkl/file [other args] e.g. python q2l_infer.py -a 'Q2L-R101-448' --config "pretrained/Q2L-R101-448/config_new.json" -b 16 --resume 'pretrained/Q2L-R101-448/checkpoint.pkl'
为啥是这样啊?应该怎么处理?
The text was updated successfully, but these errors were encountered:
可能我没注意。 重命名一下文件应该就行了
Sorry, something went wrong.
好的,谢谢大佬
为什么下载的预训练模型是pkl,加载预训练模型是pth,请问这个应该如何修改
No branches or pull requests
看源代码,在训练时,main_mlc.save_checkpoint里面,结果保存在model_best.pth.tar,这样的pth文件。
在推理的时候,作者给的脚本
为啥是这样啊?应该怎么处理?
The text was updated successfully, but these errors were encountered: