submission mode
Browse files
script.py
CHANGED
@@ -447,17 +447,17 @@ if __name__ == "__main__":
|
|
447 |
MODEL_NAME = "timm/vit_base_patch14_reg4_dinov2.lvd142m"
|
448 |
|
449 |
# # Real submission
|
450 |
-
|
451 |
|
452 |
-
|
453 |
-
|
454 |
|
455 |
-
|
456 |
-
|
457 |
|
458 |
# Test submission
|
459 |
-
metadata_file_path = "../trial_submission.csv"
|
460 |
-
root_dir = "../data/DF_FULL"
|
461 |
|
462 |
##############
|
463 |
|
|
|
447 |
MODEL_NAME = "timm/vit_base_patch14_reg4_dinov2.lvd142m"
|
448 |
|
449 |
# # Real submission
|
450 |
+
import zipfile
|
451 |
|
452 |
+
with zipfile.ZipFile("/tmp/data/private_testset.zip", 'r') as zip_ref:
|
453 |
+
zip_ref.extractall("/tmp/data")
|
454 |
|
455 |
+
metadata_file_path = "./_test_preprocessed.csv"
|
456 |
+
root_dir = "/tmp/data"
|
457 |
|
458 |
# Test submission
|
459 |
+
# metadata_file_path = "../trial_submission.csv"
|
460 |
+
# root_dir = "../data/DF_FULL"
|
461 |
|
462 |
##############
|
463 |
|