Skip to content

probcomp/ThreeDP3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ThreeDP3

Setup

# 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published