-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Hello,
I'm trying to run the inference, but I'm getting this issue:
!python process.py --image '/content/1.png' --checkpoint_path "/content/cloth_segm.pth"
Model already exists.
----checkpoints loaded from path: /content/cloth_segm.pth----
/usr/local/lib/python3.10/dist-packages/torch/nn/functional.py:3769: UserWarning: nn.functional.upsample is deprecated. Use nn.functional.interpolate instead.
warnings.warn("nn.functional.upsample is deprecated. Use nn.functional.interpolate instead.")
Activity
feiwenxiong commentedon Mar 1, 2024
it doesn't matter, if you want to get rid of warning, just find [nn.functional.upsample] and replace it with [nn.functional.interpolate].