- Newest
- Most votes
- Most comments
It seems that this problem has to do with the mxnet version installed on the device not matching the mxnet version used by sagemaker to train the model.
Upon updating the mxnet version on the device to 1.2.0 or 1.1.0 model optimization seems to work fine and the device starts producing inferences.
sudo pip3 install mxnet==1.2.0
The mxnet version used by sagemaker can be defined by the framework_version parameter in sagemaker.mxnet.estimator. When not specified, as in my case, should default to 1.2.1, however when installing mxnet 1.2.1 on my device the same errors occured. [When installing 1.2.0 it seems to work fine though]
It would be nice if the logs would specify something meaningful, say "incompatible mxnet versions in model and device"
Edited by: Mike9753 on Feb 26, 2020 6:07 AM
Relevant content
- asked 5 years ago
- asked 5 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago