GitLab is experiencing storage issues, linked with the Windows servers shutdown. Several features are affected by this disruption.

Check the info page for updates

Commit f0c3946b authored by tristan.kreuziger's avatar tristan.kreuziger

Added comment about the exclusion of problematic patches

parent 24423687
......@@ -54,8 +54,11 @@ After downloading the raw images from, they need to be
* `-o` or `--out_folder`: The output folder where the resulting files will be created.
* `-n` or `--splits`: A list of CSV files each of which contains the patch names of corresponding split.
* `--update_json`: A flag to indicate that this script will also change the original json files of the BigEarthNet by updating labels
To run the script, either the GDAL or the rasterio package should be installed. The TensorFlow package should also be installed. The script is tested with Python 2.7, TensorFlow 1.3 and Ubuntu 16.04.
**Note**: In the provided splits files, problematic tiles are already excluded, such as ones covered by snow or clouds (see the corresponding patch lists [here]( and [here]( respectively). When using custom splits, please make sure to pay attention to handling these patches.
......@@ -137,7 +137,7 @@ if __name__ == "__main__":
parser.add_argument('--update_json', default = False, action = "store_true", help =
'flag for adding BigEarthNet-19 labels to the json file of each patch')
parser.add_argument('-n', '--splits', dest = 'splits', help =
'csv files each of which contain list of patch names', nargs = '+')
'csv files each of which contain list of patch names, problematic patches already excluded', nargs = '+')
args = parser.parse_args()
Markdown is supported
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