zhangrenchao's picture
Upload folder using huggingface_hub
61c016d verified
Raw History Blame Contribute Delete
520 Bytes
from pathlib import Path
import sys
ROOT = Path(__file__).resolve().parents[1]
sys.path.insert(0, str(ROOT))
from model.gcrm_convectionnn import evaluate_and_plot, load_yaml
if __name__ == "__main__":
config = load_yaml(ROOT / "conf/config.yaml")
summary = evaluate_and_plot(str(ROOT / config["paths"]["predictions"]),
str(ROOT / config["paths"]["evaluation_metrics"]),
str(ROOT / config["paths"]["figure"]))
print("checks passed", summary)