carlosgomes98
commited on
Commit
•
f2c0d71
1
Parent(s):
0639e6a
get rid of channels last
Browse files
burn_scars_Prithvi_100M.py
CHANGED
@@ -56,7 +56,7 @@ save_path = work_dir
|
|
56 |
|
57 |
save_path = work_dir
|
58 |
train_pipeline = [
|
59 |
-
dict(type='LoadGeospatialImageFromFile', to_float32=image_to_float32
|
60 |
dict(type='LoadGeospatialAnnotations', reduce_zero_label=False),
|
61 |
dict(type='BandsExtract', bands=bands),
|
62 |
dict(type='RandomFlip', prob=0.5),
|
@@ -74,7 +74,7 @@ train_pipeline = [
|
|
74 |
dict(type='Collect', keys=['img', 'gt_semantic_seg'])
|
75 |
]
|
76 |
test_pipeline = [
|
77 |
-
dict(type='LoadGeospatialImageFromFile', to_float32=image_to_float32
|
78 |
dict(type='BandsExtract', bands=bands),
|
79 |
dict(type='ToTensor', keys=['img']),
|
80 |
# to channels first
|
|
|
56 |
|
57 |
save_path = work_dir
|
58 |
train_pipeline = [
|
59 |
+
dict(type='LoadGeospatialImageFromFile', to_float32=image_to_float32),
|
60 |
dict(type='LoadGeospatialAnnotations', reduce_zero_label=False),
|
61 |
dict(type='BandsExtract', bands=bands),
|
62 |
dict(type='RandomFlip', prob=0.5),
|
|
|
74 |
dict(type='Collect', keys=['img', 'gt_semantic_seg'])
|
75 |
]
|
76 |
test_pipeline = [
|
77 |
+
dict(type='LoadGeospatialImageFromFile', to_float32=image_to_float32),
|
78 |
dict(type='BandsExtract', bands=bands),
|
79 |
dict(type='ToTensor', keys=['img']),
|
80 |
# to channels first
|