Skip to content

Commit

Permalink
Uncomment save_json
Browse files Browse the repository at this point in the history
  • Loading branch information
KSGulin committed Jan 24, 2023
1 parent 85c4bf9 commit 4b6f655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion segment/val.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ def parse_opt():
parser.add_argument('--dnn', action='store_true', help='use OpenCV DNN for ONNX inference')
opt = parser.parse_args()
opt.data = check_yaml(opt.data) # check YAML
# opt.save_json |= opt.data.endswith('coco.yaml')
opt.save_json |= opt.data.endswith('coco.yaml')
opt.save_txt |= opt.save_hybrid
print_args(vars(opt))
return opt
Expand Down

0 comments on commit 4b6f655

Please sign in to comment.