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
Only after adding the lines the command "python get_cropped_TigDog.py" will run.
python get_cropped_TigDog.py
append file get_cropped_TigDog.py: ################################################
if __name__== "__main__": animals = ['horse', 'tiger'] img_folder = './animal_data/' for animal in animals: img_list, anno_list = load_animal(data_dir=img_folder, animal=animal) img_idxs = dataset_filter(anno_list) print(len(img_idxs)) if not os.path.exists(os.path.join(img_folder, 'real_animal_crop_v4', 'real_'+animal+'_crop')): os.makedirs(os.path.join(img_folder, 'real_animal_crop_v4', 'real_'+animal+'_crop')) get_cropped_dataset(img_folder, img_list, anno_list, img_idxs, animal)
###################################################
The text was updated successfully, but these errors were encountered:
Hi @jasorsi13, sorry for the late reply. Yes, thanks for pointing out, pls add in the lines if you want to preprocess data by yourself.
Sorry, something went wrong.
No branches or pull requests
Only after adding the lines the command "
python get_cropped_TigDog.py
" will run.append file get_cropped_TigDog.py:
################################################
###################################################
The text was updated successfully, but these errors were encountered: