Skip to content

Commit

Permalink
remove unused functions from zoo
Browse files Browse the repository at this point in the history
  • Loading branch information
2320sharon committed Dec 20, 2024
1 parent 7daf8fa commit 13b77cd
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/coastseg/zoo_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1085,20 +1085,6 @@ def get_metadatadict(
metadatadict["model_types"] = model_types
return metadatadict

def get_classes(self, model_directory_path: str):
"""
Retrieves the classes from the specified model directory.
Args:
model_directory_path (str): The path to the model directory.
Returns:
list: A list of classes.
"""
class_path = os.path.join(model_directory_path, "classes.txt")
classes = common.read_text_file(class_path)
return classes

def run_model(
self,
img_type: str,
Expand Down

0 comments on commit 13b77cd

Please sign in to comment.