Skip to content

Error when initializing tokenizer #10

@LinxinS97

Description

@LinxinS97

In lavis/models/blip_models/blip_rel_det.py

tokenizer = StageBertTokenizer.from_pretrained(
            "/public/home/lirj2/projects/LAVIS_GITM/data/bert-base-uncased",
            local_files_only=True)

I met a hardcoded path for Bert in the code, which I cannot find in your instructions. Could you provide this weight (or reference) in your instructions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions