Python\Python38\lib\site-packages\torch\functional.py:504: UserW
在运行DCN时,出现了一个警告:\Python\Python38\lib\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 C:\actions-runner_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\TensorShape.cpp:3484.)
return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
这个警告来自于 PyTorch 中的一个函数调用 torch.meshgrid
,它在未来的版本中要求必须传递索引参数。目前,这个参数可能被省略,但在即将发布的版本中,将需要显式地传递索引参数。
警告中提到的参数可能