Spaces:
Paused
Paused
add pre-trained ppsurf 50 NN model
Browse files
models/ppsurf_50nn/version_0/checkpoints/last.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c56df17bac4c182d9e2c1759f70836fe38090d6312d7685961c1d5d61aa9b533
|
| 3 |
+
size 165502611
|
models/ppsurf_50nn/version_0/config.yaml
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# pytorch_lightning==2.0.9
|
| 2 |
+
seed_everything: 42
|
| 3 |
+
trainer:
|
| 4 |
+
accelerator: gpu
|
| 5 |
+
strategy: ddp
|
| 6 |
+
devices: -1
|
| 7 |
+
num_nodes: 1
|
| 8 |
+
precision: 16-mixed
|
| 9 |
+
logger:
|
| 10 |
+
class_path: pytorch_lightning.loggers.TensorBoardLogger
|
| 11 |
+
init_args:
|
| 12 |
+
save_dir: models
|
| 13 |
+
version: null
|
| 14 |
+
log_graph: false
|
| 15 |
+
default_hp_metric: true
|
| 16 |
+
prefix: ''
|
| 17 |
+
sub_dir: null
|
| 18 |
+
callbacks:
|
| 19 |
+
- class_path: source.cli.PPSProgressBar
|
| 20 |
+
init_args:
|
| 21 |
+
refresh_rate: 1
|
| 22 |
+
process_position: 0
|
| 23 |
+
- class_path: pytorch_lightning.callbacks.LearningRateMonitor
|
| 24 |
+
init_args:
|
| 25 |
+
logging_interval: step
|
| 26 |
+
log_momentum: false
|
| 27 |
+
- class_path: pytorch_lightning.callbacks.ModelCheckpoint
|
| 28 |
+
init_args:
|
| 29 |
+
dirpath: null
|
| 30 |
+
filename: null
|
| 31 |
+
monitor: null
|
| 32 |
+
verbose: false
|
| 33 |
+
save_last: true
|
| 34 |
+
save_top_k: 0
|
| 35 |
+
save_weights_only: false
|
| 36 |
+
mode: min
|
| 37 |
+
auto_insert_metric_name: true
|
| 38 |
+
every_n_train_steps: null
|
| 39 |
+
train_time_interval: null
|
| 40 |
+
every_n_epochs: null
|
| 41 |
+
save_on_train_epoch_end: null
|
| 42 |
+
fast_dev_run: false
|
| 43 |
+
max_epochs: 150
|
| 44 |
+
min_epochs: null
|
| 45 |
+
max_steps: -1
|
| 46 |
+
min_steps: null
|
| 47 |
+
max_time: null
|
| 48 |
+
limit_train_batches: null
|
| 49 |
+
limit_val_batches: null
|
| 50 |
+
limit_test_batches: null
|
| 51 |
+
limit_predict_batches: null
|
| 52 |
+
overfit_batches: 0.0
|
| 53 |
+
val_check_interval: null
|
| 54 |
+
check_val_every_n_epoch: 1
|
| 55 |
+
num_sanity_val_steps: 0
|
| 56 |
+
log_every_n_steps: 1
|
| 57 |
+
enable_checkpointing: null
|
| 58 |
+
enable_progress_bar: null
|
| 59 |
+
enable_model_summary: null
|
| 60 |
+
accumulate_grad_batches: 1
|
| 61 |
+
gradient_clip_val: null
|
| 62 |
+
gradient_clip_algorithm: null
|
| 63 |
+
deterministic: null
|
| 64 |
+
benchmark: null
|
| 65 |
+
inference_mode: true
|
| 66 |
+
use_distributed_sampler: true
|
| 67 |
+
profiler: null
|
| 68 |
+
detect_anomaly: false
|
| 69 |
+
barebones: false
|
| 70 |
+
plugins: null
|
| 71 |
+
sync_batchnorm: false
|
| 72 |
+
reload_dataloaders_every_n_epochs: 0
|
| 73 |
+
default_root_dir: models/ppsurf_50nn
|
| 74 |
+
debug: false
|
| 75 |
+
ckpt_path: null
|
| 76 |
+
data:
|
| 77 |
+
class_path: source.ppsurf_data_loader.PPSurfDataModule
|
| 78 |
+
init_args:
|
| 79 |
+
in_file: datasets/abc_train/testset.txt
|
| 80 |
+
workers: 48
|
| 81 |
+
use_ddp: true
|
| 82 |
+
padding_factor: 0.05
|
| 83 |
+
seed: 42
|
| 84 |
+
manifold_points: 10000
|
| 85 |
+
patches_per_shape: -1
|
| 86 |
+
do_data_augmentation: true
|
| 87 |
+
batch_size: 12
|
| 88 |
+
model:
|
| 89 |
+
class_path: source.ppsurf_model.PPSurfModel
|
| 90 |
+
init_args:
|
| 91 |
+
pointnet_latent_size: 256
|
| 92 |
+
output_names:
|
| 93 |
+
- imp_surf_sign
|
| 94 |
+
in_channels: 3
|
| 95 |
+
out_channels: 2
|
| 96 |
+
k: 64
|
| 97 |
+
lambda_l1: 0.0
|
| 98 |
+
debug: false
|
| 99 |
+
results_dir: results
|
| 100 |
+
name: ppsurf_50nn
|
| 101 |
+
network_latent_size: 256
|
| 102 |
+
gen_subsample_manifold_iter: 10
|
| 103 |
+
gen_subsample_manifold: 10000
|
| 104 |
+
gen_resolution_global: 257
|
| 105 |
+
num_pts_local: 50
|
| 106 |
+
rec_batch_size: 50000
|
| 107 |
+
gen_refine_iter: 10
|
| 108 |
+
workers: 48
|
| 109 |
+
optimizer:
|
| 110 |
+
class_path: torch.optim.AdamW
|
| 111 |
+
init_args:
|
| 112 |
+
lr: 0.001
|
| 113 |
+
betas:
|
| 114 |
+
- 0.9
|
| 115 |
+
- 0.999
|
| 116 |
+
eps: 1.0e-05
|
| 117 |
+
weight_decay: 0.01
|
| 118 |
+
amsgrad: false
|
| 119 |
+
maximize: false
|
| 120 |
+
foreach: null
|
| 121 |
+
capturable: false
|
| 122 |
+
differentiable: false
|
| 123 |
+
fused: null
|
| 124 |
+
lr_scheduler:
|
| 125 |
+
class_path: torch.optim.lr_scheduler.MultiStepLR
|
| 126 |
+
init_args:
|
| 127 |
+
milestones:
|
| 128 |
+
- 75
|
| 129 |
+
- 125
|
| 130 |
+
gamma: 0.1
|
| 131 |
+
last_epoch: -1
|
| 132 |
+
verbose: false
|