Skip to content
Image/text geolocation with tensorflow and the MvMF
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
fonts
s2
scripts
src
stats
.gitignore
README.md

README.md

Geolocation library for TensorFlow

This repository contains source code for the paper Exploiting the Earth's Spherical Geometry to Geolocate Images and a working paper Geolocating Tweets Sent in Any Language form Any Location .

The file src/image/gps_loss.py contains a function gps_loss, which contains the code for the MvMF layer (and has options for many variations on the layer described in the paper). This function can be added to your TensorFlow project in order to predict GPS coordinates. All code was developed using TensorFlow v1.4.

For information on training a model, run the command

python ./src/image/train.py --help

For information on using a model to predict GPS locations, run the command

python ./src/image/infer.py --help

Documentation for this code is currently fairly sparse. If you have any questions, or want help performing a particular task, please email me at mike@izbicki.me.

You can’t perform that action at this time.