0

When i import it, i get an error about that.

from imgaug.augmentables.segmaps import SegmentationMapsOnImage

Error:

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

Here is the documentation link

Thanks in advance!

10
  • What version of the package are you using? Commented Jun 22, 2021 at 21:18
  • python 3.7 , imgaug 1.15.0 Commented Jun 22, 2021 at 21:25
  • 1.15.0? Are you sure? The doc page says the latest is 0.4. Commented Jun 22, 2021 at 21:30
  • 1
    I've written wrong. 0.2.9 Commented Jun 22, 2021 at 21:53
  • 1
    Install the latest version of the package. That class was probably added in a newer version than you have. Commented Jun 22, 2021 at 21:54

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.