minchul commited on
Commit
87b3115
1 Parent(s): 6dadf30

Upload model

Browse files
Files changed (1) hide show
  1. wrapper.py +2 -2
wrapper.py CHANGED
@@ -23,8 +23,8 @@ class CVLFaceRecognitionModel(PreTrainedModel):
23
  self.model = get_model(model_conf)
24
  self.model.load_state_dict_from_path('pretrained_model/model.pt')
25
 
26
- def forward(self, x):
27
- return self.model(x)
28
 
29
 
30
 
 
23
  self.model = get_model(model_conf)
24
  self.model.load_state_dict_from_path('pretrained_model/model.pt')
25
 
26
+ def forward(self, *args, **kwargs):
27
+ return self.model(*args, **kwargs)
28
 
29
 
30