qubvel-org / segmentation_models.pytorch

Semantic segmentation models with 500+ pretrained convolutional and transformer-based backbones.
https://smp.readthedocs.io/
MIT License
9.51k stars 1.66k forks source link

Update CamVid example #814

Closed alexcjwei closed 10 months ago

alexcjwei commented 1 year ago

I tried following the example, but got AttributeError: module 'segmentation_models_pytorch' has no attribute 'utils' in the call loss = smp.utils.losses.DiceLoss(). I'm importing with !pip install segmentation-models-pytorch then import segmentation_models_pytorch as smp. I think it should be just loss = smp.losses.DiceLoss() now?

alexcjwei commented 1 year ago

Also was doing this from Kaggle, maybe that's why?

SuperSecureHuman commented 1 year ago

working on this

github-actions[bot] commented 10 months ago

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] commented 10 months ago

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