You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-12
Original file line number
Diff line number
Diff line change
@@ -6,16 +6,15 @@ The overall learning process comprises three broad stages: data preparation, tra
6
6
7
7
> The term `classification` in this project is used as it has been traditionally used in the remote sensing community: a process of assigning land cover classes to pixels. The meaning of the word in the deep learning community differs somewhat, where classification is simply to assign a label to the whole input image. This usage of the term classification will always be referred to as a ```classification task``` in the context of this project. Other uses of the term classification refer to the final phase of the learning process when a trained model is applied to new images, regardless of whether `semantic segmentation`, ["the process of assigning a label to every pixel in an image"](https://en.wikipedia.org/wiki/Image_segmentation), or a `classification task` is being used.
8
8
9
-
After installing the required computing environment (see next section), one needs to replace the config.yaml file boilerplate path and other items to point to images and other data. The full sequence of steps is described in the sections below.
9
+
After installing the required computing environment (see next section), one needs to replace the config.yaml file boilerplate path and other items to point to images and other data. The full sequence of steps is described in the sections below.
10
10
11
11
> This project comprises a set of commands to be run at a shell command prompt. Examples used here are for a bash shell in an Ubuntu GNU/Linux environment.
12
12
13
13
14
14
## Requirements
15
15
- Python 3.6 with the following libraries:
16
-
- pytorch 0.4.1
17
-
- torchvision 0.2.1
18
-
- numpy
16
+
- pytorch 1.0.1 # With your choice of CUDA toolkit
17
+
- torchvision
19
18
- rasterio
20
19
- fiona
21
20
- ruamel_yaml
@@ -27,14 +26,14 @@ After installing the required computing environment (see next section), one need
27
26
28
27
## Installation on your workstation
29
28
1. Using conda, you can set and activate your python environment with the following commands:
30
-
With GPU:
29
+
With GPU (with CUDA 9.0; defaults to CUDA 10.0 if `cudatoolkit=9.0` is not specified):
1. Set your parameters in the `config.yaml` (see section bellow)
@@ -48,7 +47,7 @@ After installing the required computing environment (see next section), one need
48
47
49
48
## config.yaml
50
49
51
-
The `config.yaml` file is located in the `conf` directory. It stores the values of all parameters needed by the deep learning algorithms for all phases. It is shown below:
50
+
The `config.yaml` file is located in the `conf` directory. It stores the values of all parameters needed by the deep learning algorithms for all phases. It is shown below:
52
51
53
52
```yaml
54
53
# Deep learning configuration file ------------------------------------------------
@@ -96,7 +95,7 @@ training:
96
95
# Inference parameters; used in inference.py --------
97
96
98
97
inference:
99
-
img_csv_file: /path/to/csv/containing/images/list.csv # CSV file containing the list of all images to infer on
98
+
img_csv_file: /path/to/csv/containing/images/list.csv # CSV file containing the list of all images to infer on
100
99
working_folder: /path/to/folder/with/resulting/images # Folder where all resulting images will be written
0 commit comments