This repository has been archived by the owner on Feb 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Home
eleanorstuart edited this page May 31, 2021
·
5 revisions
Welcome to the GoldDigger wiki!
-
Install nvidia docker:
https://github.com/NVIDIA/nvidia-docker -
Download this github repository and extract it into a folder
-
In terminal, navigate to the main golddigger directory and download the models using this command.
sh scripts/download_models.sh
If that doesn't work, download them manually and put them in their respective folders folders:
-
media/PIX2PIX/checkpoints/43kGoldDigger/
-
media/PIX2PIX/checkpoints/87kGoldDigger/
- Build the docker image with the following command:
sh scripts/build.sh
-
Manually edit config.py to set the relevant information
-
Run the docker container:
- detached (if you don't need to see all the terminal outputs):
sh scripts/run_docker_detached.sh
- full Terminals:
- run redis server
sh scripts/run_redis.sh
- run gold digger docker container and start celery (async task manager)
sh scripts/run_celery.sh celery -A GoldDigger worker -l info
- open a new terminal window and run django server
scripts/run_django.sh
- open a new terminal window and run flower (to monitor celery processes)
sh scritps/run_flower.sh
-
In your browser, go to
http://0.0.0.0:8000 to access the Gold Digger webtool.