MCPcopy Create free account
hub / github.com/Modulus-Labs/RockyBot / get_model_dir

Function get_model_dir

pytorch-model/constants.py:34–35  ·  view source on GitHub ↗
(task_name, model_type, model_name)

Source from the content-addressed store, hash-verified

32# --- Models are saved under {task_type}_task/{model_type}/{model_name}/{epoch}.pth ---
33# --- Visuals are saved under {task_type}_viz/{model_type}/{model_name}/{img_name}.png ---
34def get_model_dir(task_name, model_type, model_name):
35 return os.path.join(f"{task_name}_task", model_type, model_name)
36def get_viz_dir(task_name, model_type, model_name):
37 return os.path.join(f"{task_name}_viz", model_type, model_name)
38

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected