Closed AndrewFalkowski closed 1 year ago
Adding an update:
I was able to fix the issue by downloading the repo and adding the following import to segmentation_models_pytorch/__init__.py
:
from . import utils
whelp, thank you for the timely fix @AndrewFalkowski! just ran into this myself
Just try
import segmentation_models_pytorch.utils as smp_utils
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.
This issue was closed because it has been stalled for 7 days with no activity.
Installing the package form pip into an anaconda environment does not appear to include files in the
utils
folder.Calling
dir(smp)
returns the following: