Sagemaker 'NoneType object' issue with data in 'walkthrough-classification-mxnet-sagemaker' example
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- aws, python
- Área
- cloud, machine-learning
Línea de trabajo
Comienza con examples/walkthrough-classification-mxnet-sagemaker.md y ejecuta la segunda celda de examples/nets/SageMaker_mx-lenet.ipynb usando la configuración data.npz indicada. Sigue la llamada hasta mx_lenet_sagemaker.py, especialmente prep_data y find_file; se considera terminado cuando el ejemplo entrena sin el error NoneType/read indicado.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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:
ValueError: Error training sagemaker-mxnet-2018-07-08-18-12-13-217: Failed Reason: AlgorithmError: uncaught exception during training: 'NoneType' object has no attribute 'read'
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/container_support/training.py", line 36, in start
fw.train()
File "/usr/local/lib/python2.7/dist-packages/mxnet_container/train.py", line 191, in train
model = user_module.train(**kwargs_to_pass)
File "/opt/ml/code/mx_lenet_sagemaker.py", line 92, in train
train_iter, val_iter = prep_data(data_path)
File "/opt/ml/code/mx_lenet_sagemaker.py", line 14, in prep_data
data = np.load(find_file(data_path, 'data.npz'))
File "/usr/local/lib/python2.7/dist-packages/numpy/lib/npyio.py", line 402, in load
magic = fid.read(N)
AttributeError: 'NoneType' object has no attribute 'read'
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?
- Lenguaje dominante
- Python
- Estrellas
- 472
- Forks
- 106
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de developmentseed/label-maker
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
developmentseed/label-maker#195 ·
-
Use logging or drop log optionAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
developmentseed/label-maker#186 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
developmentseed/label-maker#185 ·
-
Generalize Final data.npz outputQuizá libre de nuevo @martham93 la tomó hace 2224 días y no hay ningún pull request abierto. Abiertoenhancement
developmentseed/label-maker#181 · 1 comentario · 1 asignado ·
-
No support for Tensorflow 2Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
developmentseed/label-maker#180 · 1 comentario ·
Todos los issues de developmentseed/label-maker
Issues similares
-
Claiming namespace `apoint`Abiertonamespace operations
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
EclipseFdn/open-vsx.org#13573 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
collective/icalendar#1854 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
rancher/rancher-ai-agent#412 ·
Los mantenedores suelen responder en 6 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
TUDelftGeodesy/DePSI#134 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
HenriquesLab/rxiv-maker#335 ·