We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98544f0 commit 86a447dCopy full SHA for 86a447d
tools/infer/predict_rec.py
@@ -708,7 +708,7 @@ def main(args):
708
709
# logger
710
log_file = args.save_log_path
711
- if os.path.is_dir(args.save_log_path) or (
+ if os.path.isdir(args.save_log_path) or (
712
not os.path.exists(args.save_log_path) and args.save_log_path.endswith("/")
713
):
714
log_file = os.path.join(log_file, "benchmark_recognition.log")
0 commit comments