pseudoLabelGeneratorForYOLO icon indicating copy to clipboard operation
pseudoLabelGeneratorForYOLO copied to clipboard

transfer yolo labels

Open Hhhharper opened this issue 5 years ago • 2 comments
trafficstars

usage: yolo.py [-h] -i IMAGE -t TEXT -c CLASSES yolo.py: error: the following arguments are required: -c/--classes usage: yolo.py [-h] -i IMAGE -t TEXT -c CLASSES yolo.py: error: the following arguments are required: -c/--classes usage: yolo.py [-h] -i IMAGE -t TEXT -c CLASSES yolo.py: error: the following arguments are required: -c/--classes

hello,i am so sorry to bother you. Sir, i don't know why the code is wrong. May I get your help? Thanks.

Hhhharper avatar Aug 13 '20 18:08 Hhhharper

Hello @Hhhharper , there was a problem in yolo.sh, i have fixed it, i hope it runs now

for i in  <num list>
do
  python3 yolo.py --image dataset/data$i.jpg --text dataset/data$i.txt --classes classes.txt > dataset/data$i.txt
done

here classes.txt is the list of classes of your dataset

biparnakroy avatar Aug 14 '20 04:08 biparnakroy

for i in do python3 yolo.py --image dataset/data$i.jpg --text dataset/data$i.txt --classes classes.txt > output/data$i.txt done

create an output file to save the .txt, moreso add +" " to line 33 in yolo.py

larrywal-express avatar Jun 10 '21 08:06 larrywal-express