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.
Type Name Latest commit message Commit time
Failed to load latest commit information.

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/ 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/ --help

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

python ./src/image/ --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

You can’t perform that action at this time.