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

+28
View File
@@ -0,0 +1,28 @@
# @package _global_
# default debugging setup, runs 1 full epoch
# other debugging configs can inherit from this one
defaults:
- override /log_dir: debug.yaml
trainer:
max_epochs: 1
gpus: 0 # debuggers don't like gpus
detect_anomaly: true # raise exception if NaN or +/-inf is detected in any tensor
track_grad_norm: 2 # track gradient norm with loggers
datamodule:
num_workers: 0 # debuggers don't like multiprocessing
pin_memory: False # disable gpu memory pin
# sets level of all command line loggers to 'DEBUG'
# https://hydra.cc/docs/tutorials/basic/running_your_app/logging/
hydra:
verbose: True
# use this to set level of only chosen command line loggers to 'DEBUG':
# verbose: [src.train, src.utils]
# config is already printed by hydra when `hydra/verbose: True`
print_config: False
+12
View File
@@ -0,0 +1,12 @@
# @package _global_
# uses only 1% of the training data and 5% of validation/test data
defaults:
- default.yaml
trainer:
max_epochs: 3
limit_train_batches: 0.01
limit_val_batches: 0.05
limit_test_batches: 0.05
+10
View File
@@ -0,0 +1,10 @@
# @package _global_
# overfits to 3 batches
defaults:
- default.yaml
trainer:
max_epochs: 20
overfit_batches: 3
+12
View File
@@ -0,0 +1,12 @@
# @package _global_
# runs with execution time profiling
defaults:
- default.yaml
trainer:
max_epochs: 1
profiler: "simple"
# profiler: "advanced"
# profiler: "pytorch"
+9
View File
@@ -0,0 +1,9 @@
# @package _global_
# runs 1 train, 1 validation and 1 test step
defaults:
- default.yaml
trainer:
fast_dev_run: true
+9
View File
@@ -0,0 +1,9 @@
# @package _global_
# runs only test epoch
defaults:
- default.yaml
train: False
test: True