module ‘torch’ has no attribute ‘bool’ ,在对如下代码段进行测试时出现:
import torch
print(torch.__version__)
a = []
niou = 10
tcls = [1,3,4]
a.append((torch<
module ‘torch’ has no attribute ‘bool’ ,在对如下代码段进行测试时出现:
import torch
print(torch.__version__)
a = []
niou = 10
tcls = [1,3,4]
a.append((torch<