Traceback (most recent call last):


 "/home/yu/Mask_RCNN/mrcnn/model.py", line 1695, in data_generator

use_mini_mask=config.USE_MINI_MASK)


 "/home/yu/Mask_RCNN/mrcnn/model.py", line 1210, in load_image_gt

mask, class_ids = dataset.load_mask(image_id)


 "train_shapes.py", line 137, in load_mask

num_obj = self.get_obj_index('fish_'+img)
TypeError: Can't convert 'PngImage
' object to str implicitly

Traceback (most recent call last):


 "E:\python\python3.8.1\lib\threading.py", line 932, in _bootstrap_inner

self.run()


 "E:\python\python3.8.1\lib\threading.py", line 870, in run

self._target(*self._args, **self._kwargs)


 "E:\python\python3.8.1\lib\site-packages\keyboard\_generic.py", line 58, in process

if self.pre_process_event(event):


 "E:\python\python3.8.1\lib\site-packages\keyboard\__init__.py", line 213, in pre_process_event

key_hook(event)


 "E:\python\python3.8.1\lib\site-packages\keyboard\__init__.py", line 516, in <lambda>

return hook_key(key, lambda e: e.event_type == KEY_DOWN or callback(e), suppress=suppress)
TypeError: p() takes 0 positional arguments but 1 was given
