You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The link using gdwon doesn't download the dataset, it only downloads the json files for train, val and test.
So,
mkdir JPEGImages
mv train/* test/* val/* JPEGImages
This will move all the images in the JPEGImages.
However, the below function in preparing dataset expects the data to have a subfolder in the JPEGImages:
def get_all_image_names(path):
all_names = glob.glob(f"{path}/JPEGImages/*/*.JPEG")
all_names = [name.split("/")[-1].split(".")[0] for name in all_names]
return set(all_names)
Can you please provide more details regarding data preparation and let me know if I am making any mistake?
The text was updated successfully, but these errors were encountered:
I downloaded data PartImageNet_Seg, from https://github.com/tacju/partimagenet. After unzipping, the dataset structure is given below:
The link using gdwon doesn't download the dataset, it only downloads the json files for train, val and test.
So,
This will move all the images in the JPEGImages.
However, the below function in preparing dataset expects the data to have a subfolder in the JPEGImages:
Can you please provide more details regarding data preparation and let me know if I am making any mistake?
The text was updated successfully, but these errors were encountered: