https://github.com/probcomp/threedp3
https://github.com/probcomp/threedp3
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/probcomp/threedp3
- Owner: probcomp
- License: mit
- Created: 2021-10-08T16:14:16.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-23T06:37:38.000Z (about 4 years ago)
- Last Synced: 2025-05-08T22:58:00.933Z (11 months ago)
- Language: Jupyter Notebook
- Size: 8.31 MB
- Stars: 15
- Watchers: 10
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ThreeDP3
## Setup
```shell
# Install NVidia CUDA toolkit. On Ubuntu:
sudo apt install nvidia-cuda-toolkit
# Download the Julia package and its dependencies
git clone git@github.com:probcomp/ThreeDP3.git
cd ThreeDP3
julia --project -e 'import Pkg;
Pkg.pkg"dev --local git@github.com:probcomp/MiniGSG.jl.git git@github.com:probcomp/GenDirectionalStats.jl.git git@github.com:probcomp/MeshCatViz.git git@github.com:probcomp/GLRenderer.jl.git";
Pkg.instantiate()'
# Create a Python virtualenv to be used with the project
python3 -m venv my_venv
source my_venv/bin/activate
pip install --upgrade pip setuptools
# Rebuild Conda.jl and PyCall so that they link the new Python env
PYTHON=$(which python) PYCALL_JL_RUNTIME_PYTHON=$(which python) julia --project -e 'import Pkg; Pkg.build("Conda"); Pkg.build("PyCall")'
# Install the Python package
cd dev/GLRenderer/src/renderer
python setup.py develop
cd ../../../..
```
To test that the setup has worked run:
```
julia --project notebooks/test_generative_model.jl
```