CNTK icon indicating copy to clipboard operation
CNTK copied to clipboard

Image Hands-On Lab

Open fcivardi opened this issue 10 years ago • 8 comments

I think a python script is missing, the one downloading and unzipping the CIFAR-10 dataset. There are just the commands for Linux:

wget -rc http://www.cs.toronto.edu/~kriz/cifar-10-python.tar.gz tar xvf www.cs.toronto.edu/~kriz/cifar-10-python.tar.gz python CifarConverter.py cifar-10-batches-py

fcivardi avatar Sep 01 '16 12:09 fcivardi

Hi fcivardi,

Which version are you using? In the latest 1.7 GPU binary drop for Linux there is CifarDownload script that does that. It is in cntk/Examples/Image/Miscellaneous/cifar-10/CifarDownload. Readme in the same folder describes how to run it. Thanks!

eldakms avatar Sep 01 '16 13:09 eldakms

Thank you, I was looking here: CNTK-master\Tutorials\ImageHandsOn and I couldn't find it (there is only the converter there). As you said, it's in cntk/Examples/Image/Miscellaneous/cifar-10/CifarDownload. I'm using the latest 1.7 GPU binary for Windows. Thanks!

fcivardi avatar Sep 01 '16 14:09 fcivardi

I'm closing this then. Thanks!

eldakms avatar Sep 01 '16 14:09 eldakms

I just checked. The script is in the repo in the Tutorials folder: https://github.com/Microsoft/CNTK/blob/master/Tutorials/ImageHandsOn/CifarConverter.py

@fcivardi, could you confirm that it is not there in the binary distribution? @eldakms, maybe our binary packer script does not copy it?

frankseide avatar Sep 01 '16 16:09 frankseide

I think we are talking about CifarDownload? :)

eldakms avatar Sep 01 '16 16:09 eldakms

Yes, in the new tutorial folder for ImageHandsOn there is only CifarConverter.py, not CifarDownload.py (which can be found in the old tutorial). To make life simple, I suggest to put both in ImageHandsOn as well ;-) Btw, thanks for the new tutorials, they are great!

fcivardi avatar Sep 01 '16 17:09 fcivardi

You don't need CifarDownload.py for the ImageHandsOn,. The wget command is sufficient.

frankseide avatar Sep 01 '16 19:09 frankseide

I wrongly thought it was only for Linux, not for Windows. But please update the documentation, it says: Please execute the following two Python scripts which you will also find in the working directory: wget -rc http://www.cs.toronto.edu/~kriz/cifar-10-python.tar.gz tar xvf www.cs.toronto.edu/~kriz/cifar-10-python.tar.gz python CifarConverter.py cifar-10-batches-py but there is just one python script ;-)

fcivardi avatar Sep 01 '16 19:09 fcivardi