Open ZHIZIHUABU opened 4 months ago
rcs3-yolo模型无法导出onnx,报错信息为F.avg_pool2d()的kernel_size参数类型时tensor,不是int型。查询到SEBlock模块中有一个F.avg_pool2d()算子,kernel_size=input_size(3)。
Please look at the answer from this link Problem with F.avg_pool2d #34743. Thanks!
rcs3-yolo模型无法导出onnx,报错信息为F.avg_pool2d()的kernel_size参数类型时tensor,不是int型。查询到SEBlock模块中有一个F.avg_pool2d()算子,kernel_size=input_size(3)。