Skip to content

python fine-tune.py --lr 0.01 --load_path checkpoint/model.t7 --save_dir checkpoint/ --save_model ftll.t7 --runname fine.tune.last.layer #2

@xiaolinjieer

Description

@xiaolinjieer

when i run the code ,the error appear

indim = nn.Linear.in_features
AttributeError: type object 'Linear' has no attribute 'in_features'

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