-
Notifications
You must be signed in to change notification settings - Fork 111
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
Sagemaker 'NoneType object' issue with data in 'walkthrough-classification-mxnet-sagemaker' example #90
Comments
@joshwapiano, I guess something happened with the data (it's
Can you go back to your tiles folder that created by Label Maker, and check if every tile were written correctly? We've seen if the MapBox imagery API token is not set up correctly, the image tiles can be blank.
For this problem, can you just check with the function
If you think the first two were not the problems. Let me know if we can help further. |
@Geoyi Thanks for getting back to me. I had written a much longer response, but for some reason GitHub has not saved this comment. Essentially I have investigated both problem 1 and problem 2 and both give the expected results. I have a feeling that the issue is with the S3 Bucket, and have tried multiple approaches on this. None of which have been successful. Would you be able to run the example on your own sagemaker notebook instance and if it functions as expected share the syntax/approach used in the Many thanks |
I'm getting this same problem.
|
@joshwapiano and @mapmeld, I will spin up the sagemaker notebook and give a check next week. Let me know if you solve the problem before I get back to you. Sorry for the delay. |
@Geoyi thanks for getting back to us - still not having any luck producing the correct data format/feed for the sagemaker notebook. I think they have made changes to sagemaker/mxnet without providing adequate documentation. Good luck, looking forward to hearing from you. |
Phewwww, I finally solved the problem and took me a whole morning today, @joshwapiano, and @mapmeld. Additional things I did:
Here are the scripts to replace the scripts in this notebook:
and do this to the second cell:
|
@Geoyi this works for me - thank you so much for fixing this! |
@Geoyi Many thanks for providing this! Looking forward to trying it out. Will let you know how I get on! |
I've been following the walkthough found here (albeit with a smaller bounding box), and have initiated a Sagemaker Notebook instance. The data.npz file is sitting in the sagemaker folder, and I'm having no problem reading it when running the relevant sections of mx_lenet_sagemaker.py in a new notebook on the instance, however when I run the second cell of SageMaker_mx-lenet I hit the following error:
After several hours trying different fixes I'm having little to no luck debugging, but was hoping you could check the example to ensure it runs fine when you attempt it?
The text was updated successfully, but these errors were encountered: