Can't deploy sagemaker object detection model on DeepLens

0

I trained a sagemaker model instead and get the following compile error "expecting bytes like object, str found" after compiling.

These are the steps I took:

1. Labeled images in ground truth myself.
2. Trained the model using sagemaker training job gui, with the following options:
   a) Vision Object Detection (Mxnet)
   b) resnet50
   c) image shape 300
3. Training job completed successfully.
4. Imported model from sagmaker in deeplens
     a) selected "Amazon Sagemaker Trained Model"
     b) Selected training job
     c) selected mxnet as framework
5. downloaded project with new model
    a) verified model downloaded and extracted in /opt/awscam/artifacts
    b) mo.optimize('model_algo_1', 300,300,'mx)
    c) compile error "expecting bytes like object, str found"

So here the debugging task is much simplified for your team: a) I have removed any external dependency using built in sagemaker vision model. b) NEO optimization is not part of the workflow - import model directly from training job in deeplens console. c) awscam updated - rebooted

I am completely operating in AWS managed services now with no external dependencies. All software versions are known to AWS and I am using AWS recommended workflow.

Please can someone suggest what is wrong.

已提問 2 年前檢視次數 393 次
1 個回答
0

Hello, Thanks for reaching out.

Above error is generally raised when a certain operation is applied to an object of the incorrect type.

I'd recommend to check the syntax error and try again. If you still encounter the error, I will request you to open a Premium support case so that one of our engineers will be able to assist you.

AWS PS case: https://console.aws.amazon.com/support/home?#/case/create

支援工程師
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南