Apply my model from DLS to another data on command prompt


#1

Hello,
the goal for the moment is to apply my trained model on DLS to another data on command prompt.
I successfully trained a CNN model on DLS.
I watched a HowTo Videos (https://deepcognition.ai/how-to-videos/) and I put on command prompt or Anaconda prompt
python test.py …/test/train.csv tensorflow
It showed only ‘Usage python3 test.py test.csv’.
If I put ‘python3…’, it was not recognized.
If I put ‘python test.py tensorflow’, it begins to work but makes an error as follows.

aborting due to exception… Please check input file format!
Traceback (most recent call last):
File “testt.py”, line 228, in test_model
test_raw = pd.read_csv(input_file)
File “D:\Anaconda3\lib\site-packages\pandas\io\parsers.py”, line 709, in parser_f
return _read(filepath_or_buffer, kwds)
File “D:\Anaconda3\lib\site-packages\pandas\io\parsers.py”, line 449, in _read
parser = TextFileReader(filepath_or_buffer, **kwds)
File “D:\Anaconda3\lib\site-packages\pandas\io\parsers.py”, line 818, in init
self._make_engine(self.engine)
File “D:\Anaconda3\lib\site-packages\pandas\io\parsers.py”, line 1049, in _make_engine
self._engine = CParserWrapper(self.f, **self.options)
File “D:\Anaconda3\lib\site-packages\pandas\io\parsers.py”, line 1695, in init
self._reader = parsers.TextReader(src, **kwds)
File “pandas/_libs/parsers.pyx”, line 402, in pandas._libs.parsers.TextReader.cinit
File “pandas/_libs/parsers.pyx”, line 718, in pandas._libs.parsers.TextReader._setup_parser_source
FileNotFoundError: File b’tensorflow’ does not exist

Could you help me how to proceed?
Thank you in advance.

Python 3.6.4 on win 32
DLS windows, version 2.5.0


#2

You need to type “python test.py test.csv” but it doesnt work anyway.