Skip to content

Commit

Permalink
fix small bug in config
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy1621 committed Mar 30, 2024
1 parent 89e2de9 commit f3427e4
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion videomamba/video_mm/exp_pt/videomamba_middle_17m/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
fused_add_norm=True,
rms_norm=True,
residual_in_fp32=True,
bimamba_type="v2",
bimamba=True,
pool_type="cls+avg",
kernel_size=1,
num_frames="${num_frames}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
fused_add_norm=True,
rms_norm=True,
residual_in_fp32=True,
bimamba_type="v2",
bimamba=True,
pool_type="cls+avg",
kernel_size=1,
num_frames="${num_frames}",
Expand Down
2 changes: 1 addition & 1 deletion videomamba/video_mm/exp_pt/videomamba_middle_25m/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
fused_add_norm=True,
rms_norm=True,
residual_in_fp32=True,
bimamba_type="v2",
bimamba=True,
pool_type="cls+avg",
kernel_size=1,
num_frames="${num_frames}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
fused_add_norm=True,
rms_norm=True,
residual_in_fp32=True,
bimamba_type="v2",
bimamba=True,
pool_type="cls+avg",
kernel_size=1,
num_frames="${num_frames}",
Expand Down
2 changes: 1 addition & 1 deletion videomamba/video_mm/exp_pt/videomamba_middle_5m/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
fused_add_norm=True,
rms_norm=True,
residual_in_fp32=True,
bimamba_type="v2",
bimamba=True,
pool_type="cls+avg",
kernel_size=1,
num_frames="${num_frames}",
Expand Down
2 changes: 1 addition & 1 deletion videomamba/video_mm/exp_zs/anet/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
fused_add_norm=True,
rms_norm=True,
residual_in_fp32=True,
bimamba_type="v2",
bimamba=True,
pool_type="cls+avg",
kernel_size=1,
num_frames="${num_frames}",
Expand Down
2 changes: 1 addition & 1 deletion videomamba/video_mm/exp_zs/didemo/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
fused_add_norm=True,
rms_norm=True,
residual_in_fp32=True,
bimamba_type="v2",
bimamba=True,
pool_type="cls+avg",
kernel_size=1,
num_frames="${num_frames}",
Expand Down
2 changes: 1 addition & 1 deletion videomamba/video_mm/exp_zs/lsmdc/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
fused_add_norm=True,
rms_norm=True,
residual_in_fp32=True,
bimamba_type="v2",
bimamba=True,
pool_type="cls+avg",
kernel_size=1,
num_frames="${num_frames}",
Expand Down
2 changes: 1 addition & 1 deletion videomamba/video_mm/exp_zs/msrvtt/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
fused_add_norm=True,
rms_norm=True,
residual_in_fp32=True,
bimamba_type="v2",
bimamba=True,
pool_type="cls+avg",
kernel_size=1,
num_frames="${num_frames}",
Expand Down
2 changes: 1 addition & 1 deletion videomamba/video_mm/exp_zs/msvd/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
fused_add_norm=True,
rms_norm=True,
residual_in_fp32=True,
bimamba_type="v2",
bimamba=True,
pool_type="cls+avg",
kernel_size=1,
num_frames="${num_frames}",
Expand Down
4 changes: 2 additions & 2 deletions videomamba/video_mm/models/backbones/videomamba/videomamba.py
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ def build_videomamba(config, add_pool_norm=True):
fused_add_norm=config.vision_encoder.fused_add_norm,
rms_norm=config.vision_encoder.rms_norm,
residual_in_fp32=config.vision_encoder.residual_in_fp32,
bimamba_type=config.vision_encoder.bimamba_type,
bimamba=config.vision_encoder.bimamba,
pool_type=config.vision_encoder.pool_type,
kernel_size=config.vision_encoder.kernel_size,
num_frames=config.vision_encoder.num_frames,
Expand Down Expand Up @@ -595,7 +595,7 @@ def build_videomamba(config, add_pool_norm=True):
"fused_add_norm": True,
"rms_norm": True,
"residual_in_fp32": True,
"bimamba_type": "v2",
"bimamba": True,
"pool_type": "cls",
"kernel_size": 1,
"num_frames": 8,
Expand Down

0 comments on commit f3427e4

Please sign in to comment.