label-maker icon indicating copy to clipboard operation
label-maker copied to clipboard

Better generator integration/example

Open drewbo opened this issue 7 years ago • 1 comments

Creating a data.npz file may result in too large a file for some projects. At that point it may be better to read the training data in with a generator (example: Keras flow_from_directory). The easiest way to do this now would be to skip the final step (label-maker package) and read directly from the labels.npz and the tiles directory. We should create either (1) an example showing how to do this or (2) additional scripts which perform this for the user depending upon configuration (or a combination of the two).

drewbo avatar Jan 15 '18 21:01 drewbo

I vote for starting with (1) since it's the simplest and we avoid rewriting Keras's ImageDataGenerator functionality. If we want to show examples for other platforms (like MXNet or straight tensorflow) we can do (2), but then it might be worth separating that work into 2 issues.

wronk avatar Jan 16 '18 14:01 wronk