Fix Indentation in test.py (#2614)

* Fix Indentation in test.py

* CI fix

* Comply with PEP8: 80 characters per line
pull/2620/head
Ayush Chaurasia 2021-03-27 01:17:11 +05:30 committed by GitHub
parent a57f23d18b
commit 8f6e447729
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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: