snpe-dlc-quantize - Could not open input file
Join Date: 11 Nov 15
Posts: 2
Posted: Thu, 2019-01-03 07:53
while executing the following command,
snpe-dlc-quantize --input_dlc mymodel.dlc --input_list image_file_list.txt --output_dlc mymodel-q.dlc
it shows
[INFO] InitializeStderr: DebugLog initialized.
[INFO] Writing intermediate model
[INFO]
*** Loading images from input list: image_file_list.txt***
[WARNING] NetworkTopology::populateNetworkDesc network desc inputs is empty. Does this network have data/input layer?
[ERROR] Could not open input file: /path/to/data/0.raw
[INFO] DebugLog shutting down.
where the image_file_list.txt contains following information
/path/to/data/0.raw
/path/to/data/1.raw
/path/to/data/2.raw
/path/to/data/3.raw
/path/to/data/4.raw
All the paths above are valid. Could you please tell how to solve this issue ?
Got it resolved by changing the line ending format of image_file_list.txt
Hi Subinkb007,
Could you show the details for your solution?
I also encountered the same problem, but I still don't know how to deal with it after reading your latest reply.
Thank you very much!
If you are creating the --input_list file in Windows, make sure you are using LF and not CRLF as your line ending.
Thank you v-smirgh!
Yes, I found the difference if checking the file with "cat -A".