Main README: here
First, to build the docker image, it is necessary to download the model and the probes. The files should be transfered in the following manner:
├── probe_relighting
│ ├── checkpoint.ckpt
│ ├── data
│ │ ├── mid_probes
│ │ ├── point_10kW
│ │ ├── ...
│ │ └──
│ ├──...
│ └──
├── ...
└── ..
Once the folder structure is complete the image can be built.
To use the repository without containerizing, the same structure should be set up.
Navigate to ./app/
and run:
python3 -m pip install -e .
Followed with:
python3 -m pip install -r probe_relighting/requirements.txt
Streamlit can be simply launched by navigating to ./app/probe_relighting/
and running the command:
streamlit run streamlit/streamlit_app.py
Similarly variants can be generated from ./app/probe_relighting/
by using:
python3 generate_images.py --[options]