generative-compression icon indicating copy to clipboard operation
generative-compression copied to clipboard

Problems with the data set " paths = Data.load_dataframe(directories.train) "

Open WenBingo opened this issue 1 year ago • 4 comments

In train.py 31st " paths = Data.load_dataframe(directories.train) “。I get an address for the training data, but there is no image at this address, so much so that an error is reported later. I would like to ask if this should be a separate download for the image of the cityscapes data?

WenBingo avatar Jul 25 '23 07:07 WenBingo

I down the data of cityscapes and put it into the "./data" , but when i debug to the "train_dataset = Data.load_dataset ( ) " in the model.py , donot have value of the image

WenBingo avatar Jul 25 '23 11:07 WenBingo

train_dataset = Data.load_dataset(self.path_placeholder, config.batch_size, augment=False, training_dataset=dataset, use_conditional_GAN=config.use_conditional_GAN, semantic_map_paths=self.semantic_map_path_placeholder)

code of the model.py ,when run this code i get the train_dataset is a tensor of image_path . is right?

WenBingo avatar Jul 25 '23 11:07 WenBingo

I have this issue during the operation. Have you encountered it before. I have placed the cityscapes dataset in the data section, but there will still be this error message.

tensorflow.python.framework.errors_impl.NotFoundError:2 root error(s)found.Not found:data/leftImg8bit/test/munich/munich_000211_000019_leftImg8bit.png;No such file or directory

zhanpengA avatar Sep 12 '23 03:09 zhanpengA

I have not solved this issue

WenBingo avatar Sep 13 '23 02:09 WenBingo