TingTing1999 commited on
Commit
34c253d
1 Parent(s): 10654d9

Update script.py

Browse files
Files changed (1) hide show
  1. script.py +3 -2
script.py CHANGED
@@ -17,7 +17,7 @@ def is_gpu_available():
17
  class PytorchWorker:
18
  """Run inference using ONNX runtime."""
19
 
20
- def __init__(self, model_path: str, model_name: str, number_of_categories: int = 1605):
21
 
22
  def _load_model(model_name, model_path):
23
 
@@ -98,7 +98,8 @@ if __name__ == "__main__":
98
 
99
  # MODEL_PATH = './e21_t152.pth'
100
  # MODEL_PATH = './e18_t151.pth'
101
- MODEL_PATH = './e23_t141.pth'
 
102
  MODEL_NAME = 'tf_efficientnet_b3_ns' #"tf_efficientnet_b1.ap_in1k"
103
 
104
  metadata_file_path = "./FungiCLEF2024_TestMetadata.csv"
 
17
  class PytorchWorker:
18
  """Run inference using ONNX runtime."""
19
 
20
+ def __init__(self, model_path: str, model_name: str, number_of_categories: int = 1604):
21
 
22
  def _load_model(model_name, model_path):
23
 
 
98
 
99
  # MODEL_PATH = './e21_t152.pth'
100
  # MODEL_PATH = './e18_t151.pth'
101
+ # MODEL_PATH = './e23_t141.pth'
102
+ MODEL_PATH = './e25_t144.pth'
103
  MODEL_NAME = 'tf_efficientnet_b3_ns' #"tf_efficientnet_b1.ap_in1k"
104
 
105
  metadata_file_path = "./FungiCLEF2024_TestMetadata.csv"