TypeError: UnconditionalImageDataset: __init__() got an unexpected keyword argument 'dataset' #455
-
|
Checklist
Describe the bug Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): Reproduction
Environment _sys.platform: linux
Error traceback I don't know what's the meaning of the "dataset" error,and why ,I just change the cfg file, if anyone can help me, I will be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Seems that you use a self-defined config is modified from In the original config, Maybe you remove |
Beta Was this translation helpful? Give feedback.
Seems that you use a self-defined config is modified from
stylegan3_r_ada_fp16_gamma3.3_metfaces_1024_b4x8.In the original config,
datasetis defined inhttps://github.com/open-mmlab/mmgeneration/blob/master/configs/_base_/datasets/ffhq_flip.pyMaybe you remove
RepeatDatasetfromdata['train']but still remaindataset. If you do not want to useRepeatDataset, you can use the following config: