-
Notifications
You must be signed in to change notification settings - Fork 4
/
script.sh
79 lines (71 loc) · 2.22 KB
/
script.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#!/bin/bash
# # weak-model (lego; 1e-11)
# CUDA_VISIBLE_DEVICES=2 python compress.py \
# --config=configs/chair.txt \
# --use_mask \
# --mask_weight=1e-11 \
# --grid_bit=8 \
# --use_dwt \
# --dwt_level=1 \
# --datadir=/workspace/dataset/nerf_synthetic/lego \
# --ckpt=log/lego/weak_model_lego.th \
# --compress=1 \
# --decompress=1 \
# --decompress_and_validate=1 \
# --N_vis=-1
########################### w/o mask reconstruction ###########################
# DWT (compress, decompress)
CUDA_VISIBLE_DEVICES=0 python compress.py \
--config=configs/chair.txt \
--datadir=/workspace/dataset/nerf_synthetic/chair \
--ckpt=log/chair/lv4/lv4.th \
--reconstruct_mask=0 \
--compress=1 \
--decompress=1 \
--decompress_and_validate=1 \
--N_vis=5
# DWT (levelwise comrpess, decompress)
CUDA_VISIBLE_DEVICES=0 python compress.py \
--config=configs/chair.txt \
--datadir=/workspace/dataset/nerf_synthetic/chair \
--ckpt=log/chair/lv4/lv4.th \
--reconstruct_mask=0 \
--compress=1 \
--compress_levelwise=1 \
--decompress=1 \
--decompress_levelwise=1 \
--decompress_and_validate=1 \
--N_vis=5
########################### w/ mask reconstruction ###########################
# DWT (compress, decompress)
CUDA_VISIBLE_DEVICES=0 python compress.py \
--config=configs/chair.txt \
--datadir=/workspace/dataset/nerf_synthetic/chair \
--ckpt=log/dwt/test.th \
--reconstruct_mask=1 \
--compress=1 \
--decompress=1 \
--decompress_and_validate=1 \
--N_vis=5
# DWT (levelwise compress, decompress)
CUDA_VISIBLE_DEVICES=0 python compress.py \
--config=configs/chair.txt \
--datadir=/workspace/dataset/nerf_synthetic/chair \
--ckpt=log/dwt/test.th \
--reconstruct_mask=1 \
--compress=1 \
--compress_levelwise=1 \
--decompress=1 \
--decompress_levelwise=1 \
--decompress_and_validate=1 \
--N_vis=5
# DCT (compress, decompress)
CUDA_VISIBLE_DEVICES=0 python compress_dct.py \
--config=configs/chair.txt \
--datadir=/workspace/dataset/nerf_synthetic/chair \
--ckpt=log/dct/test.th \
--reconstruct_mask=1 \
--compress=1 \
--decompress=1 \
--decompress_and_validate=1 \
--N_vis=5