You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the create_lmdbdata.sh, I get two errors related to the .xml files in train and test folders.
it says:
annotation file: /home/hesam/Desktop/img/val/annot/0269.xml does not exist
annotation file: /home/hesam/Desktop/img/train/annot/0156.xml does not exist
These paths are exist in first lines of trainval.txt and test.txt. it means the program stuck in the first line.
The error comes from the create_annoset.py file and it seems it does not recognize .xml files.
It seems it does not have any problem with .jpg files.
But both paths are correct and files are exist there. Why I get this error?! very strange :-(
The text was updated successfully, but these errors were encountered:
if the path are correct (make sure), then the problem is that the xmls are generated in the Windows and windows uses different mechanism for txt files. you can convert all to the Linux format but now I can not remember its command but you can find in the search easily
Thank you so much for your reply! Yes that’s the reason and I solved it. I generated the txt in windows and they have different mechanisms for \r or \n. In windows and Linux.
Thank you again!
When I run the
create_lmdbdata.sh
, I get two errors related to the.xml
files in train and test folders.it says:
These paths are exist in first lines of
trainval.txt
andtest.txt
. it means the program stuck in the first line.The error comes from the
create_annoset.py
file and it seems it does not recognize.xml
files.It seems it does not have any problem with
.jpg
files.But both paths are correct and files are exist there. Why I get this error?! very strange :-(
The text was updated successfully, but these errors were encountered: