Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Algorithm] Discrete IQL #1793

Merged
merged 10 commits into from
Jan 16, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fix expectile check
  • Loading branch information
BY571 committed Jan 15, 2024
commit 4e802dca24dcbc17e293c4d4b85fbd0f3d8eed09
2 changes: 1 addition & 1 deletion torchrl/objectives/iql.py
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ def __init__(
) -> None:
self._in_keys = None
self._out_keys = None
if expectile < 1.0:
if expectile >= 1.0:
raise ValueError(f"Expectile should be lower than 1.0 but is {expectile}")
super().__init__(
actor_network=actor_network,
Expand Down