Open Elizabethcase opened 7 years ago
HI,I'm meet this problem that is same with you.How are you deal with?
try decreasing the anchor size
I got the same problem with a custom dataset. Did you figure out how to solve this?
I got the same problem with a custom dataset. Did you figure out how to solve this?
I encountered the similar problem. It turns out that custom dataset has some boxes on the edge of the image and while converting the box coordinates to range [0,1] it is going slightly above 1. I changed the pascalvoc_to_tfrecords.py file line 117 to bboxes.append((max(float(bbox.find('ymin').text) / shape[0], 0.0), max(float(bbox.find('xmin').text) / shape[1], 0.0), min(float(bbox.find('ymax').text) / shape[0], 1.0), min(float(bbox.find('xmax').text) / shape[1], 1.0) ))
Hi,
I'm running the training on a custom dataset whose images are 512x512 (using vgg_300 right now for convenience).
Getting an error every time I try to run train_ssd_network -- I think it has to do with a preprocessing step. Maybe this happens when a photo has no bounding boxes?
This happens whether or not I use the last 5 flags.
Thanks in advance.