How to add FGM. In lighting I know how to add PGD against disturbance in torch module, but I don't know where to add FGM under lighting attack() #12680
Unanswered
Hou-jing
asked this question in
code help: NLP / ASR / TTS
Replies: 1 comment 2 replies
-
Hi @Hou-jing! I think you can use manual optimization for your use-case. Check out the doc page for details: https://pytorch-lightning.readthedocs.io/en/latest/common/optimization.html#manual-optimization |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How to add FGM. In lighting I know how to add PGD against disturbance in torch module, but I don't know where to add FGM under lighting attack()
Beta Was this translation helpful? Give feedback.
All reactions