Skip to content

Latest commit

 

History

230 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

loc2vec

Pytoch implementation of the Loc2Vec model outlined in the blog post 'Loc2Vec: Learning Location Embeddings with Triplet-loss Networks'.

Use

Implementation requires user to hold both anchor and positive anchor rasters. Negative anchors can be specified, with random indicies selected for such purpose if not.

Model Results

This implementation was tested with the following OSM raster aggregated channels:

  • OSM Lines:
    • roads:
      • ['motorway', 'primary & trunk', 'secondary', 'minor street']
      • ['others']
    • rails
      • ['others', 'rail']
  • OSM Multipolygons
    • ['national park', 'forest', 'grass & park', 'meadow', 'farmyard', 'farmland', 'orchard']
    • ['water']
    • ['industrial', 'construction', 'quarry', 'military']
    • ['railway']
    • ['residential']
    • ['commercial']
    • ['retail']
    • ['allotments', 'cemetary', 'brown field']
    • ['buildings']

About

Learning semantic embeddings from OSM data: A Pytorch implementation of the loc2vec general method outlined in: https://sentiance.com/loc2vec-learning-location-embeddings-w-triplet-loss-networks.

Topics

Resources

Stars

11 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages