zhangliliang / RPN_BF

RPN+BF
Other
203 stars 76 forks source link

Reference to non-existent field 'sizes' #32

Open murphypei opened 7 years ago

murphypei commented 7 years ago

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 commented 7 years ago

Hi,

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

murphypei commented 7 years ago

@zhangliliang thank you, it works