jianhey commited on
Commit
fb19608
·
verified ·
1 Parent(s): 2643cb4

Initial release — iter_10000 checkpoint + ag_config

Browse files
Files changed (2) hide show
  1. ag_config.yaml +52 -0
  2. iter_000010000.pt +3 -0
ag_config.yaml ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # DDP config template (default, use with predict2_anomaly_gen_ddp_{2b,14b}).
2
+ # Placeholders in <angle-brackets> are filled by scripts/generate_config.py.
3
+ # Keep sections minimal — the experiment provides defaults for everything else.
4
+ job:
5
+ project: anomaly_gen
6
+ group: UC2_exp
7
+ name: UC2_exp_training_FP32_lr0.02_bs=2_2B_512x512
8
+ optimizer:
9
+ lr: 0.02
10
+ checkpoint:
11
+ save_iter: 2000
12
+ trainer:
13
+ max_iter: 75000
14
+ logging_iter: 10
15
+ validation_iter: 2000
16
+ run_validation: True
17
+ early_stop:
18
+ enabled: true
19
+ metric: nn
20
+ patience: 5
21
+ min_delta: 0
22
+ min_delta_mode: rel
23
+ dataloader_train:
24
+ batch_size: 2
25
+ dataset:
26
+ dataset_dir: datasets/UC2_data
27
+ image_size:
28
+ - 512
29
+ - 512
30
+ anomaly_types: [[metal_surface, MT_Blowhole], [metal_surface, MT_Break], [metal_surface, MT_Crack],
31
+ [metal_surface, MT_Fray], [metal_surface, MT_Uneven]]
32
+ seed: 1
33
+ data_augprob: 0.5
34
+ aug_type: random_ratio_crop
35
+ ratio_range: [1.5, 8.0]
36
+ dataloader_val:
37
+ batch_size: 32
38
+ dataset:
39
+ input_data_path: ag_inference/validation_UC2_exp/testcase.jsonl
40
+ model:
41
+ config:
42
+ ag_config:
43
+ ad_precision: float32
44
+ t5_model_name: checkpoints/google-t5/t5-large
45
+ anomaly_embedding:
46
+ anomaly_types: [[metal_surface, MT_Blowhole], [metal_surface, MT_Break], [metal_surface, MT_Crack],
47
+ [metal_surface, MT_Fray], [metal_surface, MT_Uneven]]
48
+ freeze: False
49
+ mask_encoder:
50
+ encoder_config:
51
+ init_cfg:
52
+ checkpoint: checkpoints/NVDINOV2/nv_dinov2_classification_model.ckpt
iter_000010000.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0db05c1ef6041b471216833da231d003686360e2caa40e805f615e4688a00280
3
+ size 13643698