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

Training on my own dataset #2

Open
eliwilner opened this issue Jan 14, 2020 · 3 comments
Open

Training on my own dataset #2

eliwilner opened this issue Jan 14, 2020 · 3 comments

Comments

@eliwilner
Copy link

Hi Ethan,

Great work,
I was wondering, if I have my own data with lets say 4 classes, should I just changed TOTAL_CLASSES = 4 on train.py and I would be able to run it?

Thanks

@ethanyanjiali
Copy link
Owner

Do you mean YOLOv3? yes, for the training script itself, you just need to change to TOTAL_CLASSES=4. However my implementation uses TF Records so you'll also need to make sure your data is ready in that format.

@eliwilner
Copy link
Author

eliwilner commented Jan 14, 2020 via email

@ethanyanjiali
Copy link
Owner

seems like the input shape is wrong during the concatenation in the detection head. the part i don't quite understand is that why x and x_medium could have shape of [(None, 256, 26, 2), (None,
512, 26, 1)], it supposed to be 26x26x256 and 26x26x512. did you set the input to be channel first?

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