vrvundyala commited on
Commit
50f9fa8
·
1 Parent(s): 871e118

face recognition

Browse files
app/Hackathon_setup/face_recognition.py CHANGED
@@ -116,7 +116,7 @@ def get_face_class(img1):
116
 
117
  # 2 Load the Siamese feature extractor
118
  myModel = Siamese().to(device)
119
- ckpt_path = os.path.join(BASE_DIR, "siamese_model.t7")
120
  ckpt = torch.load(ckpt_path, map_location=device)
121
  myModel.load_state_dict(ckpt['net_dict'])
122
  myModel.eval()
 
116
 
117
  # 2 Load the Siamese feature extractor
118
  myModel = Siamese().to(device)
119
+ ckpt_path = os.path.join(BASE_DIR, "siamese_model_1.t7")
120
  ckpt = torch.load(ckpt_path, map_location=device)
121
  myModel.load_state_dict(ckpt['net_dict'])
122
  myModel.eval()
app/Hackathon_setup/siamese_model_1.t7 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:92b34f44a4f8db131f1cc6b8b2e9e66a8618b0b4b13c92ec8202d57dd88e6759
3
+ size 161027032