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

update demo.py and darknet2pytorch.py #362

Merged
merged 3 commits into from
Dec 12, 2021

Conversation

ajsanjoaquin
Copy link
Contributor

I added torch weights support for demo.py by adding a new argument "-torch" to avoid issues like this when using demo.py.

I also fixed the false warning whenever any yolo cfg file is initialized by darknet2pytorch.Darknet when it parses the Linear activation of the convolutional blocks as I mentioned here.

@zhu-zhaofei
Copy link

thinks a lot. you are right.it's a good method of solving the problem.

@t-ibayashi-safie
Copy link

t-ibayashi-safie commented Apr 5, 2021

This helps Me a lot!
Thank you so much!

@queirozrphl
Copy link

Thats's pretty good. Thank you

@ajsanjoaquin
Copy link
Contributor Author

@Tianxiaomo or any other collaborator, can you please approve the merge? Thank you.

@beybars1
Copy link

beybars1 commented Dec 2, 2021

Great! Appreciate your input!

@Tianxiaomo
Copy link
Owner

update demo.py and darknet2pytorch.py

@Tianxiaomo Tianxiaomo merged commit fa24033 into Tianxiaomo:master Dec 12, 2021
@waragai-katsunori
Copy link

    parser.add_argument('-torch', type=bool, default=false,
                        help='use torch weights')

false should be False

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

Successfully merging this pull request may close these issues.

7 participants