Skip to content

Commit c7d9fec

Browse files
Merge pull request #10 from IBM/extend/docs
Updating installation guide
2 parents 795ee53 + 93da325 commit c7d9fec

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ The library provides:
1616
### Pip
1717
In order to use th file `pyproject.toml` it is necessary to guarantee `pip>=21.8`. If necessary upgrade `pip` using `python -m pip install --upgrade pip`.
1818

19-
Install the library with `pip install git+https://github.com/IBM/terratorch.git`.
19+
For a stable point-release, use `pip install terratorch`.
20+
If you prefer to get the most recent version of the main branch, install the library with `pip install git+https://github.com/IBM/terratorch.git`.
2021

2122
TerraTorch requires gdal to be installed, which can be quite a complex process. If you don't have GDAL set up on your system, we reccomend using a conda environment and installing it with `conda install -c conda-forge gdal`.
2223

docs/quick_start.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ To get started, make sure to have [PyTorch](https://pytorch.org/get-started/loca
44

55
Installing GDAL can be quite a complex process. If you don't have GDAL set up on your system, we reccomend using a conda environment and installing it with `conda install -c conda-forge gdal`.
66

7-
Install TerraTorch with `pip install git+https://github.com/IBM/terratorch.git`
7+
For a stable point-release, use `pip install terratorch`.
8+
If you prefer to get the most recent version of the main branch, install the library with `pip install git+https://github.com/IBM/terratorch.git`.
89

910
To install as a developer (e.g. to extend the library) clone this repo, and run `pip install -e .`.
1011

@@ -235,4 +236,4 @@ To run this training task, simply execute `terratorch fit --config <path_to_conf
235236

236237
To test your model on the test set, execute `terratorch test --config <path_to_config_file> --ckpt_path <path_to_checkpoint_file>`
237238

238-
For inference, execute `terratorch predict -c <path_to_config_file> --ckpt_path<path_to_checkpoint> --predict_output_dir <path_to_output_dir> --data.init_args.predict_data_root <path_to_input_dir> --data.init_args.predict_dataset_bands <all bands in the predicted dataset, e.g. [BLUE,GREEN,RED,NIR_NARROW,SWIR_1,SWIR_2,0]>`
239+
For inference, execute `terratorch predict -c <path_to_config_file> --ckpt_path<path_to_checkpoint> --predict_output_dir <path_to_output_dir> --data.init_args.predict_data_root <path_to_input_dir> --data.init_args.predict_dataset_bands <all bands in the predicted dataset, e.g. [BLUE,GREEN,RED,NIR_NARROW,SWIR_1,SWIR_2,0]>`

0 commit comments

Comments
 (0)