Views
No views yet
gtn_dataset_5comp_v2_corrected_cleaned.jsonl)topology_random (Topology-disjoint split. Train, Val, and Test topologies are completely mutually exclusive.)gtn_surrogate_model.pt: Model weights (model_state_dict), config, and training metadata.manifest.json: Training and evaluation manifest summary.training_history.jsonl: Metrics per epoch.test_predictions.jsonl: Model predictions on the test set.validation_predictions.jsonl: Model predictions on the validation set.1import torch
2from shared_energy.gtn_surrogate import GTNSurrogateModel
3
4checkpoint_path = "gtn_surrogate_model.pt"
5payload = torch.load(checkpoint_path, map_location="cpu")
6model = GTNSurrogateModel(**payload["model_config"])
7model.load_state_dict(payload["model_state_dict"])
8model.eval()