sunshineatnoon commited on
Commit
5daa835
·
1 Parent(s): ab6bcbf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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("/home/xli/WORKDIR/04-18/{}/cpk.pth".format(img_name.split(".")[0]))
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)