You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@madlib.apache.org by "Frank McQuillan (JIRA)" <ji...@apache.org> on 2019/03/07 19:25:00 UTC
[jira] [Created] (MADLIB-1304) Figure out image input shapes
allowed for keras_fit()
Frank McQuillan created MADLIB-1304:
---------------------------------------
Summary: Figure out image input shapes allowed for keras_fit()
Key: MADLIB-1304
URL: https://issues.apache.org/jira/browse/MADLIB-1304
Project: Apache MADlib
Issue Type: Improvement
Components: Module: Neural Networks
Reporter: Frank McQuillan
Fix For: v1.16
Context/assumption
Assume the user has the input shape correct to match the model architecture. It's up to them.
Story
Do not re-shape image inputs.
Add a validation check to fit() that input shape = model architecture expected shape (not 100% guarantee) but will help to catch many errors.
Options
channel first, e.g., (3, 224, 224)
channel last, (224, 224, 3)
flattened
other? YES - all shapes supported, we will just mini-batch and pass it along
Questions
1) Q: which input formats to support?
A: all
2) Q: What input validation to do?
A: Add a validation check in fit() to ensure input shape = model architecture expected shape (not 100% guarantee) but will help to catch many errors.
3) Q: Does current code in DL mini-batch pre-processor pack correctly as is and pass it thru?
A: Yes but need to do some testing
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)