I am trying to run one of the EndToEndTest - BatchNormalization/Spatial/CNTK on the linux build.
But , am getting an error log stating
Error: cannot find data. Please see Examples/Image/Miscellaneous/CIFAR-10/README.md for instructions to get it
I faced a similar problem in Non-Spatial tests and I read the corresponding README and downloaded the necessary DATASETS. But here , am unable to find any folder named "MISCELLANEOUS" itself.
The Source code doesn't contain such Folder.
Any leads on how to overcome this small issue ?
You are probably looking for the following file
https://github.com/Microsoft/CNTK/blob/master/Examples/Image/DataSets/CIFAR-10/README.md
Thanks for pointing it out. The error message has been fixed. Please refer to this to set up CNTK_EXTERNAL_TESTDATA_SOURCE_DIRECTORY to run the test.
@KeDengMS I would also suggest to change the path correspondingly in
https://github.com/Microsoft/CNTK/blob/master/Tests/EndToEndTests/BatchNormalization/Spatial/run-test-common#L12
&
https://github.com/Microsoft/CNTK/blob/master/Tests/EndToEndTests/BatchNormalization/Spatial/run-test-common#L14
Just a stale path fixing again and a cleaner code.
Thanks.
@Prasandhmcw Those path in the script cannot be changed. You need to create a folder for CNTK_EXTERNAL_TESTDATA_SOURCE_DIRECTORY, and copy or link the CIFAR data under Image/CIFAR/v0. This is because that in our end-to-end test environment, test data are centralized under one folder.
Ok. This being the case , I understand that the path needn't be changed.
For people , who are getting confused with CNTK_EXTERNAL_TESTDATA_SOURCE_DIRECTORY ,
Just create a folder specifically for the ExternalData and the necessary sub-folders , by looking into the test scripts and then copy/link the necessary data under the respective folders.
Dont forget to set the CNTK_EXTERNAL_TESTDATA_SOURCE_DIRECTORY environment variable.
Thanks for the info @KeDengMS .