ApexPredator1

Results 2 issues of ApexPredator1

it's in function "resize_image" of file "preprocess.py",wrong codes are below: ``` if im_width == max_img_size < im.width: if o_height == max_img_size < im_height: ``` i think they should be as...

如何根据下面的代码的最后部分获取预测结果啊? 比如最终的预测分数 ``` # 加载模型 model = models.fishnet150() # 加载模型文件的权重数据到model模型 checkpoint = torch.load('checkpoints/pre-trainedModels/fishnet150_ckpt.tar') # 加载指定的模型文件 model.load_state_dict(checkpoint['state_dict']) # 导入模型中的权重数据 device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu") # 设置计算硬件,CPU 或 GPU torch.cuda.set_device(device)...