Platform

GPU Platform Install

CPU Platform Install

  • Select the platform install directory, requires around 6GB:

export DD_PLATFORM=$HOME/deepdetect
  • Install platform repository

git clone https://github.com/jolibrain/dd_platform_docker.git ${DD_PLATFORM}
  • Go to directory and start the platform docker containers

cd ${DD_PLATFORM}/code/gpu/
CURRENT_UID=$(id -u):$(id -g) MUID=$(id -u) docker-compose up -d

cd ${DD_PLATFORM}/code/cpu/
CURRENT_UID=$(id -u):$(id -g) MUID=$(id -u) docker-compose up -d

GPU Platform Stop / Restart

CPU Platform Stop / Restart

  • Specify the platform directory

export DD_PLATFORM=$HOME/deepdetect
  • To stop the platform, go to directory and stop the platform docker containers

cd ${DD_PLATFORM}/code/gpu/
CURRENT_UID=$(id -u):$(id -g) MUID=$(id -u) docker-compose stop

cd ${DD_PLATFORM}/code/cpu/
CURRENT_UID=$(id -u):$(id -g) MUID=$(id -u) docker-compose stop
  • To restart the platform, go to directory and start the platform docker containers

cd ${DD_PLATFORM}/code/gpu/
CURRENT_UID=$(id -u):$(id -g) MUID=$(id -u) docker-compose up -d

cd ${DD_PLATFORM}/code/cpu/
CURRENT_UID=$(id -u):$(id -g) MUID=$(id -u) docker-compose up -d

CPU Platform Update


# Environment
export DD_PLATFORM=$HOME/deepdetect
export CURRENT_UID=$(id -u):$(id -g)
export MUID=$(id -u)

# Go to directory
cd ${DD_PLATFORM}/code/cpu

# Update platform
sh update.sh

GPU Platform Update


# Environment
export DD_PLATFORM=$HOME/deepdetect
export CURRENT_UID=$(id -u):$(id -g)
export MUID=$(id -u)

# Go to directory
cd ${DD_PLATFORM}/code/gpu

# Update platform
sh update.sh

Uninstall


cd ${DD_PLATFORM}/code/cpu

cd ${DD_PLATFORM}/code/gpu
  • Stop/remove docker containers and volumes

docker-compose rm -f -s -v
  • Remove DeepDetect platform directory

cd && rm -rf ${DD_PLATFORM}