Skip to content

extract_encoder.py run fail #5

@Cyc-striving

Description

@Cyc-striving

Traceback (most recent call last):
File "/root/autodl-tmp/SelfDocSeg/pretraining/extract_encoder.py", line 633, in
resnet_seq.load_state_dict(wts) # loading weights to the new encoder
File "/root/miniconda3/envs/selfdocseg/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1604, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for Sequential:

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