Skip to content
Implementation and examples for Tile2Vec
Python
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.
data finished example 1 and added example tiles Apr 27, 2018
examples added resnet.py and fixed typo in Example 3 Apr 5, 2019
models Added weights and dropbox download link Mar 8, 2018
src added resnet.py and fixed typo in Example 3 Apr 5, 2019
.envrc TileNet; environment Mar 6, 2018
.gitignore
README.md Added weights and dropbox download link Mar 8, 2018
environment.yml TileNet; environment Mar 6, 2018

README.md

tile2vec

Implementation and examples for Tile2Vec

Getting data

Follow the follow instructions for getting the necessary data for the provided examples.

Getting pre-trained NAIP model

To get a Tile2Vec model that has been pre-trained on the NAIP dataset, download the weights provided here and save the file in the models directory: tile2vec/models/naip_trained.ckpt.

Getting tiles

Unzip data/tiles.zip in the data directory, i.e., tile2vec/data/tiles. Within this folder, you should find 1000 tiles saved as Numpy arrays named {1-1000}tile.npy and 1 file named y.npy that contains the CDL labels corresponding to these 1000 tiles.

Getting triplets

Download tile triplet dataset for the training example here and then unzip in the data directory, i.e., tile2vec/data/triplets. This directory contains 100k tile triplets, with each triplet identified by its index and "anchor", "neighbor", or "distant".

You can’t perform that action at this time.