Commit ·
f9fa578
1
Parent(s): 927b316
face recognition
Browse files
app/Hackathon_setup/face_recognition.py
CHANGED
|
@@ -108,7 +108,7 @@ def get_face_class(img1):
|
|
| 108 |
|
| 109 |
# 1 Load the Decision Tree classifier
|
| 110 |
# clf_path = os.path.join(BASE_DIR, "decision_tree_model.sav")
|
| 111 |
-
clf_path = os.path.join(BASE_DIR, "
|
| 112 |
clf = joblib.load(clf_path)
|
| 113 |
|
| 114 |
# 2 Load the Siamese feature extractor
|
|
|
|
| 108 |
|
| 109 |
# 1 Load the Decision Tree classifier
|
| 110 |
# clf_path = os.path.join(BASE_DIR, "decision_tree_model.sav")
|
| 111 |
+
clf_path = os.path.join(BASE_DIR, "logistic_regression_1.sav")
|
| 112 |
clf = joblib.load(clf_path)
|
| 113 |
|
| 114 |
# 2 Load the Siamese feature extractor
|
app/Hackathon_setup/logistic_regression_1.sav
ADDED
|
Binary file (1.02 kB). View file
|
|
|