Skip to content

Commit 5fb01dd

Browse files
committed
Remove DataclassPPrintMixin from Experiment, which is not a dataclass
1 parent 02e21aa commit 5fb01dd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tianshou/highlevel/experiment.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@
115115
from tianshou.highlevel.world import World
116116
from tianshou.utils import LazyLogger
117117
from tianshou.utils.net.common import ModuleType
118-
from tianshou.utils.print import DataclassPPrintMixin
119118
from tianshou.utils.warning import deprecation
120119

121120
log = logging.getLogger(__name__)
@@ -166,7 +165,7 @@ class ExperimentResult:
166165
"""dataclass of results as returned by the trainer (if any)"""
167166

168167

169-
class Experiment(ToStringMixin, DataclassPPrintMixin):
168+
class Experiment(ToStringMixin):
170169
"""Represents a reinforcement learning experiment.
171170
172171
An experiment is composed only of configuration and factory objects, which themselves

0 commit comments

Comments
 (0)