提交 bf51495e 编写于 作者: E Enric Moreu 提交者: Adam Geitgey

docker-compose added to automate deploy + GPU

上级 f045184f
version: '2.3'
services:
face_recognition:
image: face_recognition
container_name: face_recognition
working_dir: /face_recognition/examples
build:
context: .
command: python3 -u find_faces_in_picture_cnn.py
volumes:
- ./:/face_recognition
runtime: nvidia #Comment this line if you don't have nvidia-docker installed (requires GPU)
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册