Open wgqbit95 opened 5 years ago
Hi, firstly, you need to check if you import the torch module correctly or not. Then, "torch.meshgrid" is different in between 0.4.1 and 1.0.0.
In torch 0.4.1 grid_x, grid_y = torch.meshgrid([x, y])
In torch 1.0 grid_x, grid_y = torch.meshgrid(x, y)
You can refer to my fork
are you solve this problem? @wgqbit95 ,my torch versions are 0.4.0 and 0.4.1
I have used all the torch versions 0.4.0 0.4.1 1.0.0, but there is always an error 'no module named torch.meshgrid' , could you please help me solve the problem