diff --git a/Configs/infer_1photon.yaml b/Configs/infer_1photon.yaml index a04bc03..ffce71f 100644 --- a/Configs/infer_1photon.yaml +++ b/Configs/infer_1photon.yaml @@ -1,6 +1,6 @@ # configs/infer_1photon.yaml experiment: - name: "SiemenStarLowerLeft" # options: SiemenStarLowerLeft, SiemenStarLowerRight + name: "FlatField_3filters_pos0" # options: SiemenStarLowerLeft, SiemenStarLowerRight task: "1Photon" output_base: "./InferenceResults" @@ -8,19 +8,31 @@ data: sample_folder: "/home/xie_x1/MLXID/DataProcess/Samples" names: SiemenStarLowerLeft: - file_pattern: "SiemenStarLowerLeft/1Photon_CS3_chunk{}.h5" + file_pattern: "SiemenStarLowerLeft/1Photon_CS3_chunk{}.h5" ### 15 keV NX: 400 NY: 400 file_range: [0, 1] # [0, 160) roi: [140, 230, 120, 210] # [x_min, x_max, y_min, y_max] SiemenStarLowerRight: - file_pattern: "SiemenStarLowerRight/1Photon_CS3_chunk{}.h5" + file_pattern: "SiemenStarLowerRight/1Photon_CS3_chunk{}.h5" ### 15 keV NX: 400 NY: 400 file_range: [0, 320] # [0, 320) roi: [235, 345, 110, 220] + KnifeEdge_3filters_pos0: + file_pattern: "2603MaxIV_Edge3Filters_pos0_12keV/1Photon_CS3_chunk{}.h5" ### 12 keV + NX: 101 + NY: 101 + file_range: [0, 16] # [0, 16) + roi: [0, 101, 0, 101] + FlatField_3filters_pos0: + file_pattern: "2603MaxIV_FlatField3Filters_pos0_12keV/1Photon_CS3_chunk{}.h5" ### 12 keV + NX: 101 + NY: 101 + file_range: [0, 48] # [0, 48) + roi: [0, 101, 0, 101] - energy: 15 # keV + energy: 12 # keV normalize: false # for inference dataloaders batch_size: 8192 num_workers: 16 @@ -28,8 +40,8 @@ data: model: version: "251022" base_dir: "/home/xie_x1/MLXID/DeepLearning/Results/" - experiment_name: "260320_1ph_15keV_v251022_01" - name: "singlePhoton251022_15keV_Noise0.13keV_E15_aug1_normalized.pth" + experiment_name: "260408_1ph_12keV_v251022_03" + name: "singlePhoton251022_12keV_Noise0.13keV_E150_aug1.pth" noise_keV: 0.13 inference: diff --git a/Configs/train_1photon.yaml b/Configs/train_1photon.yaml index b2f836f..901b1c0 100644 --- a/Configs/train_1photon.yaml +++ b/Configs/train_1photon.yaml @@ -1,10 +1,10 @@ # configs/train_1photon.yaml experiment: - name: "1photon_15keV" + name: "1photon_12keV" data: sample_folder: "/mnt/sls_det_storage/moench_data/MLXID/Samples/Simulation/Moench040" - energy: 15 ### in keV + energy: 12 ### in keV noise_keV: 0.13 noise_threshold: 0.0 ### set values below (noise * noise_threshold) to zero num_aug_ops: 1 @@ -22,10 +22,8 @@ model: version: "251022" training: - epochs: 15 + epochs: 150 learning_rate: 1.0e-3 - loss_alpha: 7.0 - loss_beta: 3.0 scheduler_factor: 0.7 scheduler_patience: 3 checkpoint_epochs: [10, 30, 50, 100, 150]