Spaces:
Runtime error
Runtime error
Commit
·
5daa835
1
Parent(s):
ab6bcbf
Update app.py
Browse files
app.py
CHANGED
@@ -293,7 +293,7 @@ def main():
|
|
293 |
img_path = img_list[img_idx]
|
294 |
|
295 |
img_name = img_path.split("/")[-1]
|
296 |
-
args.pretrained_path = os.path.join("/
|
297 |
|
298 |
if img_idx > -1:
|
299 |
tester = Tester(args)
|
|
|
293 |
img_path = img_list[img_idx]
|
294 |
|
295 |
img_name = img_path.split("/")[-1]
|
296 |
+
args.pretrained_path = os.path.join("weights/{}/cpk.pth".format(img_name.split(".")[0]))
|
297 |
|
298 |
if img_idx > -1:
|
299 |
tester = Tester(args)
|