Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问您的yolov4的预训练权重是在什么数据集上训练的? #5

Closed
UnlightedOtaku opened this issue Sep 23, 2021 · 1 comment

Comments

@UnlightedOtaku
Copy link

顺便给个小建议,tools/logger.py 中用的是tensorflow
不过我个人不太想再去装tensorflow
您可以了解一下torch.utils.tensorboard

# 官方示例代码
from torch.utils.tensorboard import SummaryWriter
import numpy as np

writer = SummaryWriter()

for n_iter in range(100):
    writer.add_scalar('Loss/train', np.random.random(), n_iter)
@yingkunwu
Copy link
Owner

是使用原YOLOv4作者預訓練的權重。網路上可以找到很多相關資訊說明要怎麼將原作者的權重轉換成PyTorch的.pth檔。因為我的模型架構有些名稱不太一樣,所以有經過另外的處理,不過權重的大小層數都是一樣的。

感謝你的建議! 我會去了解一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants