You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you add indexing='ij' in torch.meshgrid() to suppress the warning?
/home/user/anaconda3/envs/dense-ulearn-vos/lib/python3.10/site-packages/torch/functional.py:504: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at /opt/conda/conda-bld/pytorch_1670525552843/work/aten/src/ATen/native/TensorShape.cpp:3190.)
return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
https://github.com/visinf/dense-ulearn-vos/blob/88e5e3518cb0c4a636ad652a3c0f544a370f4c6c/labelprop/crw.py#L234C7-L234C7
Hi,
Could you add indexing='ij' in
torch.meshgrid()
to suppress the warning?/home/user/anaconda3/envs/dense-ulearn-vos/lib/python3.10/site-packages/torch/functional.py:504: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at /opt/conda/conda-bld/pytorch_1670525552843/work/aten/src/ATen/native/TensorShape.cpp:3190.)
return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
See : https://pytorch.org/docs/stable/generated/torch.meshgrid.html for reason behind warning.
Regards
Akshit Maurya
The text was updated successfully, but these errors were encountered: