-
Notifications
You must be signed in to change notification settings - Fork 128
Open
Labels
bugSomething isn't workingSomething isn't workingpending-releaseA solution was developed ('develop' branch). Pending for release to become officially available.A solution was developed ('develop' branch). Pending for release to become officially available.
Description
Description
When printing the trainer, for instance print(runner.trainer), there is a recursion error:
string = f"Trainer: {self}"
^^^^^^^^^^^^^^^^^^
[Previous line repeated 326 more times]
RecursionError: maximum recursion depth exceeded while getting the str of an object
This is due to the fact that the str method refers to itself
def __str__(self) -> str:
string = f"Trainer: {self}"
What skrl version are you using?
1.4.3
What ML framework/library version are you using?
Pytorch
Additional system information
Ubuntu 22
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpending-releaseA solution was developed ('develop' branch). Pending for release to become officially available.A solution was developed ('develop' branch). Pending for release to become officially available.