Skip to content

Cannot use train.crop.py  #122

@prayagpawar

Description

@prayagpawar

('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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions