Spaces:
Running
Running
Update configs.py
Browse files- configs.py +3 -2
configs.py
CHANGED
@@ -8,7 +8,7 @@ class CFG:
|
|
8 |
max_length = 128
|
9 |
batch_size = 32
|
10 |
num_workers = 4
|
11 |
-
projection_dim =
|
12 |
dropout_rate = 0.1
|
13 |
num_head = 4
|
14 |
num_layers = 1
|
@@ -27,6 +27,7 @@ class CFG:
|
|
27 |
epochs = 100
|
28 |
image_size = 224
|
29 |
device = "cpu"
|
|
|
30 |
data_directory = "datasets"
|
31 |
train_annotation_file = os.path.join(data_directory, "annotations", "captions_train2014.json")
|
32 |
val_annotation_file = os.path.join(data_directory, "annotations", "captions_val2014.json")
|
@@ -37,4 +38,4 @@ class CFG:
|
|
37 |
audio_name = "facebook/wav2vec2-base-960h"
|
38 |
radio_name = "microsoft/rad-dino"
|
39 |
video_name = "MCG-NJU/videomae-base"
|
40 |
-
sample_rate = 16000
|
|
|
8 |
max_length = 128
|
9 |
batch_size = 32
|
10 |
num_workers = 4
|
11 |
+
projection_dim = 256
|
12 |
dropout_rate = 0.1
|
13 |
num_head = 4
|
14 |
num_layers = 1
|
|
|
27 |
epochs = 100
|
28 |
image_size = 224
|
29 |
device = "cpu"
|
30 |
+
token_dim=3
|
31 |
data_directory = "datasets"
|
32 |
train_annotation_file = os.path.join(data_directory, "annotations", "captions_train2014.json")
|
33 |
val_annotation_file = os.path.join(data_directory, "annotations", "captions_val2014.json")
|
|
|
38 |
audio_name = "facebook/wav2vec2-base-960h"
|
39 |
radio_name = "microsoft/rad-dino"
|
40 |
video_name = "MCG-NJU/videomae-base"
|
41 |
+
sample_rate = 16000
|