Views
No views yet
1import torch 2from huggingface_hub import hf_hub_download 3 4# Model indir 5weights = torch.load(hf_hub_download(repo_id="SarmAI/EKG-mctnet", filename="model.pt")) 6model = MCTnet(MCTnetConfig()) 7model.load_state_dict(weights) 8model.eval()