'x' arg in prior trainer
See original GitHub issuewhat is ‘x’ here? I tried calling like the updated way in train_diffusion_prior.py (except I do text=…, img_embed=…)
https://github.com/lucidrains/DALLE2-pytorch/blob/23bb206d2710392a99c879c37cd7ec71665ddac7/train_diffusion_prior.py#L218
and I’m getting an error forward() missing 1 required positional argument: 'x'
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Trainer — PyTorch Lightning 1.8.5.post0 documentation
Passing training strategies (e.g., "ddp" ) to accelerator has been deprecated in v1.5.0 and will be removed in v1.7.0. Please use the strategy...
Read more >Python args and kwargs: Demystified
In this step-by-step tutorial, you'll learn how to use args and kwargs in Python to add more flexibility to your functions. You'll also...
Read more >24. Passing Arguments | Python Tutorial
The passing of parameters and arguments in Python. Explaining the difference between call by object sharing, call by value and call by name....
Read more >2131-Anticipation — Application of 35 U.S.C. 102 - USPTO
A claimed invention may be rejected under 35 U.S.C. 102 when the invention is anticipated (or is "not novel") over a disclosure that...
Read more >Homework 1 Solutions - Estimation, Naive Bayes, Convexity ...
is λ ∼ Gamma(α, β)) is a conjugate prior of the Exp(λ) distribution. ... As usual, let D = {x(i),y(i)} be the set...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
haha yeah, I finished some assignments early last week so I had time to mess around 😃
& the code doesn’t seem to yell at me anymore after https://github.com/lucidrains/DALLE2-pytorch/commit/68e7d2f2419822676afe0b26915b1aa0e53bd248 👍 thanks!
ahh! okay okay, i see!
i’m at the car wash rn, will try when i get home 🤘