Skip to content

AttributeError: 'BertLMHeadModel' object has no attribute 'generate' Error #232

@NguyenDucTam2801

Description

@NguyenDucTam2801

I haved try to run demo.ipynb and i get this error in Image Captioning part.. Then i also try to modify blip.py but i does not change anything. Does anyone solve this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions