aleju / imgaug

Image augmentation for machine learning experiments.
http://imgaug.readthedocs.io
MIT License
14.42k stars 2.44k forks source link

from imgaug import augmenters as iaa #801

Open Taitai6521 opened 2 years ago

Taitai6521 commented 2 years ago
--------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-2-f2c5951829dd> in <module>()
      4 import numpy as np
      5 import imgaug
----> 6 from imgaug.augmentables.segmaps import SegmentationMapsOnImage

ImportError: cannot import name 'SegmentationMapsOnImage' from 'imgaug.augmentables.segmaps' (/usr/local/lib/python3.7/dist-packages/imgaug/augmentables/segmaps.py)

---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the
"Open Examples" button below.

I have been doing this on google colab pro, but it does not work.