Traceback (most recent call last):


 "/usr/lib/python3.7/weakref.py", line 58, in _cb


 "/home/henko/.local/lib/python3.7/site-packages/pyglet/event.py", line 356, in _remove_handler


 "/usr/lib/python3.7/weakref.py", line 74, in __eq__
TypeError: isinstance() arg 2 must be a type or tuple of types

Traceback (most recent call last):


 "e:/EPHEC/Bac_3/Q2/TFE/experiencor/keras-yolo3-master/train.py", line 296, in <module>

_main_(args)


 "e:/EPHEC/Bac_3/Q2/TFE/experiencor/keras-yolo3-master/train.py", line 272, in _main_

max_queue_size
= 8


 "C:\Users\Antoine\Anaconda3\envs\experiencor\lib\site-packages\keras\legacy\interfaces.py", line 91, in wrapper

return func(*args, **kwargs)


 "C:\Users\Antoine\Anaconda3\envs\experiencor\lib\site-packages\keras\engine\training.py", line 1732, in fit_generator

initial_epoch=initial_epoch)


 "C:\Users\Antoine\Anaconda3\envs\experiencor\lib\site-packages\keras\engine\training_generator.py", line 185, in fit_generator

generator_output = next(output_generator)


 "C:\Users\Antoine\Anaconda3\envs\experiencor\lib\site-packages\keras\utils\data_utils.py", line 625, in get

six.reraise(*sys.exc_info())


 "C:\Users\Antoine\Anaconda3\envs\experiencor\lib\site-packages\six.py", line 703, in reraise

raise value


 "C:\Users\Antoine\Anaconda3\envs\experiencor\lib\site-packages\keras\utils\data_utils.py", line 610, in get

inputs = future.get(timeout=30)


 "C:\Users\Antoine\Anaconda3\envs\experiencor\lib\multiprocessing\pool.py", line 644, in get

raise self._value


 "C:\Users\Antoine\Anaconda3\envs\experiencor\lib\multiprocessing\pool.py", line 119, in worker

result = (True, func(*args, **kwds))


 "C:\Users\Antoine\Anaconda3\envs\experiencor\lib\site-packages\keras\utils\data_utils.py", line 406, in get_index

return _SHARED_SEQUENCES[uid][i]


 "e:\EPHEC\Bac_3\Q2\TFE\experiencor\keras-yolo3-master\generator.py", line 73, in __getitem__

img, all_objs = self._aug_image(train_instance, net_h, net_w)


 "e:\EPHEC\Bac_3\Q2\TFE\experiencor\keras-yolo3-master\generator.py", line 163, in _aug_image

image = image[:,:,::-1] # RGB image
TypeError: 'NoneType' object is not subscriptable
