ganspace
ganspace copied to clipboard
Model "NoneType"
Sorry if I'm missing something really obvious. I get this error when running interactive.py
File "interactive.py", line 644, in
Looking into it, the config.output_class is being returned as a Nonetype? I tried to just forcing it to read it as a string but that didn't fix it, so there seems to be some underlying output_class error?
All the dependencies installed correctly in its environment, and everything else seems to run fine!
facing the same issue!
you can replace output types as one of #[ffhq, celebahq, bedrooms, cars, cats, vases, wikiart, fireworks, abstract, anime, ukiyo-e] in config.py and then run , it will work
you can replace output types as one of #[ffhq, celebahq, bedrooms, cars, cats, vases, wikiart, fireworks, abstract, anime, ukiyo-e] in config.py and then run , it will work
Sorry in Config the only thing IM seeing that has output_class is line 58 dest = 'output_class'. Are you saying put [ffhq, celebahq, bedrooms, cars, cats, vases, wikiart, fireworks, abstract, anime, ukiyo-e] in default? Or in type = ? Sorry I'm not very good at this!
@caleb-severn if you go to config.py line #58 -
parser.add_argument('--class', dest='output_class', type=str, default=None, help='Output class to generate (BigGAN: Imagenet, ProGAN: LSUN)')
Here type parameter is set as none .....you can replace it with one of the values in the list [ffhq, celebahq, bedrooms, cars, cats, vases, wikiart, fireworks, abstract, anime, ukiyo-e] like for eg. you can set type = ffhq.
PS:If you are running windows 10 , try this repo : https://github.com/justinjohn0306/StyleFlow-Windows-10