huggingface-cloth-segmentation
huggingface-cloth-segmentation copied to clipboard
nn.functional.upsample is deprecated ISSUE
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.")
it doesn't matter, if you want to get rid of warning, just find [nn.functional.upsample] and replace it with [nn.functional.interpolate].