Open EngineerKhan opened 7 years ago
This seems to be caused by Python not able to load the file. Are you sure the file is there and not corrupted?
I met the same issue. #2553
@EngineerKhan I just found the solution. Please note that Train.ctf is the filename without extension. It is a text document, so adding the file extension .txt should work.
In your case, modify the path to be like this:
Input file '~/Project/TestCases/Data/Train.ctf.txt'
Ran into this problem too. I had to give the full path to the .ctf file to get the code to run. JM
Thank you. That helps.
AZ
SUBJECT: Re: [Microsoft/CNTK] Input file '~/Project/TestCases/Data/Train.ctf' is not open. (#2553) DATE: Thu, 08 Mar 2018 13:56:04 -0800 FROM: James McCaffrey TO: Microsoft/CNTK CC: Subscribed REPLY-TO: Microsoft/CNTK
Ran into this problem too. I had to give the full path to the .ctf file. JM
-- You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub [1], or mute the thread [2].
[1] https://github.com/Microsoft/CNTK/issues/2553#issuecomment-371637867 [2] https://github.com/notifications/unsubscribe-auth/AWIZxM-ZHDEIyqyWKLV41T5J68Kkh7ylks5tcaj0gaJpZM4QIidr
This is an issue!
On very small files, the file sometimes gets loaded, large files the file is not Loaded.
The MinibatchSource.TextFormatMinibatchSource
is not waiting for the File to be written to the Output Path.
C# has the same problem, through the API.
SOLUTION: Read the file from a Static Location and use the Full Path.
I have been trying to run the pretty simple SequenceClassification example (by downloading the respective Train.ctf file into my ~/Project/TestCases/Data folder but whenever I run it, I get the following error:
Input file '~/Project/TestCases/Data/Train.ctf' is not open.
Here is full trace of error:
RuntimeError Traceback (most recent call last)