Training with Raw Image data as inputs
See original GitHub issueWhat is wrong?
Training error does not go below 1, and I think this is because my inputs strings have different lengths.
(currently i am using base64
encoded image data as input to the network, is this OK?)
Where does it happen?
In the a new brain.recurrent.RNN() when trying to run a net in node.js on my Windows 10
How do we replicate the issue?
Git Source here: https://github.com/mubaidr/image-parsing/blob/master/src/index.js#L45
How important is this (1-5)?
3
Expected behavior (i.e. solution)
Any suggestions to make input data to be same length for all images or maybe i am doing something wrong?
Other Comments
Thanks for the awesome work!
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:22 (15 by maintainers)
Top Results From Across the Web
Use raw (image) data always better for training?
I was told that using raw data as input for deep learning is often or always (?) better than using pre-processed (or feature...
Read more >From raw images to real-time predictions with Deep Learning
Deep learning models are trained by being fed with batches of data. Keras has a very useful class to automatically feed data from...
Read more >Training & evaluating a classifier using raw image pixels
Training & evaluating a classifier using raw image pixels ... -Represent your data as features to serve as input to machine learning models....
Read more >feeding raw data as image to deep learning machine and ...
The solution is to train two networks which play a game: The generator network G, which generates images. And the discriminator network D,...
Read more >CSCI1290 Lab: RAW Images - Brown CS
Using the tool dcraw, extract the CFA image out of a RAW file. · Prepare the CFA image, including linearizing and normalizing the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I don’t have an answer to this but + 1 for the gif
In gpu.js (which is the engine for brain.js v2) we’ve built it so you can feed images in directly: https://github.com/gpujs/gpu.js#supported-input-types
If we brought this functionality into v2 of brain.js, it would likely be:
I’ve personally hoped for it for some time, and I think, although challenging, it would be terribly useful. However, we’d need to plan for how that api would look and ensure it’d be useful for real world scenarios.
However, @mubaidr raises a good point:
Most scenarios really don’t need color data. But I figure, if you are going to make something useful…
Why not make it easy?
(Caution: possibly overly simplified use case)