Larry

Results 2 issues of Larry

hi .when i run demo.py get the error . feat = feat.view(feat.size(0), -1, feat.size(3)) AttributeError: 'builtin_function_or_method' object has no attribute 'view'

在yolov5_prune/modelsori.py下测试DarkNet, if __name__ =='__main__': img_size = 608 cfg = 'cfg/yolov5s_v4_hand.cfg' arc = 'default' device = torch.device("cuda" if torch.cuda.is_available() else "cpu") # 创建Darknet模型 model = Darknet(cfg, (img_size, img_size), arc=arc).to(device) 有警告: WARNING:...