-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.md~
executable file
·47 lines (25 loc) · 1.5 KB
/
README.md~
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# The SpaceNet 7 Baseline Algorithm
-----------
1. Download SpaceNet 7 Data
cd /local_data/sn7/aws_download/
aws s3 cp s3://spacenet-dataset/spacenet/SN7_buildings/tarballs/SN7_buildings_train.tar.gz .
aws s3 cp s3://spacenet-dataset/spacenet/SN7_buildings/tarballs/SN7_buildings_test_public.tar.gz .
Extract data from the tarballs:
cd /local_data/sn7/aws_download/
tar -xvf SN7_buildings_train.tar.gz
tar -xvf SN7_buildings_test_public.tar.gz
2. Download SpaceNet 7 baseline code to the desired location (e.g. `/path_to_baseline/`):
cd /path_to_baseline/
git clone https://github...
3. In Ubuntu 20.10:
Install anaconda https://docs.anaconda.com/anaconda/install/linux/
Install solaris: https://solaris.readthedocs.io/en/latest/installation.html
Install Nvidia-docker https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html
Install docker: https://docs.docker.com/get-docker/
After this, create a new Solaris environment in ANaconda:
```git clone https://github.com/cosmiq/solaris.git```
```cd solaris```
```conda env create -f environment-gpu.ymlv```
```conda activate solaris```
```pip install . ```
From console, always activate this option manually through``` conda activate solaris ``` or manually tipe ```anaconda-navigator``` from terminal and change ```root``` to ```solaris```, install Jupyter in this environment + requirements.txt using ```pip install -r requirements.txt```.