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

Improve error message: --srcFramework/-f: invalid choice: 'None' #733

Open
bersbersbers opened this issue Sep 11, 2019 · 1 comment
Open

Improve error message: --srcFramework/-f: invalid choice: 'None' #733

bersbersbers opened this issue Sep 11, 2019 · 1 comment

Comments

@bersbersbers
Copy link

@bersbersbers bersbersbers commented Sep 11, 2019

Platform (like ubuntu 16.04/win10): Windows 10
Python version: 3.7.4, mmdnn==0.2.5

Running scripts: mmconvert -f caffe -df keras -om test

I know that this command is not supposed to run without passing an input file, but the error message is incorrect and should be improved:

mmconvert: error: argument --srcFramework/-f: invalid choice: 'None' (choose from 'caffe', 'caffe2', 'cntk', 'mxnet', 'keras', 'tensorflow', 'tf', 'torch', 'torch7', 'onnx', 'darknet', 'coreml', 'pytorch')

@bersbersbers
Copy link
Author

@bersbersbers bersbersbers commented Sep 11, 2019

As a workaround, one can use --srcFramework or --sf.

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

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.