ShubhankarRawat / Airplane-Detection-for-Satellites

Airplanes are detected on images taken from satellite
21 stars 9 forks source link

traning isuue #2

Open Onkarsus13 opened 3 years ago

Onkarsus13 commented 3 years ago

Using TensorFlow backend. Parsing annotation files Traceback (most recent call last): File "train_frcnn.py", line 79, in all_imgs, classes_count, class_mapping = get_data(options.train_path) File "/content/drive/My Drive/Airplane-Detection-for-Satellites-master/keras_frcnn/simple_parser.py", line 37, in getdata (rows,cols,) = img.shape AttributeError: 'NoneType' object has no attribute 'shape'

ShubhankarRawat commented 3 years ago

Sorry for the late reply, it seems the code is not reading the images. Try verifying the path to the images

Onkarsus13 commented 3 years ago

I have tryed it

Onkarsus13 commented 3 years ago

If possible can u try the code at ur end pre chevk weather it's reading the images or not