Lightning-Universe / lightning-flash

Your PyTorch AI Factory - Flash enables you to easily configure and run complex AI recipes for over 15 tasks across 7 data domains
https://lightning-flash.readthedocs.io
Apache License 2.0
1.74k stars 213 forks source link

[Instance Segmentaion] Cannot import name 'MasksRecordComponent' from 'icevision.core.record_components' #1071

Closed samyak1999 closed 2 years ago

samyak1999 commented 2 years ago

🐛 Bug

To Reproduce

Follow this link which redirects to the example in the doc Instance Segmentaion Steps to reproduce the behavior:

  1. Import the libraries
  2. Run
  3. Import error occurs

image

Code sample

from flash.image import InstanceSegmentation, InstanceSegmentationData
Error occurs while executing the above code.

Expected behavior

Still not clear of the potential output.

Environment

-PyTorch Version (e.g., 1.0): 1.10.0 -OS (e.g., Linux): Windows -How you installed PyTorch (conda, pip, source): pip -Python version: 3.9 -CUDA/cuDNN version: Non -GPU models and configuration: Geforce 640M -Any other relevant information:

ethanwharris commented 2 years ago

Closing this as it should be fixed in Flash master. Please feel free to re-open if you still get the error :smiley: