models icon indicating copy to clipboard operation
models copied to clipboard

Getting an error when use Training a pet detector steps to train on my own data set .

Open shamanez opened this issue 9 years ago • 3 comments

I want to detect two objects. I have 6 examples of images . So I modified faster_rcnn_resnet101_pets.config , pet_label_map.pbtxt scripts . Then I converted my data set in to Tfrecords format with the use of create_pet_tf_record.py .

Then I used the normal steps . But my job get failed showing this , image

Then the log reports show something like this ,

image

image

Can someone please help me.

shamanez avatar Jul 27 '17 16:07 shamanez

@shamanez Looks like it ran out of memory. Note that even though the model works on the pet dataset, it is not guaranteed to work on another dataset right out of the box. You can try to:

  • change min_dimension and max_dimension in the image resizer
  • reduce batch_size
  • increase anchor height_stride and width_stride
  • increase first_stage_features_stride
  • other

yanfengliu avatar Jul 27 '17 19:07 yanfengliu

I somehow trained by reducing the width ,height and compressing the inputs . It worked !

shamanez avatar Jul 27 '17 22:07 shamanez

This question is better asked on StackOverflow since it is not a bug or feature request. There is also a larger community that reads questions there. Thanks!

shivaniag avatar Aug 01 '17 21:08 shivaniag