CNTK icon indicating copy to clipboard operation
CNTK copied to clipboard

Where is Test-28x28_cntk_text.txt?

Open nightrank opened this issue 10 years ago • 5 comments

I'm trying to run this cntk file, which is for E2E test for CNTKTextFormatReader.

https://github.com/Microsoft/CNTK/blob/master/Tests/EndToEndTests/CNTKTextFormatReader/Examples/Image/MNIST/Config/01_OneHidden.cntk readerType = "CNTKTextFormatReader" file = "$DataDir$/Test-28x28_cntk_text.txt"

Test-28x28_cntk_text.txt is referred as the input file, but I can't find it in this repo.

Would you please commit this file?

I tried to write one by myself, but the error rate is very high (0.8974) after training, which is abnormal. My file: |labels 0 0 0 0 1 0 0 0 0 0 |features ... |labels 0 0 0 1 0 0 0 0 0 0 |features ...

Thanks

nightrank avatar May 25 '16 10:05 nightrank

Hi, Under examples/image/mnist there are python scripts to fetch the data and prepare it for the reader.https://github.com/Microsoft/CNTK/tree/master/Examples/Image/MNIST/AdditionalFiles

thanks, Jean

jeanfad avatar May 27 '16 13:05 jeanfad

@jeanfad Thanks for your suggestion. But that script will only generate Train-28x28.txt file, but not Test-28x28_cntk_text.txt. The format of them is different, the later is for CNTKTextFormatReader.

nightrank avatar May 27 '16 14:05 nightrank

You can find the files here: https://github.com/Microsoft/CNTK/tree/master/Tests/EndToEndTests/Image/Data

aayushgarg avatar May 27 '16 15:05 aayushgarg

@aayushgarg Thanks so much, that's it. I didn't find it because the file name is different from the one in the cntk config file.

nightrank avatar May 27 '16 15:05 nightrank

Hi! But i have files Test-28x28_cntk_text.txt and Train-28x28_cntk_text.txt When i runing project CSEvalClient, i have error in funtion EvaluateMultipleModels in line int expected = int.Parse(line.Substring(0, line.IndexOf('\t'))); System.ArgumentOutOfRangeException In this files not '\t' symbol. How to solve this problem?

Thanks

256zib avatar Jun 29 '16 10:06 256zib