-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Hi. Thanks for sharing your work.
I have problem for the inference code generate_examples/generate.py
.
File "/Lumina-mGPT/lumina_mgpt/inference_solver.py", line 342, in generate
generation_result = self.model.generate(
File "/Lumina-mGPT/venv-luminamgpt/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1709, in __getattr__
raise AttributeError(f"'{type(self).__name__}' object has no attribute '{name}'")
AttributeError: 'ChameleonForConditionalGeneration' object has no attribute 'generate'
As the error says, I found that ChameleonForConditionalGeneration
object doesn't have generate
attribute.
Could you help me to generate an image?
Metadata
Metadata
Assignees
Labels
No labels