Skip to content

Commit

Permalink
Minor fix in PER
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPasqua committed May 24, 2024
1 parent f57444a commit be00231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stable_baselines3/common/prioritized_replay_buffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def __init__(

assert optimize_memory_usage is False, "PrioritizedReplayBuffer doesn't support optimize_memory_usage=True"

self.min_priority = 1e-8
self.min_priority = min_priority
self.alpha = alpha
self.max_priority = self.min_priority # priority for new samples, init as eps
# Track the training progress remaining (from 1 to 0)
Expand Down

0 comments on commit be00231

Please sign in to comment.