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

ETL code for Spark training #6601

Merged
merged 11 commits into from Oct 17, 2018

Conversation

@AlexDBlack
Copy link
Contributor

commented Oct 17, 2018

This adds: ETL code for spark training, mainly for the "many small files" use case (such as images).
In the image case, reading each image one at a time from HDFS is a potential bottleneck, and converting to DataSet isn't feasible due to the considerably greater space requirements.
Thus: we pre-batch the files (in their original format) using FileBatch and train directly from those batches. This keeps the original file size benefits of the raw images, whilst reducing the required number of disk reads by a factor of the minibatch size.

@AlexDBlack AlexDBlack merged commit fcf46d4 into master Oct 17, 2018

0 of 3 checks passed

codeclimate Code Climate encountered an error attempting to analyze this pull request.
Details
Codacy/PR Quality Review Hang in there, Codacy is reviewing your Pull request.
Details
continuous-integration/jenkins/pr-head This commit is being built
Details

@AlexDBlack AlexDBlack deleted the ab_spark_batching branch Oct 17, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.