Traceback (most recent call last):


 "/mnt/data/xiangyiy/Repository/DetectAndTrack/lib/utils/coordinator.py", line 41, in stop_on_exception

yield


 "/mnt/data/xiangyiy/Repository/DetectAndTrack/lib/roi_data/loader.py", line 209, in minibatch_loader2

shared_readonly_dict, lock, mp_cur, mp_perm)


 "/mnt/data/xiangyiy/Repository/DetectAndTrack/lib/roi_data/loader.py", line 161, in _get_next_minibatch2

blobs, valid = get_minibatch(minibatch_db)


 "/mnt/data/xiangyiy/Repository/DetectAndTrack/lib/roi_data/minibatch.py", line 56, in get_minibatch

im_blob, im_scales = _get_image_blob(roidb)


 "/mnt/data/xiangyiy/Repository/DetectAndTrack/lib/roi_data/minibatch.py", line 84, in _get_image_blob

im, cfg.PIXEL_MEANS, [target_size], cfg.TRAIN.MAX_SIZE)


 "/mnt/data/xiangyiy/Repository/DetectAndTrack/lib/utils/blob.py", line 73, in prep_im_for_blob

im = im.astype(np.float32, copy=False)
AttributeError: 'NoneType' object has no attribute 'astype'

Traceback (most recent call last):


 "/usr/lib/python3.6/site-packages/mautrix_appservice/appservice.py", line 170, in try_handle

await handler_func(event)


 "/opt/mautrix-telegram/mautrix_telegram/matrix.py", line 318, in handle_event

await self.handle_part(room_id, state_key, sender, event_id)


 "/opt/mautrix-telegram/mautrix_telegram/matrix.py", line 187, in handle_part

await portal.leave_matrix(puppet, sender, event_id)


 "/opt/mautrix-telegram/mautrix_telegram/portal.py", line 681, in leave_matrix

channel = await self.get_input_entity(source)


 "/opt/mautrix-telegram/mautrix_telegram/portal.py", line 202, in get_input_entity

return user.client.get_input_entity(self.peer)
AttributeError: 'NoneType' object has no attribute 'get_input_entity'
