环境配置
- cuda=11.8
- cudnn=8.8.0
- tensorflow-gpu=2.14.0
# Clone the repo.
git clone https://github.com/google-research/multinerf.git
cd multinerf
# Make a conda environment.
conda create --name multinerf python=3.9
conda activate multinerf
# cuda cudnn tensorflow
conda install cuda=11.8
conda install cudnn=8.8.0
conda install tensorflow-gpu=2.14.0
# Prepare pip.
conda install pip
pip install --upgrade pip
# Install requirements.
pip install -r requirements.txt
# Manually install rmbrualla's `pycolmap` (don't use pip's! It's different).
git clone https://github.com/rmbrualla/pycolmap.git ./internal/pycolmap
# Confirm that all the unit tests pass.
./scripts/run_all_unit_tests.sh
run
DATA_DIR=/data/data/nerf_llff_data/fern
python -m train \
--gin_configs=configs/360.gin \
--gin_bindings="Config.data_dir = '${DATA_DIR}'" \
--gin_bindings="Config.checkpoint_dir = '${DATA_DIR}/checkpoints'" \
--logtostderr