tiny-smart / dysample

(ICCV'23) Learning to Upsample by Learning to Sample
MIT License
101 stars 3 forks source link

请问下作者,您的pytorch版本中meshgrid函数indexing的默认值是哪个 #3

Closed NeKoooo233 closed 11 months ago

NeKoooo233 commented 11 months ago

我这里报出了一个UserWarning,让我显式确定meshgrid函数indexing的值 indexing='ij'或者indexing='xy‘ 希望您能确认一下 我将非常感谢

poppuppy commented 11 months ago

你好,在我使用的python(3.8.8)和PyTorch(1.9.0)版本下没有这个Warning。indexing默认值应为'ij'。可能你使用了更高版本的PyTorch,请参考https://pytorch.org/docs/stable/generated/torch.meshgrid.html?highlight=meshgrid的WARNING。

NeKoooo233 commented 11 months ago

你好,在我使用的python(3.8.8)和PyTorch(1.9.0)版本下没有这个Warning。indexing默认值应为'ij'。可能你使用了更高版本的PyTorch,请参考https://pytorch.org/docs/stable/generated/torch.meshgrid.html?highlight=meshgrid的WARNING。

非常感谢