9. Storing geodata in MongoDB generally straight forward:
• Very felxible
• Geo Index for quick retrieval
• Geo queries for clear separation with multiple agents
Storing pics directly in MongoDB:
Advantages
• easy to scale (Sharding)
• Easy to back up (Replica)
• File and Other Information in same place (less complex)
• Disadvantages
• Saving pictures as binary
• Performance loss compared to file system (?)
Getting the data - storing
13. 1. The Unlabelled Data in MongoDB Collection:
• {"loc": (80.0, 70.1), "pic": the binary-PIL-file, "labelled": False}
• MongoDB Document is very flexible and can be used without to
much preparation
2. Show 5 pictures in a go in a flask View with the labelling
option and navigate with tab and enter to select the label
3. Store the pictures in a different collection
Labelling
40. […] That means it [the penultimate layer] has to be a meaningful and
compact summary of the images, since it has to contain enough information
for the classifier to make a good choice in a very small set of values. The
reason our final layer retraining can work on new classes is that it turns out
the kind of information needed to distinguish between all the 1,000 classes
in ImageNet is often also useful to distinguish between new kinds of objects.
(www.tensorflow.org/)
è Classification of top view landscape images is
actually out of scope -- but works reasonably well
Retraining - general idea