-
Notifications
You must be signed in to change notification settings - Fork 203
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
feature extract error #131
Comments
can you attach the exported checkpoint and give the model info |
请问有比较好的解决方法嘛 |
看起来你是直接用的训练保存的checkpoint做预测,而没有进行export模型? |
exported the model and still faced the same issue. it was due to the TorchFeatureExtractor writing the dictionary model configs into a disk while expecting it as a string. for a quick walkaround, just replace "ofile.write(config_str)" in line 48 with:
silly issue. maybe some other models have the value config checkpoint['meta']['config'] as a string. |
The text was updated successfully, but these errors were encountered: