Closed hanhuoer closed 3 months ago
你这个模型输入应该是 640 * 640?把 ROI 设一下设成这么大
你这个模型输入应该是 640 * 640?把 ROI 设一下设成这么大
确实,改完 ROI 可以正常运行了
如果这样用,感觉是不是只能做局部识别
那...现在想要实现全屏识别,是不是在训练模型的时候就要考虑好设备尺寸,以兼容 MaaFramework 。
未来,会考虑兼容模型做全屏识别吗?
{
"检测并点击": {
"action": "Click",
"roi": [0, 0, 640, 640],
"recognition": "NeuralNetworkDetect",
"model": "yolov8n.onnx",
"cls_size": 80,
"labels": ["person", "bicycle", "car", "motorcycle", "airplane", "bus", "train", "truck", "boat", "traffic light", "fire hydrant", "stop sign", "parking meter", "bench", "bird", "cat", "dog", "horse", "sheep", "cow", "elephant", "bear", "zebra", "giraffe", "backpack", "umbrella", "handbag", "tie", "suitcase", "frisbee", "skis", "snowboard", "sports ball", "kite", "baseball bat", "baseball glove", "skateboard", "surfboard", "tennis racket", "bottle", "wine glass", "cup", "fork", "knife", "spoon", "bowl", "banana", "apple", "sandwich", "orange", "broccoli", "carrot", "hot dog", "pizza", "donut", "cake", "chair", "couch", "potted plant", "bed", "dining table", "toilet", "tv", "laptop", "mouse", "remote", "keyboard", "cell phone", "microwave", "oven", "toaster", "sink", "refrigerator", "book", "clock", "vase", "scissors", "teddy bear", "hair drier", "toothbrush"],
"expected": [0]
}
}
Hit: Rect(x=52, y=534, w=111, h=105)
可以支持下,resize 下就好了,回头加一个
可以支持下,resize 下就好了,回头加一个
那太好了
情况是这样
昨天,用自己训练的模型出现过这种情况,以为是模型有什么问题,就放下了
今天,尝试用 yolov8 官方提供的 yolov8n.pt 模型,转到 onnx 之后继续,发现还是会闪退
日志级别设置的是 7,没看出来是啥情况,你们有遇到过吗
模型转换命令
运行环境
代码片段
压缩包内包含 maa.log
resource.zip
pipeline
重现过程
我录了整个过程的 GIF 图贴上来
右下角是 MUMU 12 模拟器