Skip to content

I get a parameter error when I use a pretrained model #78

@coobMagicX

Description

@coobMagicX

I get a parameter problem when using a pretrained model under pytorch, codebase and codevecs length mismatch in search.py.

Traceback (most recent call last):
File "search.py", line 150, in
assert len(codebase)==len(codevecs), "inconsistent number of chunks, check whether the specified files for codebase and code vectors are correct!"
AssertionError: inconsistent number of chunks, check whether the specified files for codebase and code vectors are correct!

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