Skip to content

angus-spence/loc2vec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

230 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages