Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions torchrl/trainers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
CountFramesLog,
LogReward,
LogScalar,
LogTiming,
LogValidationReward,
mask_batch,
OptimizerHook,
Expand All @@ -29,6 +30,7 @@
"CountFramesLog",
"LogReward",
"LogScalar",
"LogTiming",
"LogValidationReward",
"mask_batch",
"OptimizerHook",
Expand Down
2 changes: 2 additions & 0 deletions torchrl/trainers/algorithms/sac.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ def __init__(
log_observations: bool = False,
target_net_updater: TargetNetUpdater | None = None,
async_collection: bool = False,
log_timings: bool = False,
) -> None:
warnings.warn(
"SACTrainer is an experimental/prototype feature. The API may change in future versions. "
Expand All @@ -151,6 +152,7 @@ def __init__(
log_interval=log_interval,
save_trainer_file=save_trainer_file,
async_collection=async_collection,
log_timings=log_timings,
)
self.replay_buffer = replay_buffer
self.async_collection = async_collection
Expand Down
Loading