我正在尝试使用https://github.com/jsbroks/coco-annotator 为姿态估计标注图像中的COCO关键点。按照安装部分的说明,我克隆了仓库,安装了Docker和Docker-compose。随后,我使用$ docker-compose up
启动了容器,并且它正在运行。
现在我在网站https://annotator.justinbrooks.ca/上,我创建了一个用户和数据集,但它们没有出现在仓库的datasets/
文件夹中。我尝试手动创建它们并在其中加载图像,但它们并未显示在网站的图形界面上。
我尝试了扫描、重新加载网页、创建其他数据集,但都不起作用。容器似乎工作正常,它能检测到我将图像放入datasets/
文件夹时,但会抛出一些错误。
这是最后几行(我可以发布整个日志):
annotator_webclient | [File Watcher] File /datasets/haricot.jpg for createdannotator_webclient | [File Watcher] Adding new file to database: /datasets/imageannotator_message_q | 2019-05-16 13:01:08.841 [error] <0.461.0> closing AMQP connection <0.461.0> (172.18.0.4:42614 -> 172.18.0.2:5672):annotator_message_q | missed heartbeats from client, timeout: 60s
我是否遗漏了什么基本的东西,还是存在一个错误?
我在macOS上使用Safari,我也尝试了在Ubuntu 18上使用Firefox。我没有使用代理,但可能是某些端口没有打开或类似的问题。
回答:
COCO Annotator的创建者在此。
我认为你遗漏了一个基本概念。演示是在虚拟机上运行的,与你的本地实例无关。
一旦你启动了docker-compose,你可以通过输入http://localhost:5000/来访问你的本地实例。