Skip to content

error in main_model_params. #8

@whubaichuan

Description

@whubaichuan

hi, nice work.

The optimizer for the main model seems to be wrong. The code in this file:

if all(p is not x for x in model.classification_loss.parameters()) but model.classification_loss.parameters() is empty. Thus, I guess the code should be changed to: if all(p is not x for x in model.linear_classifier.parameters()) ?

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