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

difference between models in darknet2pytorch.py and models.py ? #243

Closed
yuxx0218 opened this issue Aug 21, 2020 · 1 comment
Closed

difference between models in darknet2pytorch.py and models.py ? #243

yuxx0218 opened this issue Aug 21, 2020 · 1 comment

Comments

@yuxx0218
Copy link
Contributor

if cfg.use_darknet_cfg:
model = Darknet(cfg.cfgfile)
else:
model = Yolov4(cfg.pretrained, n_classes=cfg.classes)

@yuxx0218 yuxx0218 changed the title what is the difference between models in darknet2pytorch.py and models.py difference between models in darknet2pytorch.py and models.py ? Aug 21, 2020
@ersheng-ai
Copy link
Collaborator

darknet2pytorch.py transforms darknet model into pytorch.
models.py implement a pytorch model independently.

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