Skip to content

Bug in TCTS model #943

@Tribleave

Description

@Tribleave

init_fore_model = copy.deepcopy(self.fore_model)
for p in init_fore_model.parameters():
p.init_fore_model = False

Why set p.init_fore_model = False in line 148, this field makes no sense and not used in other place.

I think it is a typo and should be p.requires_grad = False as the init_fore_model is not updated when training fore_model.

Since it is a typo but the result of TCTS should be unchanged because it only update the parameters in fore_optimizer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions