- 转pt
import torch
from old.tiny import Tiny
net=Tiny()
ckpt = torch.load('.pth', map_location="cpu")
net.eval()
net.load_state_dict(
import torch
from old.tiny import Tiny
net=Tiny()
ckpt = torch.load('.pth', map_location="cpu")
net.eval()
net.load_state_dict(