Update gis.py
Browse files
gis.py
CHANGED
|
@@ -222,6 +222,7 @@ class GIS(object):
|
|
| 222 |
out_dirpath = self.args.out_dirpath
|
| 223 |
image = skimage.io.imread(in_filepath)
|
| 224 |
# ε¦ζθΆ
εΊεηι’ζηε€§ε°εε
³ιεηε€η
|
|
|
|
| 225 |
if image.shape[0] < patch_size or image.shape[1] < patch_size:
|
| 226 |
self.config['eval_params']['patch_size'] = None
|
| 227 |
else:
|
|
|
|
| 222 |
out_dirpath = self.args.out_dirpath
|
| 223 |
image = skimage.io.imread(in_filepath)
|
| 224 |
# ε¦ζθΆ
εΊεηι’ζηε€§ε°εε
³ιεηε€η
|
| 225 |
+
patch_size = self.config['eval_params']['patch_size']
|
| 226 |
if image.shape[0] < patch_size or image.shape[1] < patch_size:
|
| 227 |
self.config['eval_params']['patch_size'] = None
|
| 228 |
else:
|