-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
smp.utils module is deprecated #782
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I'm facing the same situation too. I'm also curious about this. |
Try this... ` ENCODER = 'mit_b4' train_dataset = Dataset( valid_dataset = Dataset( train_loader = DataLoader(train_dataset, batch_size=8, shuffle=True, num_workers=0) Dice/F1 score - https://en.wikipedia.org/wiki/S%C3%B8rensen%E2%80%93Dice_coefficientIoU/Jaccard score - https://en.wikipedia.org/wiki/Jaccard_indexfrom segmentation_models_pytorch import utils optimizer = torch.optim.Adam([ ` |
thank you so much! |
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. |
I am following the example cars segmentation
In order to train my custom data, I have written a train.py
`
if name == 'main':
`


However,it shows smp.utils module is deprecated.
How to use the latest module to avoid this warning?Maybe you can update the jupyter notebook.
Thank you for your attention.
The text was updated successfully, but these errors were encountered: