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

Deploy step failing for SSD object detection model while getting ready to inference model locally. #14

Open
MercyPrasanna opened this issue Sep 10, 2021 · 1 comment

Comments

@MercyPrasanna
Copy link

MercyPrasanna commented Sep 10, 2021

Hi @angelarw, @zhreshold

I was following the below notebook to inference sagemaker object detection ssd model locally. I get an error reporting that commons module does not exist when executing the deploy step to make the model ready for deployment.

https://github.com/aws-samples/amazon-sagemaker-aws-greengrass-custom-object-detection-model/blob/master/training/03_local_inference_post_training.ipynb

Error:
image

@makoit
Copy link

makoit commented Dec 1, 2021

@MercyPrasanna

Changes in the code are needed in https://github.com/zhreshold/mxnet-ssd because it is supported for python2 but we use python3.

  • change in symbol_builder.py: from common import multi_layer_feature, multibox_layer to from .common import multi_layer_feature, multibox_layer
  • changed xrange to range in symbol_builder.py

I made this changes and it worked for me.

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

No branches or pull requests

2 participants