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

add license plate model example #244

Merged
merged 13 commits into from
Jan 31, 2020
Merged

Conversation

RobertLucian
Copy link
Contributor

@RobertLucian RobertLucian commented Jan 22, 2020

In this PR, I'm adding an example for detecting license plates with YOLOv3. The model has obviously been trained with this Keras implementation. This also includes the configuration file in zoo/.

Apart from this change, I've also added some lines to limit the GPU usage down to a given percentage so as to not get the infamous CUDA_OUT_OF_MEMORY. Also, I've set allow_growth = True to not allow the GPU to preallocate memory and to let it use just as much as it needs. See https://stackoverflow.com/a/39467358/2096747.

I've added a debug = False variable in train.py to prevent getting too many debug messages while training - this has the benefit of being able to witness the model's progress (on the loss) as it trains.

Added create_validation_script.sh script to divide the dataset into training and validation sets (for VOC format).

Added requirements file for the project to work. Without it, time is wasted finding out the right dependencies, especially with TensorFlow and Keras.

@experiencor experiencor merged commit 768c524 into experiencor:master Jan 31, 2020
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.

None yet

2 participants