humphd / have-fun-with-machine-learning

An absolute beginner's guide to Machine Learning and Image Classification with Neural Networks
Other
5.07k stars 541 forks source link

BadRequestKeyError, when uploading pertained models #22

Closed xueyuanl closed 4 years ago

xueyuanl commented 5 years ago

Hi guys, I hit an issue when I uploading the pertained models both Alex and google, like the below photos:

Screen Shot 2019-04-24 at 01 32 01 Screen Shot 2019-04-24 at 01 32 28

I have no idea about that, anybody can help me ? That would be a huge Appreciate.

humphd commented 5 years ago

@xueyuanl I haven't run into this before, but I do see https://github.com/NVIDIA/DIGITS/issues/2070 is filed upstream with DIGITS, indicating it might not just be you. You might want to comment on that issue and see what it produces.

xueyuanl commented 5 years ago

@xueyuanl I haven't run into this before, but I do see NVIDIA/DIGITS#2070 is filed upstream with DIGITS, indicating it might not just be you. You might want to comment on that issue and see what it produces.

Thanks for your help humphd.

xueyuanl commented 5 years ago

Is it possible the version of DIGITS in your docker template is out of date? or something like that.

BirkhoffLee commented 5 years ago

I'm not the maintainer of https://hub.docker.com/r/kaixhin/digits/, but it do look like a outdated version of DIGITS.

humphd commented 5 years ago

Would someone be willing to try this version: https://ngc.nvidia.com/catalog/containers/nvidia:digits and specifically:

docker pull nvcr.io/nvidia/digits:19.04-caffe

If it works for what we have here, we could update the docs.

xueyuanl commented 5 years ago

Would someone be willing to try this version: https://ngc.nvidia.com/catalog/containers/nvidia:digits and specifically:

docker pull nvcr.io/nvidia/digits:19.04-caffe

If it works for what we have here, we could update the docs.

I read your dockerfile source code, # Install DIGITS ENV DIGITS_ROOT /root/digits RUN git clone https://github.com/NVIDIA/DIGITS.git $DIGITS_ROOT && cd $DIGITS_ROOT && \ pip install -r requirements.txt && \ pip install -e . it always clone the latest source code. So the outdated version of digits may not the root cause.

doggyeh commented 4 years ago

You must upload a labels.txt file. Just create an empty file and upload it.

xueyuanl commented 4 years ago

Thank you guys, This issue was opened so long, and I can't remember the context about it. So, I just close it, and hope it would help others.