Skip to content

Better inference

Compare
Choose a tag to compare
@gosha20777 gosha20777 released this 19 Jun 21:05
· 155 commits to master since this release
974b8f4

Change log

  • Update model inference
  • Fix bugs
  • Speedup image loading
  • Speedup image proсessing
  • Go to the newest version avalonUI
  • Reduce resource consumption
  • Add automatic build (by @ortho)
  • Code refactoring (by @worldbeater)

Ussage

Use dockerfile to launch it.

CPU support for Windows/Linux (recommend)/MacOS X
GPU support ONLY for linux, only nvidia graphic support

  1. Instalation

CPU

docker build -t rescuer_la .

GPU

docker build --file Dockerfile.gpu -t rescuer_la_gpu .
  1. Ussage

In some distributive (e.g. Debian / Ubuntu) you should run this command before (see issue #8)

sudo xhost +

CPU

docker run --rm \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e DISPLAY=unix$DISPLAY \
--workdir=$(pwd) \
--volume="/home/$USER:/home/$USER" \
--volume="/etc/group:/etc/group:ro" \
--volume="/etc/passwd:/etc/passwd:ro" \
--volume="/etc/shadow:/etc/shadow:ro" \
--volume="/etc/sudoers.d:/etc/sudoers.d:ro" \
rescuer_la

GPU

docker run --rm \
--runtime=nvidia \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e DISPLAY=unix$DISPLAY \
--workdir=$(pwd) \
--volume="/home/$USER:/home/$USER" \
--volume="/etc/group:/etc/group:ro" \
--volume="/etc/passwd:/etc/passwd:ro" \
--volume="/etc/shadow:/etc/shadow:ro" \
--volume="/etc/sudoers.d:/etc/sudoers.d:ro" \
rescuer_la_gpu