Image for post
Image for post

Deploying the SpaceNet 6 Baseline on AWS

Adam Van Etten
Mar 30 · 6 min read
https://console.aws.amazon.com/ec2
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
chmod 400 /path_to_keys/cosmiq_sn6_baseline.pemssh -i “/path_to_keys/cosmiq_sn6_baseline.pem” ubuntu@ec2-XX-XX-XX-XX.compute-1.amazonaws.com
docker start cqw_sn6_bldocker attach cqw_sn6_bl
Image for post
Image for post
time ./train.sh train/AOI_11_Rotterdam/
time ./test.sh test_public/AOI_11_Rotterdam/ sn6_baseline_predictions.csv
docker cp cqw_sn6_bl:/root/weights/ /home/ubuntu/src/cosmiq_sn6_baseline/docker cp cqw_sn6_bl:/root/inference_binary /home/ubuntu/src/cosmiq_sn6_baseline/docker cp cqw_sn6_bl:/root/inference_continuous /home/ubuntu/src/cosmiq_sn6_baseline/docker cp cqw_sn6_bl:/root/inference_vectors /home/ubuntu/src/cosmiq_sn6_baseline/docker cp cqw_sn6_bl:/root/sn6_baseline_predictions.csv /home/ubuntu/src/cosmiq_sn6_baseline/
scp -i "/path_to_keys/cosmiq_sn6_baseline.pem" -r ubuntu@ec2-XX-XX-XX-XX.compute-1.amazonaws.com:/home/ubuntu/src/cosmiq_sn6_baseline/weights  /path_to_results/sn6_baseline_aws/scp -i "/path_to_keys/cosmiq_sn6_baseline.pem" -r ubuntu@ec2-XX-XX-XX-XX.compute-1.amazonaws.com:/home/ubuntu/src/cosmiq_sn6_baseline/inference* /path_to_results/sn6_baseline_aws/
Image for post
Image for post
Image for post
Image for post
SAR test images (left) and SpaceNet baseline building footprint predictions (right).
Image for post
Image for post
SpaceNet baseline building footprint coordinates in challenge entry format.

The DownLinQ

Welcome to the official blog of CosmiQ Works, an IQT Lab…

Thanks to Jake Shermeyer and Nick Weir

Adam Van Etten

Written by

The DownLinQ

Welcome to the official blog of CosmiQ Works, an IQT Lab dedicated to exploring the rapid advances delivered by artificial intelligence and geospatial startups, industry, academia, and the open source community

Adam Van Etten

Written by

The DownLinQ

Welcome to the official blog of CosmiQ Works, an IQT Lab dedicated to exploring the rapid advances delivered by artificial intelligence and geospatial startups, industry, academia, and the open source community

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store