Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSTrainingCPUOnlyExamples does not work out of the box #2999

Closed
justin-romano opened this issue Mar 1, 2018 · 2 comments
Closed

CSTrainingCPUOnlyExamples does not work out of the box #2999

justin-romano opened this issue Mar 1, 2018 · 2 comments

Comments

@justin-romano
Copy link

justin-romano commented Mar 1, 2018

The CPU Only training example is broken.
I am running windows 10, vs2017 enterprise.
Here is some info.

Input file '../../Tests/EndToEndTests/Image/Data\Train_cntk_text.txt' is not open.

[CALL STACK]
    > Microsoft::MSR::CNTK::IDataReader::  SupportsDistributedMBRead
    - Microsoft::MSR::CNTK::IDataReader::  SupportsDistributedMBRead (x3)
    - CreateDeserializer
    - CreateCompositeDataReader (x3)
    - CNTK::  UniversalLearner
    - CNTK::  CreateCompositeMinibatchSource
    - CSharp_CNTK_DefaultParamInitScale_get
    - CSharp_CNTK_MinibatchSource_TextFormatMinibatchSourceInternal__SWIG_3
    - 00007FFDC15DFEC7 (SymFromAddr() error: The specified module could not be found.)

The file is there but in an entirely different folder.
So i changed the folder to ../../Tutorials/HelloWorld-LogisticRegression
and ran it again. (btw. Im just messing around with this for the first time im sure im not alone.)
Now im getting a mass of these.

txt) has a sparse suffix (expected size = 784, actual size = 2).
WARNING: A dense sample at offset 10024 in the input file (../../Tutorials/HelloWorld-LogisticRegression\Test_cntk_text.txt) has a sparse suffix (expected size = 10, actual size = 1).
WARNING: A dense sample at offset 10054 in the input file (../../Tutorials/HelloWorld-LogisticRegression\Test_cntk_text.txt) has a sparse suffix (expected size = 784, actual size = 2).
WARNING: A dense sample at offset

finally i get this: and this file really does not exist anywhere in the source base;

======== running LSTMSequenceClassifier.Train using CPU ========
attempt: Input file '../../Tests/EndToEndTests/Text/SequenceClassification/Data\Train.ctf' is not open., retrying 2-th time out of 5...
attempt: Input file '../../Tests/EndToEndTests/Text/SequenceClassification/Data\Train.ctf' is not open., retrying 3-th time out of 5...
attempt: Input file '../../Tests/EndToEndTests/Text/SequenceClassification/Data\Train.ctf' is not open., retrying 4-th time out of 5...
attempt: Input file '../../Tests/EndToEndTests/Text/SequenceClassification/Data\Train.ctf' is not open., retrying 5-th time out of 5...

Can this be fixed? would be nice to have the examples just work.

@JaneShenYY
Copy link

In the path in your code, add .txt at the end, e.g. '../../Tests/EndToEndTests/Image/Data\Train_cntk_text.txt.txt'

@justin-romano
Copy link
Author

justin-romano commented Mar 1, 2018

oh, really? I did not even see a tests folder. maybe my installation is missing something

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants