Commit 8cef19d9 authored by jose.luis.holgado's avatar jose.luis.holgado
Browse files

patch

parent 08ef171b
......@@ -10,22 +10,23 @@ class DataOptions(BaseOptions):
def initialize(self, parser):
parser = BaseOptions.initialize(self, parser)
# Data set parameters
parser.add_argument('--band3', type=str, default='/media/jose/Data/dataset_high_resolution/WV2_3bands_Site2')
parser.add_argument('--band4', type=str, default='/media/jose/Data/dataset_high_resolution/WV2_4bands_Site2')
parser.add_argument('--out_dir', type=str, default='/media/jose/Data/Data_wv2_test')
parser.add_argument('--band3', type=str, default='/media/jose/Data/dataset_high_resolution/WV2_3bands_Site1')
parser.add_argument('--band4', type=str, default='/media/jose/Data/dataset_high_resolution/WV2_4bands_Site1')
parser.add_argument('--out_dir', type=str, default='/media/jose/Data/DATA_IGARSS_wv2_site1')
parser.add_argument('--parent_dir_tile', type=str, default='/media/jose/Data/DATA_IGARSS_wv2_site1')
parser.add_argument('--test_dir', type=str, default='test_set')
parser.add_argument('--train_dir', type=str, default='train_set')
parser.add_argument('--eval_dir', type=str, default='evaluation_set')
parser.add_argument('--eval_dir', type=str, default='evaluation_performance')
parser.add_argument('--gt', type=str, default='gt.png')
parser.add_argument('--A', type=str, default='img_A.tif')
parser.add_argument('--B', type=str, default='img_B.tif')
parser.add_argument('--city', type=str, default='wv2{}_{}')
parser.add_argument('--city', type=str, default='wv2_{}:{}')
parser.add_argument('--custom_filter_active', type=bool, default= False)
parser.add_argument('--filter_value', type=float, default=0.5)
parser.add_argument('--kernel', type=int, default=128)
parser.add_argument('--offset', type=int, default=0)
parser.add_argument('--stride', type=int, default=10)
parser.add_argument(" ", type=str, default='data', help='train, val, test, etc')
parser.add_argument('--phase', type=str, default='data_set', help='train, eval, test, etc')
......
......@@ -123,7 +123,6 @@ def save_tiles_in_separate_json(path, tile_dict):
else:
file = "patch_coords.json"
path_dir = os.path.join(path, "tile_{}".format(target_tile))
print(path_dir)
os.mkdir(path_dir)
path_file = os.path.join(path_dir, file)
save_tile_dict_to_json(path_file, dict_tile)
......
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