yolov7 icon indicating copy to clipboard operation
yolov7 copied to clipboard

I would like to plot the accuracy of test data and val data through tensorboard in yolov7.

Open nakyoungan opened this issue 6 months ago • 1 comments

Select Topic Area

Question

Body

I would like to plot the f1score of test data and val data through tensorboard in yolov7.

  1. Firstly, how can I connect tensorboard to yolov7?
  • Through other searches, I found out that I can do it like below. Can I add this to "train.py"?
import torch
from torch.utils.tensorboard import SummaryWriter
writer = SummaryWriter()
  1. Next, yolov7 draws recall and precision by default, but I want to draw f1score separately for train and val.

What should I do?

nakyoungan avatar Jan 25 '24 05:01 nakyoungan

Select Topic Area

Question

Body

I would like to plot the f1score of test data and val data through tensorboard in yolov7.

  1. Firstly, how can I connect tensorboard to yolov7?
  • Through other searches, I found out that I can do it like below. Can I add this to "train.py"?
import torch
from torch.utils.tensorboard import SummaryWriter
writer = SummaryWriter()
  1. Next, yolov7 draws recall and precision by default, but I want to draw f1score separately for train and val.

What should I do?

Use wandb instead of tensorboard.

dsbyprateekg avatar Feb 04 '24 05:02 dsbyprateekg