Update modeling_vivqa.py
Browse files- modeling_vivqa.py +1 -1
modeling_vivqa.py
CHANGED
@@ -140,7 +140,7 @@ class BEiT3Wrapper(PreTrainedModel):
|
|
140 |
def __init__(self, args, **kwargs):
|
141 |
super().__init__(args)
|
142 |
self.beit3 = ViVQABEiT3(args)
|
143 |
-
self.apply(self._init_weights)
|
144 |
|
145 |
def fix_init_weight(self):
|
146 |
def rescale(param, layer_id):
|
|
|
140 |
def __init__(self, args, **kwargs):
|
141 |
super().__init__(args)
|
142 |
self.beit3 = ViVQABEiT3(args)
|
143 |
+
# self.apply(self._init_weights)
|
144 |
|
145 |
def fix_init_weight(self):
|
146 |
def rescale(param, layer_id):
|