Commit 46609f1b authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Fix one remaining data type.

Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <>
parent e41e7e3d
Pipeline #36292 passed with stages
in 6 minutes and 53 seconds
......@@ -60,7 +60,7 @@ class SAM_Classifier(_ImageClassifier):
# normalize input data because SAM asserts only data between -1 and 1
train_spectra_norm, tileimdata_norm = normalize_endmembers_image(endmembers, image)
angles = np.zeros((image.shape[0], image.shape[1], n_samples), np.float)
angles = np.zeros((image.shape[0], image.shape[1], n_samples), float)
# if np.std(tileimdata) == 0: # skip tiles that only contain the same value
# loop over all training spectra and compute spectral angle for each pixel
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment