MemoryAdaptNet-master icon indicating copy to clipboard operation
MemoryAdaptNet-master copied to clipboard

Hi, I don't know how to process datasets

Open yuheyuan opened this issue 1 year ago • 2 comments

I the datasets download. But I find it's format dose not meet your code


IMAGE_DIRECTORY = "./dataset/potsdam/train_img_512_1_ori"
LABEL_DIRECTORY = "./dataset/potsdam/train_lab_512_ori"

IMAGE_DIRECTORY_TARGET = "./data/vaihingen/train_img_512"
LABEL_DIRECTORY_TARGET = "./data/vaihingen/train_lab_512"
VAL_IMAGE_DIRECTORY_TARGET = "./data/vaihingen/val_img_512"
VAL_LABEL_DIRECTORY_TARGET = "./data/vaihingen/val_lab_512"

here code in your test_p2v_v3_1.py. The datasets I download. the Vaihingen I download. The format is it.

3DLabeling
ALS
DSM
dsm_09cm_matching_area11.tif
Images
ISPRS_semantic_labeing_Vaihingen_ground_truth_eroded_for_participants.zip
ISPRS_semantic_labeling_Vaihingen_ground_truth_COMPLETE.zip
ISPRS_semantic_labeling_Vaihingen_ground_truth_eroded_COMPLETE.zip
ISPRS_semantic_labeling_Vaihingen.zip
Ortho
Overview_Vaihingen_DMC.pdf
Reference_3d_reconstruction
Reference_object_detection
Vaihingen_dsm_tiles_geoinfo.zip

I think you may do some data process. I don't know how to change them to meet the correct format. If possible, I hope you can release your data process code. Thank you

yuheyuan avatar Aug 20 '22 10:08 yuheyuan