OneNet icon indicating copy to clipboard operation
OneNet copied to clipboard

KeyError: 'Non-existent config key: MODEL.OneNet'

Open smartadpole opened this issue 4 years ago • 1 comments

Convert model to onnx failed

conmand:

python3 caffe2_converter.py  --format onnx --config-file $dir/onenet.res18.nodcn.yaml --output onnx MODEL.WEIGHTS model_0014999.pth

report:

KeyError: 'Non-existent config key: MODEL.OneNet'

env:

pytorch: 1.6.0
torchvision: 0.7.0
onnx: 1.7.0 

How to convert model to onnx

smartadpole avatar Jan 25 '21 06:01 smartadpole

using projects/OneNet/train_net.py, not tools/train_net.py

rqbrother avatar Jul 31 '23 04:07 rqbrother