Skip to content

Add preprocess scripts and preprocessing config - #434

Open
javiermtorres wants to merge 1 commit into
mainfrom
421-preprocess-scripts
Open

javiermtorres wants to merge 1 commit into
mainfrom
421-preprocess-scripts

Conversation

@javiermtorres

Copy link
Copy Markdown
Contributor

A Preprocess function can now be added, currently working only for image input models. The image processing information needed is loaded into the encoderfile, and added to the environment for Lua preprocessing. It is planned to be expanded in a further PR to allow features like custom sentence token breakup.

@besaleli I'm not really satisfied about the whole structure, but it works right now (or at least the tests pass). Any comments or suggestions are welcome, specially on structuring assets (currently the image preproc config is its own asset; also, maybe an initial load as a Value and then coercion into a specific strongly-typed appropriate config type is more appropriate) and structuring the many related typeclasses traits into a more consistent set.

This branch has not been deployed

No deployments
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.

1 participant