-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels