Commit ·
c11ed3a
1
Parent(s): 1f1bd91
fix accuracy paths for huggingface
Browse files- backend/accuracy_test.py +3 -1
backend/accuracy_test.py
CHANGED
|
@@ -10,7 +10,9 @@ def run_accuracy_check():
|
|
| 10 |
top5_correct = 0
|
| 11 |
total = 0
|
| 12 |
|
| 13 |
-
|
|
|
|
|
|
|
| 14 |
|
| 15 |
print("\nRunning accuracy evaluation...\n")
|
| 16 |
|
|
|
|
| 10 |
top5_correct = 0
|
| 11 |
total = 0
|
| 12 |
|
| 13 |
+
|
| 14 |
+
BASE_DIR = os.path.dirname(__file__)
|
| 15 |
+
TEST_DIR = os.path.join(BASE_DIR, "data/images")
|
| 16 |
|
| 17 |
print("\nRunning accuracy evaluation...\n")
|
| 18 |
|