efficientdet-pytorch icon indicating copy to clipboard operation
efficientdet-pytorch copied to clipboard

training warning

Open liufengwei520 opened this issue 5 years ago • 1 comments

Epoch 3/25: 0%| | 0/204 [00:00<?, ?it/s<class 'dict'>]D:\Model\efficientDet\04\efficientdet-pytorch\Utils\dataloader.py:130: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray bboxes = np.array(bboxes) D:\Model\efficientDet\04\efficientdet-pytorch\Utils\dataloader.py:130: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray bboxes = np.array(bboxes)

liufengwei520 avatar Aug 10 '20 12:08 liufengwei520

你可以np.array(bboxes, dtype=object) 或者去了这行

bubbliiiing avatar Aug 11 '20 04:08 bubbliiiing