Skip to content

notebook #2

Description

@NoenD455

AttributeError Traceback (most recent call last)
/tmp/ipykernel_3986/547719377.py in <cell line: 0>()
17 # Generate images for each value in num_inference_steps_list
18 for num_steps in num_inference_steps_list:
---> 19 generated_images = pipeline(
20 texts,
21 batch_size=1, # Generate one image at a time for each step

4 frames
/usr/local/lib/python3.12/dist-packages/transformers/tokenization_utils_base.py in getattr(self, key)
1314 if key in vars(cls):
1315 return vars(cls)[key]
-> 1316 raise AttributeError(f"{self.class.name} has no attribute {key}")
1317 return object.getattribute(self, key)
1318

AttributeError: T5Tokenizer has no attribute batch_encode_plus

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions