chychiu commited on
Commit
010e451
·
1 Parent(s): 894f232

got out of testing environment lol

Browse files
Files changed (1) hide show
  1. script.py +11 -11
script.py CHANGED
@@ -95,18 +95,18 @@ def test_submission():
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
- # )
 
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
+ )