got out of testing environment lol
Browse files
script.py
CHANGED
@@ -95,18 +95,18 @@ def test_submission():
|
|
95 |
|
96 |
if __name__ == "__main__":
|
97 |
|
98 |
-
test_submission()
|
99 |
|
100 |
-
|
101 |
|
102 |
-
|
103 |
-
|
104 |
|
105 |
-
|
106 |
-
|
107 |
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
|
|
95 |
|
96 |
if __name__ == "__main__":
|
97 |
|
98 |
+
# test_submission()
|
99 |
|
100 |
+
import zipfile
|
101 |
|
102 |
+
with zipfile.ZipFile("/tmp/data/private_testset.zip", 'r') as zip_ref:
|
103 |
+
zip_ref.extractall("/tmp/data")
|
104 |
|
105 |
+
metadata_file_path = "./FungiCLEF2024_TestMetadata.csv"
|
106 |
+
test_metadata = pd.read_csv(metadata_file_path)
|
107 |
|
108 |
+
make_submission(
|
109 |
+
test_metadata=test_metadata,
|
110 |
+
model_path=MODEL_PATH,
|
111 |
+
model_name=MODEL_NAME
|
112 |
+
)
|