segmentation_models.pytorch
segmentation_models.pytorch copied to clipboard
ModuleNotFoundError: No module named 'torchtext.legacy' in colab
When i tried to follow the notebook in Training model for pets binary segmentation with Pytorch-Lightning i encountered the problem that when the line
import pytorch_lightning as pl
is executed, the ModuleNotFoundError in the title appears. Just installing torchtext.legacy with
!pip install torchtext.legacy
did not solve the problem.