ShaNet / test.py
AGofficial's picture
Upload 8 files
c676a94 verified
raw
history blame
214 Bytes
import torch
try:
ckpt = torch.load("out/ckpt.pt", map_location="cpu")
print("✅ Checkpoint has been loaded successfully")
except Exception as e:
print("❌ Failed to load the checkpoint:", e)