Top level repo for shape complete project.
Looking for shape_completion_experiments? It's now here: https://github.com/CURG/shape_completion_experiments
- Theano
- H5py
- ROS
- See the
.rosinstall
file for a list of these.
The following is the procedure to set up the workspace for the Shape Completion project.
- Install the dependencies mentioned above under the subsection "Should be manually installed before setup."
- Clone this repository into your workspace.
git clone https://github.com/ShapeCompletion3D/shape_completion.git
cd shape_completion/
- Run wstool update. This will clone all the other dependent repositories listed in the .rosinstall file into that workspace
wstool update
- Run the installation script ( install.sh ) from the repository. The script will set up all the dependent repositories
bash install.sh
- On your home directory create a
.theano_rc
file with the following contents:
[global]
floatX = float32
device = gpu
- On your home directory add the following lines to your
.bash_rc
file:
export CUDA_HOME=/usr/local/cuda-6.5
export LD_LIBRARY_PATH=${CUDA_HOME}/lib64:$LD_LIBRARY_PATH
export PATH=${CUDA_HOME}/bin:${PATH}
- Start a new terminal window so that the
.bash_rc
changes take effect. - Verify that all the datasets we have, including the YCB dataset, is stored in /srv/data/
- Run set_paths.sh to add the necessary directories to your PYTHONPATH.
source set_paths.sh
- Go to the experiments folder inside the shape_completion_experiments repository
cd train/shape_completion_experiments/experiments/
- Run an experiment script. For example, reconstruction_3d_ycb.py, which is the shape completion experiment that uses the YCB dataset with an input and output size of 30x30x30:
python reconstruction_3d_ycb.py