Open Batapha opened 8 months ago
/usr/local/lib/python3.11/site-packages/torch/functional.py:507: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at /Users/runner/work/pytorch/pytorch/pytorch/aten/src/ATen/native/TensorShape.cpp:3550.) return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
you can try return _VF.meshgrid(tensors, **kwargs,indexing = 'ij') # type: ignore[attr-defined]
appear this warning:
UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument.