Fix Indentation in test.py (#2614)
* Fix Indentation in test.py * CI fix * Comply with PEP8: 80 characters per linepull/2620/head
parent
a57f23d18b
commit
8f6e447729
2
test.py
2
test.py
|
@ -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…
Reference in New Issue