shuinb's picture
Remove diagnostic, smoke, profiling and report-generation helpers
cadc5d7 verified
Raw History Blame Contribute Delete
3.86 kB
Download the entire codes/reconstruction directory. Linux and a CUDA GPU are required.
Run: python relocate.py
Create experiments/.venv using a compatible CUDA PyTorch environment, then install model requirements and the recorded dependencies.
See environment.freeze.txt for the exact source environment and the notes below for nerfacc compatibility.
Use reproduce.py eval JOB_ID --gpu 0 to evaluate the 100k checkpoint into a new output directory.
Use reproduce.py train JOB_ID --gpu 0 for the recorded training command. Existing checkpoints are supplied; use a fresh copy for from-scratch training.
Do not regenerate existing configs to inspect results.
Only test_100000 results are included; all saved training checkpoints are retained.
REPRODUCTION AND EVALUATION NOTES:
The package contains 81 official configurations: 3 models x 9 scenes x 3/5/10 training views, seed 42. Only 100k evaluation results are included; the original saved training checkpoints are retained.
The merged transientangelo / physics_building3 / 3-view configuration uses the completed from-scratch FP32 retraining. The 5/10-view configurations retain their recorded recovery settings. Use each job's actual train.ini or train.yaml and state.json commands.
Source template requirements/configurations can describe older environments and /work/runrong example paths. Use the supplied actual configurations, setup_environment.sh and requirements-reproduction.txt instead.
Original measurements and train/test splits are included. experiments/data contains the actual caches and adapted pose JSON. experiments/references includes the complete reference contracts, GT histograms and masks. experiments/calibration contains the processed IRF.
TN/TA use the supplied nonnegative IRF with unit-sum normalization. Reference scales use training frames only. All original test poses and the common 30-forward evaluation are retained.
The evaluation helper sets STB_METRICS_DEVICE=cpu; model rendering remains on GPU. CPU/GPU floating-point scoring can differ slightly. Evaluation output is written to a fresh directory.
The source environment used Python 3.12.12, PyTorch 2.9.1 with CUDA 12.8 and RTX 5090. TA uses bundled nerfacc 0.3.3, while TN/FWP use nerfacc 0.5.3. torch-scatter needs a compatible local source build. TA's legacy CUDA extension used system GCC 9; select a CUDA-compatible compiler via CC/CXX on your host.
Training repairs include completed-iteration checkpoint numbering, finite-loss/checkpoint checks, corrected TN GradScaler stepping and legacy Adam-moment rescaling on resume, and plain Python checkpoint configuration containers. TA initializes temporal/sampling metadata before unit checks; bounded evaluation ray chunks reduce memory requirements.
The original design_floor1/10-view templates were extended to the provided scenes using recorded AABBs and the full measured temporal window. These runs do not claim exact reproduction of historical paper settings.
The auxiliary diagnostic, smoke, profiling, single-view timing and report-generation scripts are excluded. Formal test_100000 results and test_samples_100k.csv are retained.
PORTABLE ENVIRONMENT SETUP:
Use bash setup_environment.sh with Python 3.12 and CUDA 12.8 toolkit on PATH. Set CUDA_HOME to the local toolkit. GPU architecture and compiler must be supported by your CUDA installation. This setup script is provided from the recorded environment and has not been installed on a fresh GPU host. Do not install the older example requirements.txt from the models over this environment.
The tinycudann source referenced by the original local file URL is bundled in dependencies/tiny-cuda-nn.tar.gz, including submodule contents. Original commit: 749dd70c5afc5a9dadb85e5652ed65d55e0ba187.
TA uses bundled nerfacc 0.3.3 via PYTHONPATH; TN/FWP use installed nerfacc 0.5.3.