pytorch-wgan
pytorch-wgan copied to clipboard
Pytorch implementation of DCGAN, WGAN-CP, WGAN-GP
https://github.com/Zeleni9/pytorch-wgan/blob/master/models/wgan_gradient_penalty.py#L324 `grad_penalty = ((gradients.norm(2, dim=1) - 1) ** 2).mean() * self.lambda_term` The shape of `gradients` is [batch_size, 1, 32, 32], the above `norm(2, dim=1)` is actually not behaving as you...
Bumps [tensorflow](https://github.com/tensorflow/tensorflow) from 2.7.0 to 2.7.2. Release notes Sourced from tensorflow's releases. TensorFlow 2.7.2 Release 2.7.2 This releases introduces several vulnerability fixes: Fixes a code injection in saved_model_cli (CVE-2022-29216) Fixes...
THANK YOU!!!
2022-04-13 16:47:09.310913: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine. Traceback (most recent call last): RuntimeError: Unexpected error from cudaGetDeviceCount()....
Bumps [pillow](https://github.com/python-pillow/Pillow) from 9.0.0 to 9.0.1. Release notes Sourced from pillow's releases. 9.0.1 https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html Changes In show_file, use os.remove to remove temporary images. CVE-2022-24303 #6010 [@radarhere, @hugovk] Restrict builtins within...
The version of tensorflow cause issues. > Traceback (most recent call last): File "main.py", line 42, in main(args) File "main.py", line 30, in main model.train(train_loader) File "/data1/mxx/projects/pytorch-wgan/models/wgan_gradient_penalty.py", line 274, in...
Hi, Zeleni9, I have a problem with your code, can you check https://stackoverflow.com/questions/69302763/difference-between-wgan-and-wgan-gp-gradient-penalty when you are free, thx a lot!