Closed hightensan closed 1 year ago
In the car_tracker_tutorial.ipynb sample notebook, the below cell is failed with S3 404 error.
!cd ./car_tracker_app && panorama-cli add-raw-model \ --model-asset-name {model_asset_name} \ --model-s3-uri s3://{S3_BUCKET}/{app_name}/{ML_MODEL_FNAME}.tar.gz \ --descriptor-path {model_descriptor_path} \ --packages-path {model_package_path}
The cause is --model-s3-uri is the wrong path, which does not contain {model_node_name}.
--model-s3-uri
{model_node_name}
SageMaker Com pilation job's output is specified as s3://{S3_BUCKET}/{app_name}/{model_node_name}/, so the path should contain /{model_node_name}/ prefix.
s3://{S3_BUCKET}/{app_name}/{model_node_name}/
/{model_node_name}/
$ aws sagemaker describe-compilation-job --compilation-job-name Comp-Job20230714012911AM --region us-east-1 | jq '.OutputConfig' { "S3OutputLocation": "s3://test-aws-panorama-samples-bucket-us-east-1/car_tracker_app/model_node/", "TargetPlatform": { "Os": "LINUX", "Arch": "X86_64" } }
Thank you for your issue report, @hightensan , I will confirm and get back here.
Merged the PR. Thank you!
In the car_tracker_tutorial.ipynb sample notebook, the below cell is failed with S3 404 error.
The cause is
--model-s3-uri
is the wrong path, which does not contain{model_node_name}
.SageMaker Com pilation job's output is specified as
s3://{S3_BUCKET}/{app_name}/{model_node_name}/
, so the path should contain/{model_node_name}/
prefix.