znxlwm / pytorch-MNIST-CelebA-cGAN-cDCGAN

Pytorch implementation of conditional Generative Adversarial Networks (cGAN) and conditional Deep Convolutional Generative Adversarial Networks (cDCGAN) for MNIST dataset
493 stars 127 forks source link

niu bi #8

Open ghost opened 3 years ago

ghost commented 3 years ago

代码直接cuda,不考虑cpu的情况。而且还一堆错误,这种代码为啥

Arrayflow commented 2 years ago

确实兼容性不友好。错误主要是python版本和pytorch版本更迭导致的函数用法不同的问题,稍微改一改就能跑,GANs主要是调参

代码直接cuda,不考虑cpu的情况。而且还一堆错误,这种代码为啥