parap1uie-s/Keras-RFCN

mold image error

Lakshaysharma048 opened this issue · 1 comments

Hi @parap1uie-s,

Please find the error message, i got while processing the mold_image function during training. Many images are being skipped s=due to this

File "/home/ubuntu/KerasRFCN/Data_generator.py", line 486, in data_generator
    batch_images[b] = mold_image(image.astype(np.float32), config)
  File "/home/ubuntu/KerasRFCN/Data_generator.py", line 554, in mold_image
    return images.astype(np.float32) - config.MEAN_PIXEL

Can you please look into this.

Thanks.

Duplicate of #3
you may check your image data.