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

weight line in the training #9

Open
urbansound8K opened this issue Jan 10, 2021 · 2 comments
Open

weight line in the training #9

urbansound8K opened this issue Jan 10, 2021 · 2 comments

Comments

@urbansound8K
Copy link

hey there

thanks a lot for this code

I have a question please

do I need to include the yolov3 weight of a coco dataset during training ??

or what should I include in this line:

parser.add_argument("--weights_path", type=str, default="config/yolov3.weights", help="path to weights file")

@cailinw
Copy link

cailinw commented Aug 15, 2021

The weights_path argument allows you to specify initializing the model with pretrained weights. If you don't specify a weights_path argument, it will default to the weights in the file "config/yolov3.weights".

I have created a pull request here that allows you to provide the argument random_initialize to indicate training the model from scratch and not loading any pretrained weights.

@MarkusEngel1
Copy link

Hey :)
Thank you very much for the scripts and the idea and smart solution! :)
For me the same question pop up...
unfortunatly, it seems that the pull request was not included...
@cailinw would you mind to share your improvments here?
Thank you very much :)

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

3 participants