TypeError: full() received an invalid combination of arguments - got (tuple, int, device=NoneType),

在这里插入图片描述


问题描述:

使用 pyg 内置的DataLoader构造迭代器时出现如下问题 TypeError: full() received an invalid combination of arguments - got (tuple, int, device=NoneType), but expected one of: (tuple of ints size, Number fill_value, *, Tensor out, torch.dtype dtype, torch.layout layout, torch.device device, bool pin_memory, bool requires_grad)(tuple of ints size, Number fill_value, *, tuple of names names, torch.dtype dtype, torch.layout layout, torch.device device, bool pin_memory, bool requires_grad)

猜你喜欢

转载自blog.csdn.net/m0_47256162/article/details/133883521
今日推荐