Skip to content

self.train_y0 not found when setting model to LinReg #50

Description

@Mustardburger

When setting the model option in the json config file to LinReg, the program throws an error of self.train_y0 not being defined. This is because self.train_y0 is only defined when the model is set to CellBox, as the build function in CellBox instantiates self.train_y0. Otherwise, in other models, self.train_y0 is never instantiated. This also applies to self.monitor_y0 and self.eval_y0.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions