小编Pep*_*avo的帖子

torch meshgrid 警告:在即将发布的版本中,将需要传递索引参数

我正在尝试执行 LIIF( https://github.com/yinboc/liif ​​) 并出现以下警告:

/usr/local/lib/python3.7/dist-packages/torch/functional.py:445: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at  ../aten/src/ATen/native/TensorShape.cpp:2157.)
  return _VF.meshgrid(tensors, **kwargs)  # type: ignore[attr-defined]
Run Code Online (Sandbox Code Playgroud)

python grid user-warning torch pytorch

7
推荐指数
1
解决办法
2万
查看次数

标签 统计

grid ×1

python ×1

pytorch ×1

torch ×1

user-warning ×1