b3c08ad2e5
Co-authored-by: Copilot <copilot@github.com>
31 lines
667 B
YAML
31 lines
667 B
YAML
# configs/train_3photon.yaml
|
|
experiment:
|
|
name: "3photon_12keV"
|
|
|
|
data:
|
|
sample_folder: "/home/xie_x1/MLXID/DeepLearning/PileupSample"
|
|
energy: 12 ### in keV
|
|
|
|
batch_size_train: 4096
|
|
batch_size_val: 1024
|
|
batch_size_test: 1024
|
|
num_workers: 32
|
|
train_file_range: [0, 12]
|
|
val_file_range: [13, 14]
|
|
test_file_range: [15, 15]
|
|
sample_ratio: 1.0
|
|
n_size: 9 ### size of sub-images containing 3 photons
|
|
|
|
model:
|
|
version: "260529"
|
|
|
|
training:
|
|
epochs: 1000
|
|
learning_rate: 1.0e-3
|
|
weight_decay: 1.0e-4
|
|
scheduler_factor: 0.7
|
|
scheduler_patience: 5
|
|
checkpoint_epochs: [10, 30, 50, 100, 150, 300, 500, 1000]
|
|
|
|
loss:
|
|
type: "three_point_set_loss_smooth_l1" |