Image Generation while training? #381
Unanswered
nicofirst1
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been trying to the DALLE model generate images while on training mode.
The
generate_images
method has the@torch.no_grad()
and@eval_decorator
decorators that do not allow training.My solution was to copy-paste the same method and remove those decorators but I'm not sure it is the best solution.
My intent is to generate an image and feed it to another architecture and I would like the gradient to flow through the entire process.
Does anyone know how to do this?
Beta Was this translation helpful? Give feedback.
All reactions