You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, with landmarks: landmarks = torch.from_numpy(np.array(landmarks)).to(device).long(), maybe you can reshape landmarks from torch.Size([1, 1, 68, 2]) to torch.Size([1, 68, 2])
#5
Hi, with landmarks: landmarks = torch.from_numpy(np.array(landmarks)).to(device).long(), maybe you can reshape landmarks from torch.Size([1, 1, 68, 2]) to torch.Size([1, 68, 2])
Originally posted by @wuhaozhe in #3 (comment)
hi!I got output as torch.Size([1, 68, 512, 3]) torch.Size([1, 68, 2]) torch.Size([1, 512, 512, 3])
I think the shape of following tensors are right, but I meet the same problem.
lm_vertex = torch.gather(lm_vertex, 2, column_index)
RuntimeError: CUDA error: device-side assert triggered
I see! when the row_index = 512(the size of my rendered image), the error will be reported. it seems that the index should minus one.
besides, the error can be found when running on cpu.
Hi, with landmarks:
landmarks = torch.from_numpy(np.array(landmarks)).to(device).long()
, maybe you can reshape landmarks from torch.Size([1, 1, 68, 2]) to torch.Size([1, 68, 2])Originally posted by @wuhaozhe in #3 (comment)
hi!I got output as torch.Size([1, 68, 512, 3]) torch.Size([1, 68, 2]) torch.Size([1, 512, 512, 3])
I think the shape of following tensors are right, but I meet the same problem.
lm_vertex = torch.gather(lm_vertex, 2, column_index)
RuntimeError: CUDA error: device-side assert triggered
The text was updated successfully, but these errors were encountered: