This is the official repository for the Boundary Exploration of Next Best View Policy in 3D Robotic Scanning.
The conda is recommended using to create a virtual environment as:
conda create -n nbv python=3.8 ipython
conda activate nbvFirst, the Pytorch is used in nbv_explore_net such that you can install Pytorch as:
(depends on the CUDA you installed)
pip install torch==2.3.1 torchvision==0.18.1 torchaudio==2.3.1 --index-url https://download.pytorch.org/whl/cu121The cpu version for Pytorch is also available if you just want to run the code in dataset_generation.
Second, the other packages are required to install as:
pip install -r requirements-no-pytorch.txtThe version of Pytorch 2.3.1 and Pytorch 1.8 has been tested.
- Jump to
./dataset_generationand runpython main.py - Stay and run
python show_views.pywhere you can select thenext-best-viewvisualization.
- Jump to
./nbv_explore_netand runpython train.py
