-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
[Bug Report] TypeError: Model._create_sagemaker_model() got an unexpected keyword argument 'predictor_cls' #4703
Comments
@anadeem445 This issue seems to be due to an incompatibility or a change in the SageMaker SDK.
plz let me know, if the above helps |
@catica The error you're encountering, modify your code to exclude the predictor_cls argument from the model.deploy method. Instead, after deploying the model, you can instantiate the Predictor class separately. sample snippet:-
Let me know, if it works |
Thanks for your quick reply @Siddharth-Latthe-07 . I've got a different error:
|
@catica The new error possible solutions:-
Plz let meknow, if you find error logs |
I am not sure I understand these problems with S3 accesses as I am trying to use the provided pytorch-SSD model (not my own model). And I'm not trying to access any of my own S3 buckets, I believe. I've followed your debugging suggestion and changed the region to Ps. The CICD checks are failing in the notebook above.
|
I have the same problem as @catica. I can download the tar file from the S3 bucket and can read the files in the base_model_uri folder (in the terminal as user ec2-user). So permissions are set correct. @Siddharth-Latthe-07 , do you have more tips? |
@pietervosnl yeah sure Here are some additional steps and suggestions to help you troubleshoot and resolve this issue
Sample snippet for checking the URIs and the region consistency:-
Hope this helps, Thanks |
Link to the notebook
Example Notebook
Describe the bug
We were trying to test Amazon SageMaker's semantic segmentation feature. So we used this example notebook from sagemaker jumpstart and tried to run it in aws sagemaker notebook instance.
But we received a weird error:
TypeError: Model._create_sagemaker_model() got an unexpected keyword argument 'predictor_cls'
To reproduce
Logs
The text was updated successfully, but these errors were encountered: