forked from zju3dv/EasyVolcap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
765 changed files
with
60,204 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
__pycache__/ | ||
.idea/ | ||
.ipynb_checkpoints/ | ||
*.py[cod] | ||
*.so | ||
*.orig | ||
*.o | ||
# why ignore json | ||
# *.json | ||
*.pth | ||
*.npy | ||
*.ipynb | ||
|
||
# graphviz | ||
*.dot | ||
*.svg | ||
*.eps | ||
|
||
# macOS | ||
.DS_Store | ||
|
||
# mesh | ||
*.ply | ||
|
||
# images | ||
*.png | ||
*.jpg | ||
*.jpeg | ||
*.gif | ||
.fuse* | ||
*.tar.gz | ||
*.pkl | ||
*.swp | ||
|
||
*.obj | ||
*.mtl | ||
*.blend | ||
*.blend1 | ||
*.npz | ||
|
||
*.xls | ||
*.xlsx | ||
condaenv* | ||
*.hdr | ||
|
||
data | ||
*.egg-info | ||
|
||
imgui.ini | ||
logs | ||
Dear_ImGui_Bundle_interactive_manual.ini | ||
timg.txt | ||
*.motd | ||
|
||
.pdbr_history | ||
build | ||
|
||
!assets/meshes/* | ||
*.bin | ||
*.movie | ||
*.mp4 | ||
extri.yml | ||
intri.yml | ||
ok.txt | ||
bad.txt | ||
diff.txt | ||
|
||
Hujun Bao | ||
geckodriver.log | ||
*.rdc | ||
3rdparty | ||
|
||
diff*.html | ||
|
||
# *.zip | ||
# *info.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
!*.png | ||
!*.svg | ||
!*.jpg | ||
!*.jpeg | ||
!*.ply | ||
!*.npz | ||
!*.zip | ||
!*.mp4 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,138 @@ | ||
# Default config for the whole project | ||
|
||
# Outermost level configuration switches | ||
exp_name: nerft | ||
detect_anomaly: False | ||
fix_random: False | ||
allow_tf32: True | ||
deterministic: False # deterministic training (debug only) | ||
benchmark: True # when benchmarking, slow, after, fast | ||
profiler_cfg: | ||
enabled: False # no profiling by default | ||
print_model: False # defaults to a compact interface | ||
preparing_parser: False | ||
|
||
# Top level model building | ||
model_cfg: | ||
type: VolumetricVideoModel | ||
camera_cfg: | ||
type: NoopCamera | ||
sampler_cfg: | ||
type: ImportanceSampler | ||
network_cfg: | ||
type: MultilevelNetwork | ||
# <<: *network_cfg # is this ok? | ||
parameterizer_cfg: | ||
type: ContractRegressor | ||
in_dim: 3 | ||
xyzt_embedder_cfg: | ||
type: ComposedXyztEmbedder | ||
xyz_embedder_cfg: | ||
type: PositionalEncodingEmbedder | ||
multires: 10 | ||
t_embedder_cfg: | ||
type: LatentCodeEmbedder | ||
xyz_embedder_cfg: | ||
type: EmptyEmbedder | ||
dir_embedder_cfg: | ||
type: PositionalEncodingEmbedder | ||
multires: 4 | ||
rgb_embedder_cfg: | ||
type: EmptyEmbedder | ||
deformer_cfg: | ||
type: EmptyRegressor | ||
geometry_cfg: | ||
type: SplitRegressor | ||
width: 512 | ||
depth: 8 | ||
appearance_cfg: | ||
type: MlpRegressor | ||
width: 256 | ||
depth: 2 | ||
out_dim: 3 | ||
out_actvn: sigmoid | ||
network_cfgs: | ||
# - &network_cfg # coarse network configuration | ||
- type: VolumetricVideoNetwork | ||
geometry_cfg: | ||
type: SplitRegressor | ||
width: 128 | ||
depth: 4 | ||
appearance_cfg: | ||
type: EmptyRegressor | ||
# - <<: *network_cfg # fine network configuration | ||
- type: VolumetricVideoNetwork | ||
# seems to be hierarchically overwritting, good | ||
renderer_cfg: | ||
type: VolumeRenderer | ||
supervisor_cfg: | ||
type: VolumetricVideoSupervisor | ||
|
||
dataloader_cfg: &dataloader_cfg # we see the term "dataloader" a one word? | ||
type: VolumetricVideoDataloader | ||
dataset_cfg: &dataset_cfg | ||
type: VolumetricVideoDataset | ||
split: TRAIN | ||
data_root: data/dataset/sequence | ||
n_rays: 512 | ||
supply_decoded: True # pass the image to the network directly | ||
encode_ext: .png # save memory during training | ||
frame_sample: [0, null, 1] | ||
view_sample: [0, null, 1] | ||
intri_file: intri.yml | ||
extri_file: extri.yml | ||
bodymodel_file: output/cfg_exp.yml | ||
motion_file: 'motion.npz' | ||
append_gt_prob: 0.1 | ||
extra_src_pool: 1 | ||
bounds: [[-10.0, -10.0, -10.0], [10.0, 10.0, 10.0]] | ||
sampler_cfg: | ||
type: RandomSampler | ||
frame_sample: [0, null, 1] | ||
view_sample: [0, null, 1] | ||
batch_sampler_cfg: | ||
type: BatchSampler | ||
batch_size: 8 | ||
|
||
val_dataloader_cfg: # we see the term "dataloader" a one word? | ||
<<: *dataloader_cfg | ||
max_iter: -1 | ||
dataset_cfg: | ||
<<: *dataset_cfg | ||
type: VolumetricVideoDataset | ||
split: VAL | ||
supply_decoded: True # pass the image to the network directly | ||
encode_ext: .png # save bandwidth for rendering | ||
frame_sample: [0, null, 50] | ||
view_sample: [0, null, 5] | ||
append_gt_prob: 1.0 | ||
extra_src_pool: 0 | ||
sampler_cfg: | ||
type: SequentialSampler | ||
frame_sample: [0, null, 1] | ||
view_sample: [0, null, 1] | ||
# Please modify dataset_cfg instead of this | ||
batch_sampler_cfg: | ||
type: BatchSampler | ||
batch_size: 1 | ||
|
||
runner_cfg: &runner_cfg | ||
type: VolumetricVideoRunner | ||
epochs: 400 | ||
ep_iter: 500 | ||
optimizer_cfg: | ||
type: ConfigurableOptimizer | ||
scheduler_cfg: | ||
type: ExponentialLR | ||
moderator_cfg: | ||
type: NoopModerator | ||
visualizer_cfg: | ||
type: VolumetricVideoVisualizer | ||
types: [RENDER, DEPTH, ALPHA] | ||
evaluator_cfg: | ||
type: VolumetricVideoEvaluator | ||
recorder_cfg: | ||
type: TensorboardRecorder | ||
|
||
viewer_cfg: | ||
type: VolumetricVideoViewer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
dataloader_cfg: # we see the term "dataloader" as one word? | ||
dataset_cfg: &dataset_cfg | ||
bounds: [[-5.0, -5.0, -5.0], [5.0, 5.0, 5.0]] | ||
masks_dir: mask | ||
vhull_thresh: 0.95 | ||
count_thresh: 6 # common views | ||
|
||
vhull_thresh_factor: 0.75 | ||
vhull_count_factor: 1.0 | ||
|
||
val_dataloader_cfg: | ||
dataset_cfg: | ||
<<: *dataset_cfg | ||
sampler_cfg: | ||
view_sample: [0, null, 20] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
configs: configs/datasets/NHR/NHR.yaml | ||
|
||
dataloader_cfg: # we see the term "dataloader" as one word? | ||
dataset_cfg: &dataset_cfg | ||
data_root: data/NHR/basketball_easymocap | ||
masks_dir: mask | ||
force_sparse_view: True | ||
view_sample: [0, 72, 1] # use 11 views | ||
frame_sample: [0, 195, 1] # only train for 200 frames | ||
|
||
val_dataloader_cfg: | ||
dataset_cfg: | ||
<<: *dataset_cfg | ||
frame_sample: [0, 195, 100] | ||
sampler_cfg: | ||
view_sample: [0, 72, 26] # one training, two testing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
configs: configs/datasets/NHR/basketball.yaml | ||
|
||
dataloader_cfg: &dataloader_cfg | ||
dataset_cfg: &dataset_cfg # ratio: 0.5 | ||
bounds: [[-1.0029, -0.8551, -1.0879], [0.2871, 0.3449, 1.2221]] # !: BATCH | ||
|
||
val_dataloader_cfg: | ||
<<: *dataloader_cfg | ||
dataset_cfg: | ||
<<: *dataset_cfg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
configs: configs/datasets/NHR/NHR.yaml | ||
|
||
dataloader_cfg: # we see the term "dataloader" as one word? | ||
dataset_cfg: &dataset_cfg | ||
data_root: data/NHR/sport_1_easymocap | ||
force_sparse_view: True | ||
view_sample: [0, 56, 1] # use 11 views | ||
frame_sample: [0, 201, 1] # only train for 200 frames | ||
|
||
val_dataloader_cfg: | ||
dataset_cfg: | ||
<<: *dataset_cfg | ||
frame_sample: [0, 201, 1] | ||
sampler_cfg: | ||
view_sample: [0, 56, 25] # one training, two testing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
configs: configs/datasets/NHR/sport1.yaml | ||
|
||
dataloader_cfg: &dataloader_cfg | ||
dataset_cfg: &dataset_cfg # ratio: 0.5 | ||
bounds: [[-0.3, -0.7, -0.8], [0.3, 0.7, 0.8]] | ||
vhull_thresh: 0.985 | ||
|
||
val_dataloader_cfg: | ||
<<: *dataloader_cfg | ||
dataset_cfg: | ||
<<: *dataset_cfg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
configs: configs/datasets/NHR/NHR.yaml | ||
|
||
dataloader_cfg: # we see the term "dataloader" as one word? | ||
dataset_cfg: &dataset_cfg | ||
data_root: data/NHR/sport_2_easymocap | ||
force_sparse_view: True | ||
view_sample: [0, 56, 1] # use 11 views | ||
frame_sample: [0, 201, 1] # only train for 200 frames | ||
|
||
val_dataloader_cfg: | ||
dataset_cfg: | ||
<<: *dataset_cfg | ||
frame_sample: [0, 201, 1] | ||
sampler_cfg: | ||
view_sample: [0, 56, 25] # one training, two testing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
configs: configs/datasets/NHR/sport2.yaml | ||
|
||
dataloader_cfg: &dataloader_cfg | ||
dataset_cfg: &dataset_cfg # ratio: 0.5 | ||
bounds: [[-0.9750, -0.7132, -1.2191], [0.9950, 0.4368, 1.1809]] # !: BATCH | ||
|
||
val_dataloader_cfg: | ||
<<: *dataloader_cfg | ||
dataset_cfg: | ||
<<: *dataset_cfg |
Oops, something went wrong.