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

Cannot use train.crop.py #122

Open
prayagpawar opened this issue Nov 11, 2022 · 0 comments
Open

Cannot use train.crop.py #122

prayagpawar opened this issue Nov 11, 2022 · 0 comments

Comments

@prayagpawar
Copy link

('class_list', 15)
('find image', 7)
('find label', 7)
(0, 'read image', 'P2598.png')
Traceback (most recent call last):
File "train_crop.py", line 243, in
clip_image(img.strip('.png'), img_data, box, 800, 800)
File "train_crop.py", line 199, in clip_image
save_to_xml(xml, subImage.shape[0], subImage.shape[1], box[idx, :], class_list)
File "train_crop.py", line 116, in save_to_xml
f = open(save_path,'w')
IOError: [Errno 2] No such file or directory: 'rootdir/r2cnn/R2CNN_Faster-RCNN_Tensorflow/trail/save/labeltxt/P2598_0000_0256.xml'

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

1 participant