segmentation_models.pytorch icon indicating copy to clipboard operation
segmentation_models.pytorch copied to clipboard

ModuleNotFoundError: No module named 'segmentation_models_pytorch.datasets'

Open rohan-paul opened this issue 2 years ago • 3 comments

Line from the official example giving error

from segmentation_models_pytorch.datasets import SimpleOxfordPetDataset

Produces

ModuleNotFoundError                       Traceback (most recent call last)
[<ipython-input-2-f85748ad8193>](https://localhost:8080/#) in <module>()
----> 1 from segmentation_models_pytorch.datasets import SimpleOxfordPetDataset

ModuleNotFoundError: No module named 'segmentation_models_pytorch.datasets'

rohan-paul avatar Apr 16 '22 23:04 rohan-paul

Install latest version from github:

!pip install -U git+https://github.com/qubvel/segmentation_models.pytorch

Khalaf90 avatar Apr 20 '22 14:04 Khalaf90

Hello,I ran this command '!pip install -U git+https://github.com/qubvel/segmentation_models.pytorch',but it's still didn't work,can you help me?

FrontierQ avatar Jun 19 '22 03:06 FrontierQ

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Aug 19 '22 02:08 github-actions[bot]

This issue was closed because it has been stalled for 7 days with no activity.

github-actions[bot] avatar Aug 27 '22 02:08 github-actions[bot]