qubvel / segmentation_models.pytorch

Segmentation models with pretrained backbones. PyTorch.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update CamVid example

alexcjwei opened this issue · comments

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?

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

working on this

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.