ByteDance-Seed / ByteDance-Seed/Bagel
Errors about setting visual_gen=False
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 6.2k
- Forks
- 545
- PR merge metrics
- No merged PRs in 30d
Description
Thanks for your great job! When I set the "--visual_gen=False", the following errors occur. Could you provide some suggestions to fix this error?
[rank4]: File "/usr/local/lib/python3.11/dist-packages/torch/nn/modules/module.py", line 1747, in _call_impl
[rank4]: return forward_call(*args, **kwargs)
[rank4]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[rank4]: TypeError: Bagel.forward() got an unexpected keyword argument 'padded_images'
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with --visual_gen=False and trace the call into Bagel.forward. Compare the arguments passed in that path with the forward signature, then verify that the non-visual-generation path runs without the padded_images error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100