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
I'm following the steps here for the detection results: [https://github.com/Cartucho/mAP/tree/master/scripts/extra#convert-yolo-to-our-format-1]
I copied result.txt to mAP/scripts/extra folder cp result.txt /home/abbeykim/mAP/scripts/extra
cd /home/abbeykim/mAP/scripts/extra
then I ran convert_dr_yolo.py python3 convert_dr_yolo.py
but I get a FileNotFoundError
which is odd because the result.txt has been copied to the folder
So I've edited lines 12 in convert_dr_yolo.py because result.txt isn't in the directory /home/abbeykim/mAP/input/detection-results
It didn't show any errors, but no files were created after running convert_dr_yolo.py
I tried unediting the code to its original version
and instead copied the result.txt file and convert_dr_yolo file into the /mAP/input/detection-results folder
Then ran python3 convert_dr_yolo.py
But still there aren't any files created in /mAP/input/detection-results
The text was updated successfully, but these errors were encountered:
naraekim12
changed the title
FileNotFoundError: [Errno 2] No such file or directory: 'result.txt'
convert_dr_yolo.py script not creating any files in detection-results folder
Nov 2, 2023
Hiya, I'm trying to use mAP for my YOLOv4 model.
I'm following the steps here for the detection results: [https://github.com/Cartucho/mAP/tree/master/scripts/extra#convert-yolo-to-our-format-1]
I copied result.txt to mAP/scripts/extra folder
cp result.txt /home/abbeykim/mAP/scripts/extra
cd /home/abbeykim/mAP/scripts/extra
then I ran convert_dr_yolo.py
python3 convert_dr_yolo.py
but I get a FileNotFoundError
which is odd because the result.txt has been copied to the folder
So I've edited lines 12 in convert_dr_yolo.py because result.txt isn't in the directory /home/abbeykim/mAP/input/detection-results
It didn't show any errors, but no files were created after running convert_dr_yolo.py
I tried unediting the code to its original version
and instead copied the result.txt file and convert_dr_yolo file into the /mAP/input/detection-results folder
Then ran
python3 convert_dr_yolo.py
But still there aren't any files created in /mAP/input/detection-results
Everything works fine when I follow the steps for the ground-truth folder files (https://github.com/Cartucho/mAP/tree/master/scripts/extra#convert-yolo-to-our-format)
Anyone know what might be the problem?
Thanks :)
The text was updated successfully, but these errors were encountered: