Browse Source

Fix Indentation in test.py (#2614)

* Fix Indentation in test.py

* CI fix

* Comply with PEP8: 80 characters per line
5.0
Ayush Chaurasia GitHub 3 years ago
parent
commit
8f6e447729
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      test.py

+ 1
- 1
test.py 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:

Loading…
Cancel
Save