Get the AI Server Running Anywhere
in Seconds
# Setup server architecture
export ARCH=cpu # gpu also available
# Setup models directory
export MODELS=/path/to/models
# Pull the docker image
docker pull docker.jolibrain.com/deepdetect_${ARCH}
# Start the AI server
docker run -d -u $(id -u ${USER}):$(id -g ${USER}) -v ${MODELS}:/opt/models -p 8080:8080 docker.jolibrain.com/deepdetect_${ARCH}
curl -X GET http://localhost:8080/info
# Output
{
"head": {
"branch": "master",
"commit": "15c577976ae920fb71973d2f5686c9fdd12716bc",
"method": "/info",
"services": [],
"version": "0.1"
},
"status": {
"code": 200,
"msg": "OK"
}
}