Skip to content

Commit b59c817

Browse files
Update eval.py
1 parent 4cf3392 commit b59c817

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eval.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def main(cfg, gpu):
191191
cfg.DIR, 'decoder' + cfg.VAL.suffix)
192192

193193
assert os.path.exists(cfg.MODEL.weights_encoder) and \
194-
os.path.exists(cfg.MODEL.weights_encoder), "checkpoint does not exitst!"
194+
os.path.exists(cfg.MODEL.weights_decoder), "checkpoint does not exitst!"
195195

196196
if not os.path.isdir(os.path.join(cfg.DIR, "result")):
197197
os.makedirs(os.path.join(cfg.DIR, "result"))

0 commit comments

Comments
 (0)