Skip to content

Commit

Permalink
Fix warmup for i3dslow family (#1666)
Browse files Browse the repository at this point in the history
* change warmup for i3dslow

* rm load

* try r2+1d
  • Loading branch information
bryanyzhu authored May 31, 2021
1 parent 5464e2d commit 5292f70
Show file tree
Hide file tree
Showing 10 changed files with 53 additions and 53 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,16 @@ CONFIG:
TRAIN:
EPOCH_NUM: 196
BATCH_SIZE: 8
LR: 0.01
LR: 0.1
MOMENTUM: 0.9
W_DECAY: 1e-5
W_DECAY: 1e-4
USE_WARMUP: True
WARMUP_EPOCHS: 34
LR_POLICY: 'Cosine'
WARMUP_END_LR: 0.1
RESUME_EPOCH: -1

VAL:
FREQ: 2
FREQ: 5
BATCH_SIZE: 8

DATA:
Expand All @@ -53,4 +52,5 @@ CONFIG:
LOG_DIR: 'tb_log'
SAVE_DIR: 'checkpoints'
EVAL_DIR: './logs/i3d_slow_resnet101_f16s4_kinetics400/eval'
SAVE_FREQ: 2
DISPLAY_FREQ: 50
SAVE_FREQ: 5
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,16 @@ CONFIG:
TRAIN:
EPOCH_NUM: 196
BATCH_SIZE: 8
LR: 0.01
LR: 0.1
MOMENTUM: 0.9
W_DECAY: 1e-5
W_DECAY: 1e-4
USE_WARMUP: True
WARMUP_EPOCHS: 34
LR_POLICY: 'Cosine'
WARMUP_END_LR: 0.1
RESUME_EPOCH: -1

VAL:
FREQ: 2
FREQ: 5
BATCH_SIZE: 8

DATA:
Expand All @@ -53,4 +52,5 @@ CONFIG:
LOG_DIR: 'tb_log'
SAVE_DIR: 'checkpoints'
EVAL_DIR: './logs/i3d_slow_resnet101_f16s4_kinetics700/eval'
SAVE_FREQ: 2
DISPLAY_FREQ: 50
SAVE_FREQ: 5
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,16 @@ CONFIG:
TRAIN:
EPOCH_NUM: 196
BATCH_SIZE: 8
LR: 0.01
LR: 0.1
MOMENTUM: 0.9
W_DECAY: 1e-5
W_DECAY: 1e-4
USE_WARMUP: True
WARMUP_EPOCHS: 34
LR_POLICY: 'Cosine'
WARMUP_END_LR: 0.1
RESUME_EPOCH: -1

VAL:
FREQ: 2
FREQ: 5
BATCH_SIZE: 8

DATA:
Expand All @@ -53,4 +52,5 @@ CONFIG:
LOG_DIR: 'tb_log'
SAVE_DIR: 'checkpoints'
EVAL_DIR: './logs/i3d_slow_resnet101_f32s2_kinetics400/eval'
SAVE_FREQ: 2
DISPLAY_FREQ: 50
SAVE_FREQ: 5
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,16 @@ CONFIG:
TRAIN:
EPOCH_NUM: 196
BATCH_SIZE: 8
LR: 0.01
LR: 0.1
MOMENTUM: 0.9
W_DECAY: 1e-5
W_DECAY: 1e-4
USE_WARMUP: True
WARMUP_EPOCHS: 34
LR_POLICY: 'Cosine'
WARMUP_END_LR: 0.1
RESUME_EPOCH: -1

VAL:
FREQ: 2
FREQ: 5
BATCH_SIZE: 8

DATA:
Expand All @@ -53,4 +52,5 @@ CONFIG:
LOG_DIR: 'tb_log'
SAVE_DIR: 'checkpoints'
EVAL_DIR: './logs/i3d_slow_resnet101_f8s8_kinetics400/eval'
SAVE_FREQ: 2
DISPLAY_FREQ: 50
SAVE_FREQ: 5
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,16 @@ CONFIG:
TRAIN:
EPOCH_NUM: 196
BATCH_SIZE: 8
LR: 0.01
LR: 0.1
MOMENTUM: 0.9
W_DECAY: 1e-5
W_DECAY: 1e-4
USE_WARMUP: True
WARMUP_EPOCHS: 34
LR_POLICY: 'Cosine'
WARMUP_END_LR: 0.1
RESUME_EPOCH: -1

VAL:
FREQ: 2
FREQ: 5
BATCH_SIZE: 8

DATA:
Expand All @@ -53,4 +52,5 @@ CONFIG:
LOG_DIR: 'tb_log'
SAVE_DIR: 'checkpoints'
EVAL_DIR: './logs/i3d_slow_resnet50_f16s4_kinetics400/eval'
SAVE_FREQ: 2
DISPLAY_FREQ: 50
SAVE_FREQ: 5
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,16 @@ CONFIG:
TRAIN:
EPOCH_NUM: 196
BATCH_SIZE: 8
LR: 0.01
LR: 0.1
MOMENTUM: 0.9
W_DECAY: 1e-5
W_DECAY: 1e-4
USE_WARMUP: True
WARMUP_EPOCHS: 34
LR_POLICY: 'Cosine'
WARMUP_END_LR: 0.1
RESUME_EPOCH: -1

VAL:
FREQ: 2
FREQ: 5
BATCH_SIZE: 8

DATA:
Expand All @@ -53,4 +52,5 @@ CONFIG:
LOG_DIR: 'tb_log'
SAVE_DIR: 'checkpoints'
EVAL_DIR: './logs/i3d_slow_resnet50_f32s2_custom/eval'
SAVE_FREQ: 2
DISPLAY_FREQ: 50
SAVE_FREQ: 5
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,16 @@ CONFIG:
TRAIN:
EPOCH_NUM: 196
BATCH_SIZE: 8
LR: 0.01
LR: 0.1
MOMENTUM: 0.9
W_DECAY: 1e-5
W_DECAY: 1e-4
USE_WARMUP: True
WARMUP_EPOCHS: 34
LR_POLICY: 'Cosine'
WARMUP_END_LR: 0.1
RESUME_EPOCH: -1

VAL:
FREQ: 2
FREQ: 5
BATCH_SIZE: 8

DATA:
Expand All @@ -53,4 +52,5 @@ CONFIG:
LOG_DIR: 'tb_log'
SAVE_DIR: 'checkpoints'
EVAL_DIR: './logs/i3d_slow_resnet50_f32s2_kinetics400/eval'
SAVE_FREQ: 2
DISPLAY_FREQ: 50
SAVE_FREQ: 5
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ CONFIG:
TRAIN:
EPOCH_NUM: 196
BATCH_SIZE: 8
LR: 0.01
LR: 0.1
MOMENTUM: 0.9
W_DECAY: 1e-5
W_DECAY: 1e-4
USE_WARMUP: True
WARMUP_EPOCHS: 34
LR_POLICY: 'Cosine'
Expand Down Expand Up @@ -48,9 +48,9 @@ CONFIG:
PRETRAINED: False

LOG:
BASE_PATH: './logs/i3d_slow_resnet50_f8s8_kinetics400_warmup'
BASE_PATH: './logs/i3d_slow_resnet50_f8s8_kinetics400'
LOG_DIR: 'tb_log'
SAVE_DIR: 'checkpoints'
EVAL_DIR: './logs/i3d_slow_resnet50_f8s8_kinetics400_warmup/eval'
EVAL_DIR: './logs/i3d_slow_resnet50_f8s8_kinetics400/eval'
DISPLAY_FREQ: 50
SAVE_FREQ: 5
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ DDP_CONFIG:
WORLD_RANK: 0
GPU_WORLD_SIZE: 8
GPU_WORLD_RANK: 0
DIST_URL: 'tcp://172.31.72.195:23456'
WOLRD_URLS: ['172.31.72.195']
DIST_URL: 'tcp://172.31.69.242:23456'
WOLRD_URLS: ['172.31.69.242']
AUTO_RANK_MATCH: True
DIST_BACKEND: 'nccl'
GPU: 0
Expand All @@ -16,17 +16,16 @@ CONFIG:
TRAIN:
EPOCH_NUM: 196
BATCH_SIZE: 8
LR: 0.001
LR: 0.1
MOMENTUM: 0.9
W_DECAY: 1e-5
W_DECAY: 1e-4
USE_WARMUP: True
WARMUP_EPOCHS: 34
LR_POLICY: 'Cosine'
WARMUP_END_LR: 0.1
RESUME_EPOCH: -1

VAL:
FREQ: 2
FREQ: 5
BATCH_SIZE: 8

DATA:
Expand All @@ -53,8 +52,9 @@ CONFIG:
PRETRAINED: False

LOG:
BASE_PATH: './logs/r2plus1d_v1_resnet50_kinetics400'
BASE_PATH: './logs/r2plus1d_v1_resnet50_kinetics400_05302021'
LOG_DIR: 'tb_log'
SAVE_DIR: 'checkpoints'
EVAL_DIR: './logs/r2plus1d_v1_resnet50_kinetics400/eval'
SAVE_FREQ: 2
EVAL_DIR: './logs/r2plus1d_v1_resnet50_kinetics400_05302021/eval'
DISPLAY_FREQ: 50
SAVE_FREQ: 5
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,16 @@ CONFIG:
TRAIN:
EPOCH_NUM: 196
BATCH_SIZE: 8
LR: 0.001
LR: 0.1
MOMENTUM: 0.9
W_DECAY: 1e-5
W_DECAY: 1e-4
USE_WARMUP: True
WARMUP_EPOCHS: 34
LR_POLICY: 'Cosine'
WARMUP_END_LR: 0.1
RESUME_EPOCH: -1

VAL:
FREQ: 2
FREQ: 5
BATCH_SIZE: 8

DATA:
Expand Down Expand Up @@ -57,4 +56,5 @@ CONFIG:
LOG_DIR: 'tb_log'
SAVE_DIR: 'checkpoints'
EVAL_DIR: './logs/r2plus1d_v2_resnet152_kinetics400/eval'
SAVE_FREQ: 2
DISPLAY_FREQ: 50
SAVE_FREQ: 5

0 comments on commit 5292f70

Please sign in to comment.