huiyegit / T2I_CL

MIT License
45 stars 16 forks source link

assert dataset Assertion Error #10

Closed sumorday closed 2 years ago

sumorday commented 2 years ago

screen

Hi. Is there something wrong with my data import? The path was changed in the cofig file, but it seemed that there was a problem reading the text file.

I saw the original attgan said that the data list should look like this: data/birds Then my dataset is a list like this. Is it correct?

list

if use cd command to explore the dataset:

!cd /content/T2I_CL/AttnGAN+CL/data/birds !ls

attributes image_class_labels.txt parts bounding_boxes.txt images README classes.txt images.txt train_test_split.txt

Is it correct?

priyankaupadhyay090 commented 2 years ago

screen

Hi. Is there something wrong with my data import? The path was changed in the cofig file, but it seemed that there was a problem reading the text file.

I saw the original attgan said that the data list should look like this: data/birds Then my dataset is a list like this. Is it correct?

list

if use cd command to explore the dataset:

!cd /content/T2I_CL/AttnGAN+CL/data/birds !ls

attributes image_class_labels.txt parts bounding_boxes.txt images README classes.txt images.txt train_test_split.txt

Is it correct?

Hey I got the same error and was able to solve it.

so basically Code is unable to load train and test filenames.pickle. you should keep train, test and text folder inside 'data/birds'. Problem should be solve after that

sumorday commented 2 years ago

屏幕快照 2022-02-08 下午3 04 55

thanks for the reply. I can put them all under the birds folder. Among them, bounding_boxes and images.txt, colab prompted me to put them in the folder CUB_200_2011.

I first downloaded the compressed package of CUB_200_2011. and decompressed it. I tried putting all txt, train files into birds folder but it doesn't work. May I look at that list of your datasets? Thank you soooo much:)

sumorday commented 2 years ago

it seems like I forgot download the meta datasets. but after I checked the original attgan code and guide by it. it still does not work...I have not ideas how to do. but that must some issue relate to dataset address...

sumorday commented 2 years ago

I have solved this question