sxyu / svox2

Plenoxels: Radiance Fields without Neural Networks
BSD 2-Clause "Simplified" License
2.79k stars 360 forks source link

what does <CHECKPOINT.npz> <data_dir> mean??? #34

Open LinGeLin opened 2 years ago

LinGeLin commented 2 years ago

run custom data, after execed launch.sh...

(plenoxel) lin@pc:~/Desktop/workSpace/svox2/opt$ find /home/lin/Desktop/datas/UnixConPicts/ -name *.npz
/home/lin/Desktop/datas/UnixConPicts/images/visual/volrend.draw.npz
/home/lin/Desktop/datas/UnixConPicts/images/feature/0_00012.npz
/home/lin/Desktop/datas/UnixConPicts/images/feature/0_00004.npz
/home/lin/Desktop/datas/UnixConPicts/images/feature/0_00005.npz
/home/lin/Desktop/datas/UnixConPicts/images/feature/0_00010.npz
/home/lin/Desktop/datas/UnixConPicts/images/feature/0_00013.npz
/home/lin/Desktop/datas/UnixConPicts/images/feature/0_00003.npz
/home/lin/Desktop/datas/UnixConPicts/images/feature/0_00008.npz
/home/lin/Desktop/datas/UnixConPicts/images/feature/1_00000.npz
/home/lin/Desktop/datas/UnixConPicts/images/feature/0_00007.npz
/home/lin/Desktop/datas/UnixConPicts/images/feature/0_00006.npz
/home/lin/Desktop/datas/UnixConPicts/images/feature/0_00011.npz
/home/lin/Desktop/datas/UnixConPicts/images/feature/0_00002.npz
/home/lin/Desktop/datas/UnixConPicts/images/feature/0_00009.npz
/home/lin/Desktop/datas/UnixConPicts/images/feature/0_00001.npz

python render_imgs.py <CHECKPOINT.npz> <data_dir>

what does the parameters mean?

(plenoxel) lin@pc:~/Desktop/workSpace/svox2/opt$ ll ckpt/book
total 52
drwxrwxr-x 2 lin lin  4096 1月   3 23:39 ./
drwxrwxr-x 5 lin lin  4096 1月   3 23:44 ../
-rw-rw-r-- 1 lin lin  2946 1月   3 23:37 args.json
-rw-rw-r-- 1 lin lin    40 1月   3 23:37 events.out.tfevents.1641224276.pc.12899.0
-rw-rw-r-- 1 lin lin  1169 1月   3 23:37 log
-rw-rw-r-- 1 lin lin 31127 1月   3 23:37 opt_frozen.py
AndreaMas commented 2 years ago

I substitute them with paths as follows:

: /home/jonsnow/svox2/opt/ckpt/my-first-exp/ckpt.npz : /home/jonsnow/svox2/datasets/my-dataset-folder I believe the dataset is used in the rendering process just to - understand where the "up" vector of the scene is, so to correctly render the target upstanding as it was captured, - for better side to side comparison in the test views generated