Skip to content

Commit

Permalink
Fix Indentation in test.py (ultralytics#2614)
Browse files Browse the repository at this point in the history
* Fix Indentation in test.py

* CI fix

* Comply with PEP8: 80 characters per line
  • Loading branch information
AyushExel committed Mar 26, 2021
1 parent 4c63458 commit f3bb8f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def test(data,
"domain": "pixel"} for *xyxy, conf, cls in pred.tolist()]
boxes = {"predictions": {"box_data": box_data, "class_labels": names}} # inference-space
wandb_images.append(wandb_logger.wandb.Image(img[si], boxes=boxes, caption=path.name))
wandb_logger.log_training_progress(predn, path, names) # logs dsviz tables
wandb_logger.log_training_progress(predn, path, names) if wandb_logger and wandb_logger.wandb_run else None

# Append to pycocotools JSON dictionary
if save_json:
Expand Down

0 comments on commit f3bb8f7

Please sign in to comment.