tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

unrecognized arguments: --export_onnx ./saved_models/mosaic.onnx

Open bemoregt opened this issue 7 years ago • 2 comments

Hi, @ezyang , @kant , @msakai , @zdevito , @Yangqing

I met this error when converting .pth to .onnx

(mun) kerb:fast_neural_style mun$ (mun) kerb:fast_neural_style mun$ python ./neural_style/neural_style.py eval --content-image dummy.jpg --output-image dummy-out.jpg --model ./saved_models/mosaic.pth --cuda 0 --export_onnx ./saved_models/mosaic.onnx usage: neural_style.py [-h] {train,eval} ... neural_style.py: error: unrecognized arguments: --export_onnx ./saved_models/mosaic.onnx (mun) kerb:fast_neural_style mun$

What's wrong with me? Env: MacMini, OSX Mojave, python2.7

Thanks.

from @bemoregt.

bemoregt avatar Nov 09 '18 12:11 bemoregt

which tutorial you try to run? Could you provide more details?

houseroad avatar Dec 04 '18 20:12 houseroad

having the same issue.

Umity avatar Feb 02 '19 19:02 Umity