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

[Features] Conv3dNet and PermuteTransform #1398

Merged
merged 15 commits into from
Sep 16, 2023
Prev Previous commit
Next Next commit
by depth
Co-authored-by: Vincent Moens <[email protected]>
  • Loading branch information
xmaples and vmoens committed Jul 20, 2023
commit 290d8b3228a4837b97840cc90edac45636b40c70
5 changes: 4 additions & 1 deletion torchrl/modules/models/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,10 @@ def __init__(
device: Optional[DEVICE_TYPING] = None,
):
if num_cells is None:
num_cells = [32, 32, 32]
if depth is None:
num_cells = [32, 32, 32]
else:
num_cells = [32] * depth

self.in_features = in_features
self.activation_class = activation_class
Expand Down
Loading