Open yuanliangxie opened 3 years ago
The wrong code I think
# copy image to train image dir
dst_f_path = dst_img1_dir + y
if os.path.isfile(dst_f_path):
shutil.copy(y_path, dst_img1_dir)
print('{} cp to {}'.format(y, dst_img1_dir))
else:
print('{} already exists.'.format(dst_f_path))
Thank you for your shared spirit!
On line 48 to line 54
The following is my modified code: