You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working in a internet restricted system. I've installed segmentation_models.pytorch using source code using pip install ..
Now when I try to import it, I get following error:
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-3-b9e13fa886e0> in <module>
----> 1 import segmentation_models_pytorch as smp
/opt/conda/lib/python3.6/site-packages/segmentation_models_pytorch/__init__.py in <module>
----> 1 from .unet import Unet
2 from .linknet import Linknet
3 from .fpn import FPN
4 from .pspnet import PSPNet
5
/opt/conda/lib/python3.6/site-packages/segmentation_models_pytorch/unet/__init__.py in <module>
----> 1 from .model import Unet
/opt/conda/lib/python3.6/site-packages/segmentation_models_pytorch/unet/model.py in <module>
----> 1 from .decoder import UnetDecoder
2 from ..base import EncoderDecoder
3 from ..encoders import get_encoder
4
5
/opt/conda/lib/python3.6/site-packages/segmentation_models_pytorch/unet/decoder.py in <module>
3 import torch.nn.functional as F
4
----> 5 from ..common.blocks import Conv2dReLU
6 from ..base.model import Model
7
ModuleNotFoundError: No module named 'segmentation_models_pytorch.common.blocks'
Any ideas how this error can be solved?
The text was updated successfully, but these errors were encountered:
Hi,
I'm working in a internet restricted system. I've installed segmentation_models.pytorch using source code using
pip install ..
Now when I try to import it, I get following error:
Any ideas how this error can be solved?
The text was updated successfully, but these errors were encountered: