gwxie / Document-Dewarping-with-Control-Points

Document Dewarping with Control Points

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pretrain model .pkl format can not load

AIMan-Zzx opened this issue · comments

any error? do not understand

Hi,
Try again.
If an error is reported, list more detailed information

if you have only one gpu, you should modify torch.load(filePath) to torch.load(filePath, map_location='cuda:0')