Skip to content

Conversation

@sakrobinson
Copy link
Contributor

commented out call to save_state() which is not implemented

Removed call to save_state() which is not implemented
@sakrobinson
Copy link
Contributor Author

#50

Copy link
Contributor

@waynemystir waynemystir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commenting out self.save_state() doesn't seem like a great option... it would prevent neurons that want to do so from doing so.


# Always save state.
self.save_state()
#self.save_state()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happens to neurons that want to save their state?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont think they would be missing much:

def save_state(self):
    bt.logging.warning(
        "save_state() not implemented for this neuron. You can implement this function to save model checkpoints or other useful data."
    )

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants