Skip to content

Commit c2acba6

Browse files
Update test.py
1 parent c26430a commit c2acba6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def main(cfg, gpu):
184184
cfg.DIR, 'decoder' + cfg.TEST.suffix)
185185

186186
assert os.path.exists(cfg.MODEL.weights_encoder) and \
187-
os.path.exists(cfg.MODEL.weights_encoder), "checkpoint does not exitst!"
187+
os.path.exists(cfg.MODEL.weights_decoder), "checkpoint does not exitst!"
188188

189189
# generate testing image list
190190
if os.path.isdir(args.imgs[0]):

0 commit comments

Comments
 (0)