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

Invalid syntax for version number #395

Closed
Roshrini opened this issue May 17, 2018 · 2 comments
Closed

Invalid syntax for version number #395

Roshrini opened this issue May 17, 2018 · 2 comments
Assignees

Comments

@Roshrini
Copy link
Member

Installed MMS with following command:
pip install --pre mxnet-model-server

Got error while running mxnet-model-server command:

roshanin$ mxnet-model-export --model-name="pretrained-alexnet" --model-path="/tmp/models" --service-file-path="/tmp/models/gluon_pretrained_alexnet.py"
/Users/roshanin/anaconda2/lib/python2.7/site-packages/h5py/__init__.py:34: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
  from ._conv import register_converters as _register_converters
/Users/roshanin/anaconda2/lib/python2.7/site-packages/urllib3/contrib/pyopenssl.py:46: DeprecationWarning: OpenSSL.rand is deprecated - you should use os.urandom instead
  import OpenSSL.SSL
Traceback (most recent call last):
  File "/Users/roshanin/anaconda2/bin/mxnet-model-export", line 7, in <module>
    from mms.export_model import export
  File "/Users/roshanin/anaconda2/lib/python2.7/site-packages/mms/__init__.py", line 22, in <module>
    from . import version
  File "/Users/roshanin/anaconda2/lib/python2.7/site-packages/mms/version.py", line 14
    __version__ = 0.4b2
                      ^
SyntaxError: invalid syntax
@vrakesh
Copy link
Contributor

vrakesh commented May 17, 2018

Yes with beta version, the version the version read within mms fails, this works fine for non beta releases. Will be a priority fix

@vrakesh vrakesh self-assigned this May 17, 2018
@vrakesh vrakesh mentioned this issue May 17, 2018
@vrakesh
Copy link
Contributor

vrakesh commented May 23, 2018

fixed in PR 404

@vrakesh vrakesh closed this as completed May 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants