-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Clojure example for fixed label-width captcha recognition #13769
Clojure example for fixed label-width captcha recognition #13769
Conversation
Cool! Excited to look at this closer 😸 |
@kedarbellare Thanks for this contribution! On which gpu machine, did you run this example? @mxnet-label-bot Add [pr-awaiting-review, Clojure] |
@Roshrini : I ran this on my personal desktop with Nvidia GTX 1070 with 8GB memory (ubuntu 18.04, cuda-9.0). I tried varying the batch sizes but that didn't help. Let me know if you want more details. |
@kedarbellare - getting to try this out - how long did your training take locally (how many epochs) ?
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left some suggested edits.
Also, it would be nice to have the files with code to have comments or some indication of what that file does.
It's pretty slow with CPU training. On my macbook pro, with |
@aaronmarkham I followed your suggestions for the README. I'll add more comments in the code in a subsequent commit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great addition! I tested it out and everything works perfectly.
Thank you for this contribution 👍
[] | ||
(let [data (sym/variable "data") | ||
;; normalize the input pixels | ||
scaled (sym/div (sym/- data 127) 128) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great way to normalize the pixels 💯
Description
Adds an example for training a captcha OCR model and using the learned model for performing inference.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.
Changes
Comments
I ran this on both osx and ubuntu linux but only with
:cpu
. However, I encountered memory issues while trying to train on a:gpu
:Reviewers
@gigasquid