【发布时间】:2021-08-15 21:39:10
【问题描述】:
我正在尝试使用 CreateML 创建对象检测模型。
但无论我做什么,每次按“Train”时都会收到“Unexpected Error”消息。但没有任何进一步的信息。
这里是 annotations.json 数据:
[{"image":"bild.jpg","annotations":[{"label":"sneakers","coordinates":{"y":875,"x":473,"width":236,"height":602}}]},{"image":"bild2.jpg","annotations":[{"label":"sneakers","coordinates":{"y":883,"x":440,"width":245,"height":605}}]},{"image":"bild3.jpg","annotations":[{"label":"sneakers","coordinates":{"y":608,"x":362,"width":222,"height":522}}]},{"image":"bild4.jpg","annotations":[{"label":"sneakers","coordinates":{"y":777,"x":411,"width":254,"height":687}}]}]
这里是 CreateML 的截图:
https://i.stack.imgur.com/y0JOa.png
https://i.stack.imgur.com/mRzMp.png
有人知道我做错了什么吗?
【问题讨论】:
-
完全猜测,但可能需要不止一张图像来进行验证拆分?您可以尝试复制您的图像,看看是否可以正常工作
-
我已经有了同样的想法。我也试过了。我什至下载了一个示例项目(带有注释的图像分为测试、训练、有效)。然而,“意外错误”一次又一次地出现。
-
嗯...我认为有一种方法可以查看错误日志,但我不知道那是什么。你用的是什么硬件?是否也需要安装 xcode 及其工具?有时您只需要接受一个随机弹出窗口。另外,如果你尝试不同的目录会发生什么?
标签: ios json macos object-detection createml