踩了不少坑,记录一下
1. 下载 https://codeload.github.com/CSAILVision/LabelMeAnnotationTool/zip/master zip 文件
2.
- In
terminal
navigate to this directory. - Run
$bash ./build_labelme_image.sh
to build the labelme image. - Run
$bash ./start_labelme_container.sh
to start the container. - Point your favourite browser to http://localhost:8080/LabelMeAnnotationTool/tool.html. Let the Labeling Begin!
3. 文件中有几个地方会卡住,在建立镜像时,git由于不可知的因素无法下载,现在通过魔法来绕过,第一步先用SS下载好文件,启动一个本地的HTTPserver
3.1 python -m SimpleHTTPServer 8000
3.2 修改docker中的文件
ADD http://192.168.9.115:8000/LabelMeAnnotationTool-master.tar . RUN tar -xf LabelMeAnnotationTool-master.tar
RUN mv ./LabelMeAnnotationTool-master/ /var/www/html/LabelMeAnnotationTool/
成功安装好,现在看一下效果