gansformer
gansformer copied to clipboard
Generative Adversarial Transformers
Hey, I've been trying to generate attention maps, but I've been stuck with some errors. Here is the way I used your codebase after cloning it : - Download cityscapes...
``` loss_D_real = 0 if D_main: if self.d_loss == "logistic": loss_D_real = torch.nn.functional.softplus(-real_logits) # -log(sigmoid(real_logits)) elif self.d_loss == "hinge": loss_D_real = torch.clamp(1.0 - real_logits, min = 0) elif self.d_loss ==...
Where can we find FLOPs and #parameters?
First, thank you for this amazing work! I am suspecting that an indentation is missing at the following position of the code: https://github.com/dorarad/gansformer/blob/3a9efa4545be25604b70560b7f491ec3633c14a3/pytorch_version/training/networks.py#L784 The reason why it raises my suspicion...
When running: python3 run_network.py --train --ganformer-default --expname test --dataset plant --eval-images-num 10000 The following error appears: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN)...