Open nickzheng1 opened 3 years ago
1) I personally renamed them to rgb0.tiff, geo0.geojson There are no specific rules to rename them, You just have to know how to read the train code , So you can import them as needed 2) The create Mask function is useful if you want to make sure the masks are accurate 3) The Create masks function is used in combination displaying Mask & Image side by Side , this can be used for confirmation that your files are sorted and correct :) 4) there are still somethings that could be better explained, Ill try and to write down some things as soon as im done
Hello,
Sorry for the late response, I am really busy with my graduation project.
1- You only need to convert TIFF files into RGB files. Do not try to convert geojson files, which are the ground truths, into an image. This method, takes an image_id and find its corresponding ground-truth geojson file. Then returns a NumPy array which consists of ones and zeros for each building. If an RGB picture has 7 buildings, then this method returns a 7xHxW NumPy array.
2- When the masks and images do not match, please check if you shuffle data or not. Sometimes people miss it out.
Good luck!