This commit is contained in:
sen.liang committed 2025-05-24 20:09:02 +08:00
1 parent 4a53051fee
commit 039ec3cf52
179 files changed
+22667

No files matched your search

@@ -0,0 +1,36 @@
model_checkpoint:
_target_: pytorch_lightning.callbacks.ModelCheckpoint
monitor: "val/best" # name of the logged metric which determines when model is improving
mode: "min" # "max" means higher metric value is better, can be also "min"
save_top_k: 3 # save k best models (determined by above metric)
save_last: False # additionaly always save model from last epoch
verbose: False
every_n_epochs: 1
save_weights_only: True
dirpath: "checkpoints/"
filename: "epoch_{epoch:03d}"
auto_insert_metric_name: False
early_stopping:
_target_: pytorch_lightning.callbacks.EarlyStopping
monitor: "val/best" # name of the logged metric which determines when model is improving
mode: "max" # "max" means higher metric value is better, can be also "min"
patience: 10 # how many validation epochs of not improving until training stops
min_delta: 0 # minimum change in the monitored metric needed to qualify as an improvement
model_summary:
_target_: pytorch_lightning.callbacks.RichModelSummary
max_depth: 2
rich_progress_bar:
# _target_: pytorch_lightning.callbacks.TQDMProgressBar
_target_: pytorch_lightning.callbacks.RichProgressBar
leave: True
# save_test_video:
# _target_: src.modles.callbacks.audio2mesh_callback.Audio2MeshCallback
# path_data_raw: "/yrfs/lsen/DATA/LuoXData/processing2/"
# fps: 50.0
@@ -0,0 +1,35 @@
model_checkpoint:
_target_: pytorch_lightning.callbacks.ModelCheckpoint
# monitor: "val/best" # name of the logged metric which determines when model is improving
# mode: "min" # "max" means higher metric value is better, can be also "min"
# save_top_k: 3 # save k best models (determined by above metric)
# save_last: True # additionaly always save model from last epoch
# verbose: False
# every_n_epochs: 1
save_weights_only: False
dirpath: "checkpoints/"
filename: "epoch_{epoch:03d}"
auto_insert_metric_name: False
# every_n_train_steps: 500
# early_stopping:
# _target_: pytorch_lightning.callbacks.EarlyStopping
# monitor: "val/best" # name of the logged metric which determines when model is improving
# mode: "max" # "max" means higher metric value is better, can be also "min"
# patience: 10 # how many validation epochs of not improving until training stops
# min_delta: 0 # minimum change in the monitored metric needed to qualify as an improvement
model_summary:
_target_: pytorch_lightning.callbacks.RichModelSummary
max_depth: 2
rich_progress_bar:
# _target_: pytorch_lightning.callbacks.TQDMProgressBar
_target_: pytorch_lightning.callbacks.RichProgressBar
leave: True
# save_test_video:
# _target_: src.modles.callbacks.audio2mesh_callback.Audio2MeshCallback
# path_data_raw: "/yrfs/lsen/DATA/LuoXData/processing2/"
# fps: 50.0
@@ -0,0 +1,36 @@
model_checkpoint:
_target_: pytorch_lightning.callbacks.ModelCheckpoint
monitor: "val/best" # name of the logged metric which determines when model is improving
mode: "min" # "max" means higher metric value is better, can be also "min"
save_top_k: 3 # save k best models (determined by above metric)
save_last: False # additionaly always save model from last epoch
verbose: False
every_n_epochs: 1
save_weights_only: True
dirpath: "checkpoints/"
filename: "epoch_{epoch:03d}"
auto_insert_metric_name: False
early_stopping:
_target_: pytorch_lightning.callbacks.EarlyStopping
monitor: "val/best" # name of the logged metric which determines when model is improving
mode: "max" # "max" means higher metric value is better, can be also "min"
patience: 10 # how many validation epochs of not improving until training stops
min_delta: 0 # minimum change in the monitored metric needed to qualify as an improvement
model_summary:
_target_: pytorch_lightning.callbacks.RichModelSummary
max_depth: 2
rich_progress_bar:
# _target_: pytorch_lightning.callbacks.TQDMProgressBar
_target_: pytorch_lightning.callbacks.RichProgressBar
leave: True
# save_test_video:
# _target_: src.modles.callbacks.audio2mesh_callback.Audio2MeshCallback
# path_data_raw: "/yrfs/lsen/DATA/LuoXData/processing2/"
# fps: 50.0
+25
View File
@@ -0,0 +1,25 @@
model_checkpoint:
_target_: pytorch_lightning.callbacks.ModelCheckpoint
monitor: "val/acc" # name of the logged metric which determines when model is improving
mode: "max" # "max" means higher metric value is better, can be also "min"
save_top_k: 1 # save k best models (determined by above metric)
save_last: True # additionaly always save model from last epoch
verbose: False
dirpath: "checkpoints/"
filename: "epoch_{epoch:03d}"
auto_insert_metric_name: False
early_stopping:
_target_: pytorch_lightning.callbacks.EarlyStopping
monitor: "val/acc" # name of the logged metric which determines when model is improving
mode: "max" # "max" means higher metric value is better, can be also "min"
patience: 100 # how many validation epochs of not improving until training stops
min_delta: 0 # minimum change in the monitored metric needed to qualify as an improvement
model_summary:
_target_: pytorch_lightning.callbacks.RichModelSummary
max_depth: -1
rich_progress_bar:
_target_: pytorch_lightning.callbacks.RichProgressBar
View File
Whitespace-only changes.