dbolya / yolact

A simple, fully convolutional model for real-time instance segmentation.
MIT License
5.04k stars 1.32k forks source link

Error when start Training, Augmentations.py:309 mode=random.choice(self.sample_options) #668

Open jihadrahmawan opened 3 years ago

jihadrahmawan commented 3 years ago

I Try to traning like example from original post, but i meet error like:

augmentations.py:309: 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 mode = random.choice(self.sample_options)

i use Pytorch 1.4.0 cuda 9.2 python 3.6 GPU NVDIA RTX2070super.

Robotatron commented 2 years ago

It's a warning, not an error, just ignore it with:

np.warnings.filterwarnings('ignore', category=np.VisibleDeprecationWarning)