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

Reference to non-existent field 'sizes' #32

Open
murphypei opened this issue Jan 6, 2017 · 2 comments
Open

Reference to non-existent field 'sizes' #32

murphypei opened this issue Jan 6, 2017 · 2 comments

Comments

@murphypei
Copy link

Hi, I configured the project as your readme. Fortunately, I was able to run the testing demo successfully, but when I wanted to train the network, I had the following problems. I have never encountered a similar problem in matlab, so would I like to ask any suggestions from you?

There is the error:

RPN_BF startup done
GPU 1: free memory 11872763904
GPU 2: free memory 11872763904
Use GPU 1
Loading region proposals...done
Warrning: no windows proposal is loaded !
Reference to non-existent field 'sizes'.

Error in roidb_from_caltech (line 52)
  height = imdb.sizes(1,1);

Error in Dataset.caltech_trainval>@(x)x.roidb_func(x,false) (line 6)
        dataset.roidb_train   = cellfun(@(x) x.roidb_func(x, false), dataset.imdb_train, 'UniformOutput',
        false);

Error in Dataset.caltech_trainval (line 6)
        dataset.roidb_train   = cellfun(@(x) x.roidb_func(x, false), dataset.imdb_train, 'UniformOutput',
        false);

Error in script_rpn_pedestrian_VGG16_caltech (line 30)
dataset                     = Dataset.caltech_trainval(dataset, 'train');
@zhangliliang
Copy link
Owner

Hi,

It might be something wrong in generating the imdb. Might try to remove the cache folder, and run the training script again.

@murphypei
Copy link
Author

@zhangliliang thank you, it works

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

2 participants