api: Update resnet model
This commit is contained in:
parent
5fcc60f793
commit
39837cf88b
BIN
alg/models/resnet18_20250326_063838_96.34.pth
Normal file
BIN
alg/models/resnet18_20250326_063838_96.34.pth
Normal file
Binary file not shown.
@ -688,7 +688,7 @@ class QrVerifyView(BaseView):
|
|||||||
messages.append("creating side by side image...")
|
messages.append("creating side by side image...")
|
||||||
subprocess.check_call(cmd, cwd=cwd)
|
subprocess.check_call(cmd, cwd=cwd)
|
||||||
roi_verify_py = os.path.abspath("../alg/roi-verify.py")
|
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]
|
cmd = [roi_verify_py, '--model', roi_verify_model, '--image', side_by_side_fn]
|
||||||
messages.append(" ".join(cmd))
|
messages.append(" ".join(cmd))
|
||||||
r = subprocess.call(cmd)
|
r = subprocess.call(cmd)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user