Spaces:
Sleeping
Sleeping
Update models/tag2text.py
Browse files- models/tag2text.py +1 -1
models/tag2text.py
CHANGED
@@ -92,7 +92,7 @@ class Tag2Text_Caption(nn.Module):
|
|
92 |
|
93 |
self.threshold = threshold
|
94 |
num_features = 768
|
95 |
-
self.num_class =
|
96 |
|
97 |
q2l_config = BertConfig.from_json_file('configs/q2l_config.json')
|
98 |
q2l_config.encoder_width = vision_width
|
|
|
92 |
|
93 |
self.threshold = threshold
|
94 |
num_features = 768
|
95 |
+
self.num_class = 3429
|
96 |
|
97 |
q2l_config = BertConfig.from_json_file('configs/q2l_config.json')
|
98 |
q2l_config.encoder_width = vision_width
|