api: Update resnet model

This commit is contained in:
Fam Zheng 2025-03-26 06:54:11 +08:00
parent 5fcc60f793
commit 39837cf88b
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -688,7 +688,7 @@ class QrVerifyView(BaseView):
messages.append("creating side by side image...")
subprocess.check_call(cmd, cwd=cwd)
roi_verify_py = os.path.abspath("../alg/roi-verify.py")
roi_verify_model = os.path.abspath("../alg/models/resnet18_20250325_114510_94.56.pth")
roi_verify_model = os.path.abspath("../alg/models/resnet18_20250326_063838_96.34.pth")
cmd = [roi_verify_py, '--model', roi_verify_model, '--image', side_by_side_fn]
messages.append(" ".join(cmd))
r = subprocess.call(cmd)