We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey! Awesome work of automating Yolo. However, I have faced following error but, I couldnt understand how to resolve it. Can you please help me?
The text was updated successfully, but these errors were encountered:
Hey! Found the solution. Just modified following in OneTouchYolo.py
def generate_yolo_obj_data_file(n): obj_data = open(output_path+'/'+output_path+'.data','w') obj_data.write('classes='+str(n)+'\n') obj_data.write('train = train.txt'+'\n') obj_data.write('valid = test.txt '+'\n') obj_data.write(output_path+'/'+output_path+".names"+'\n') obj_data.write('backup = backup/')
to
def generate_yolo_obj_data_file(n): obj_data = open(output_path+'/'+output_path+'.data','w') obj_data.write('classes='+str(n)+'\n') obj_data.write('train = '+darknet_path+'/'+output_path+'/train.txt'+'\n') obj_data.write('valid = '+darknet_path+'/'+output_path+'/test.txt '+'\n') obj_data.write(output_path+'/'+output_path+".names"+'\n') obj_data.write('backup = backup/')
Sorry, something went wrong.
No branches or pull requests
Hey! Awesome work of automating Yolo. However, I have faced following error but, I couldnt understand how to resolve it.
Can you please help me?
The text was updated successfully, but these errors were encountered: