Skip to content

Commit

Permalink
tutorial tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
PatBall1 committed Sep 17, 2024
1 parent 1c30ea4 commit 25760a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions docs/source/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ and multispectral data at the same time is not currently supported. Stick to
one data type per model (or stack the RGB bands with the multispectral bands
and treat as in the case of multispectral data).

Preparing data (RGB and multispectral)
Preparing data (RGB/multispectral)
--------------------------------------

An example of the recommended file structure when training a new model is as follows:
Expand Down Expand Up @@ -271,7 +271,7 @@ multispectral (``.tif``) tiles.
display(Image.fromarray(image))
Training a model (RGB)
Training (RGB)
----------------------

Before training can commence, it is necessary to register the training data. It is possible to set a validation fold for
Expand Down Expand Up @@ -357,7 +357,7 @@ Training outputs, including model weights and training metrics, will be stored i
Early stopping is implemented and will be triggered by a sustained failure to improve on the performance of
predictions on the validation fold. This is measured as the AP50 score of the validation predictions.

Training a model (multispectral)
Training (multispectral)
--------------------------------

The process for training a multispectral model is similar to that for RGB data but there are some key steps that are
Expand Down Expand Up @@ -547,7 +547,7 @@ model is to be used on a range of different resolutions, random resizing can hel
different scales.


Post-training (check training convergence)
Post-training (check convergence)
------------------------------------------

It is important to check that the model has converged and is not overfitting. This can be done by plotting the training
Expand Down
4 changes: 2 additions & 2 deletions docs/source/tutorial_multi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ The key steps are:
4. Making landscape level predictions


Preparing data (RGB and multispectral)
--------------------------------------
Preparing data
--------------

Data can be prepared in a similar way to the single class case but the classes
and their order (mapping) need to be saved so that they can be accessed
Expand Down

0 comments on commit 25760a7

Please sign in to comment.