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 was using an older version from segmentation models and everything was working fine, when i've upgraded to the latest version i got this error message
barcode_det_model_path = os.path.join("passport_barcode_det_UnetPlusPlus_resnext50_32x4d_e39_lv0.026_ltr0.014_ltest0.038_iv0.95_itr0.973_itest0.932.pth")
self.barcode_det_model = torch.load(barcode_det_model_path, map_location=torch.device('cpu') if device.type == 'cpu' else None)
File "/data2/home/development/anaconda3/envs/ovr3.10/lib/python3.10/site-packages/torch/serialization.py", line 809, in load
return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args)
File "/data2/home/development/anaconda3/envs/ovr3.10/lib/python3.10/site-packages/torch/serialization.py", line 1172, in _load
result = unpickler.load()
File "/data2/home/development/anaconda3/envs/ovr3.10/lib/python3.10/site-packages/torch/serialization.py", line 1165, in find_class
return super().find_class(mod_name, name)
ModuleNotFoundError: No module named 'segmentation_models_pytorch.unetplusplus'
here is the ouput of pip show segmentation-models-pytorch
ame: segmentation-models-pytorch
Version: 0.3.3
Summary: Image segmentation models with pre-trained backbones. PyTorch.
Home-page: https://github.com/qubvel/segmentation_models.pytorch
Author: Pavel Iakubovskii
Author-email: qubvel@gmail.com
License: MIT
Location: /data2/home/development/anaconda3/envs/ovr3.10/lib/python3.10/site-packages
Requires: efficientnet-pytorch, pillow, pretrainedmodels, timm, torchvision, tqdm
how can i fix this issue?
The text was updated successfully, but these errors were encountered:
I was using an older version from segmentation models and everything was working fine, when i've upgraded to the latest version i got this error message
here is the ouput of pip show segmentation-models-pytorch
how can i fix this issue?
The text was updated successfully, but these errors were encountered: