Update script.py
Browse files
script.py
CHANGED
|
@@ -79,10 +79,10 @@ def make_submission(test_metadata, model_path, model_name, output_csv_path="./su
|
|
| 79 |
|
| 80 |
if __name__ == "__main__":
|
| 81 |
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
|
| 87 |
# MODEL_PATH = "pytorch_model.bin"
|
| 88 |
MODEL_PATH = "best_accuracy.pth"
|
|
|
|
| 79 |
|
| 80 |
if __name__ == "__main__":
|
| 81 |
|
| 82 |
+
import zipfile
|
| 83 |
+
|
| 84 |
+
with zipfile.ZipFile("/tmp/data/private_testset.zip", 'r') as zip_ref:
|
| 85 |
+
zip_ref.extractall("/tmp/data")
|
| 86 |
|
| 87 |
# MODEL_PATH = "pytorch_model.bin"
|
| 88 |
MODEL_PATH = "best_accuracy.pth"
|