-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Guideline for training a model from scratch #389
Comments
@dagap the line that does this is 132 here. You can simply comment 131 and 132 to prevent a backbone from loading. Lines 128 to 133 in 5a34d3c
|
@glenn-jocher Thank you such a quick reply. So that is what I tried, just now but then I get this error:
After 1 epoch. I am not sure if these issues are related. I am assuming not but was not sure. So, I have the following data file: classes=1 I am not sure what to do about the last 2 parameters and if they are responsible for this error. I also use the My command line is:
|
Ok, this got fixed by making the validation and training sets to be of even size, which is very strange. |
This is odd indeed. The coco.data training has dataset sizes of 117263 and 5000, which are even and odd, and both work. |
Yeah, I thought so as well. I will have a bit of a look into this and report if I find anything. |
@dagap ok sounds good! |
One thing that I am puzzled by is how to train a single class model from scratch (without using any pretrained weights).
I have curated a dataset in the required format but when I run train.py, the first thing it does is attempts to download the darknet weights etc. I am not sure how I can actually train the model from scratch i.e. initialized with random weights instead of pretrained weights.
The text was updated successfully, but these errors were encountered: