Palette-Image-to-Image-Diffusion-Models icon indicating copy to clipboard operation
Palette-Image-to-Image-Diffusion-Models copied to clipboard

AssertionError: Validation set size is configured to be larger than entire dataset.

Open wuhongsheng opened this issue 2 years ago • 3 comments

I try output error AssertionError: Validation set size is configured to be larger than entire dataset %cd Palette-Image-to-Image-Diffusion-Models/ !python run.py -p train -c config/inpainting_celebahq.json

wuhongsheng avatar Sep 27 '22 03:09 wuhongsheng

That means your setting about data_len https://github.com/Janspiry/Palette-Image-to-Image-Diffusion-Models/blob/136b29f58d0af6e5db9f3655d2891f5a855fcdaa/config/inpainting_celebahq.json#L23 is larger than given dataset

Janspiry avatar Oct 03 '22 12:10 Janspiry

That means your setting about data_len

https://github.com/Janspiry/Palette-Image-to-Image-Diffusion-Models/blob/136b29f58d0af6e5db9f3655d2891f5a855fcdaa/config/inpainting_celebahq.json#L23

is larger than given dataset I try change validation_split value output error raise NotImplementedError('{} [{:s}() form {:s}] not recognized.'.format(init_type, class_name, file_name)) NotImplementedError: Network [Network() form models.network] not recognized.

wuhongsheng avatar Oct 09 '22 01:10 wuhongsheng

Can you show the trackback and logging file?

Janspiry avatar Oct 09 '22 14:10 Janspiry