Open Hhhharper opened 4 years ago
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
for i in
create an output file to save the .txt, moreso add +" " to line 33 in yolo.py
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.