Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transfer yolo labels #2

Open
Hhhharper opened this issue Aug 13, 2020 · 2 comments
Open

transfer yolo labels #2

Hhhharper opened this issue Aug 13, 2020 · 2 comments

Comments

@Hhhharper
Copy link

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.

@biparnakroy
Copy link
Owner

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

@larrywal-express
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants