Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

example/rcnn mistake--KeyError: 'width' #5596

Closed
Fansiee opened this issue Mar 28, 2017 · 3 comments
Closed

example/rcnn mistake--KeyError: 'width' #5596

Fansiee opened this issue Mar 28, 2017 · 3 comments

Comments

@Fansiee
Copy link

Fansiee commented Mar 28, 2017

Environment info

Operating System:
Ubuntu16.04.2

Compiler:
gcc5.4.0

Package used (Python/R/Scala/Julia):
Python

MXNet version:
0.9.3

Or if installed from source:
yes

Error Message:

num_images 5011
voc_2007_trainval gt roidb loaded from data/cache/voc_2007_trainval_gt_roidb.pkl
append flipped images to roidb
Traceback (most recent call last):
  File "train_end2end.py", line 184, in <module>
    main()
  File "train_end2end.py", line 181, in main
    lr=args.lr, lr_step=args.lr_step)
  File "train_end2end.py", line 44, in train_net
    for image_set in image_sets]
  File "/home/cv/mx-rcnn/rcnn/utils/load_data.py", line 12, in load_gt_roidb
    roidb = imdb.append_flipped_images(roidb)
  File "/home/cv/mx-rcnn/rcnn/dataset/imdb.py", line 165, in append_flipped_images
    boxes[:, 0] = roi_rec['width'] - oldx2 - 1
KeyError: 'width'

Steps to reproduce

or if you are running standard examples, please provide the commands you have run that lead to the error.

  1. changed to 0.9.1

What have you tried to solve it?

1.NO
2.
3.

@piiswrong
Copy link
Contributor

@precedenceguo

@ijkguo
Copy link
Contributor

ijkguo commented Mar 28, 2017

Could be closed due to duplication in ijkguo/mx-rcnn#58

@yajiedesign
Copy link
Contributor

This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants