forked from sczhou/ProPainter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
train_propainter.json
48 lines (48 loc) · 1.08 KB
/
train_propainter.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"seed": 2023,
"save_dir": "experiments_model/",
"train_data_loader": {
"name": "youtube-vos",
"video_root": "your_video_root",
"flow_root": "your_flow_root",
"w": 432,
"h": 240,
"num_local_frames": 10,
"num_ref_frames": 6,
"load_flow": 0
},
"losses": {
"hole_weight": 1,
"valid_weight": 1,
"flow_weight": 1,
"adversarial_weight": 0.01,
"GAN_LOSS": "hinge",
"perceptual_weight": 0
},
"model": {
"net": "propainter",
"no_dis": 0,
"load_d": 1,
"interp_mode": "nearest"
},
"trainer": {
"version": "trainer",
"type": "Adam",
"beta1": 0,
"beta2": 0.99,
"lr": 1e-4,
"batch_size": 8,
"num_workers": 8,
"num_prefetch_queue": 8,
"log_freq": 100,
"save_freq": 1e4,
"iterations": 700e3,
"scheduler": {
"type": "MultiStepLR",
"milestones": [
400e3
],
"gamma": 0.1
}
}
}