Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.21 KB

README.md

File metadata and controls

34 lines (25 loc) · 1.21 KB

Tensorflow building detection

This is a docker image for running all the steps mentioned in: Example Use: A building detector with TensorFlow API

Usage

First add your Mapbox Access Token to config.example.json and rename it to config.json. You can also update the country, bounding box, or zoom level if you'd like to try building detection in another area.

docker build -t tbd .
docker run -v $PWD/config.json:/usr/src/app/config.json tbd

Manually

docker run -it --rm -v $PWD/config.json:/usr/src/app/config.json tbd /bin/bash
./script.sh

If everything runs ok, the output should be 👇

INFO:tensorflow:Recording summary at step 0.
INFO:tensorflow:Recording summary at step 0.
INFO:tensorflow:global step 1: loss = 311.7867 (72.100 sec/step)
INFO:tensorflow:global step 1: loss = 311.7867 (72.100 sec/step)
INFO:tensorflow:global step 2: loss = 292.7577 (25.074 sec/step)
INFO:tensorflow:global step 2: loss = 292.7577 (25.074 sec/step)
INFO:tensorflow:global step 3: loss = 289.7815 (21.244 sec/step)
INFO:tensorflow:global step 3: loss = 289.7815 (21.244 sec/step)
...