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

[Doc] fix several typos #2603

Merged
merged 1 commit into from
Nov 24, 2024
Merged
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: 1 addition & 1 deletion torchrl/modules/models/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ class DuelingCnnDQNet(nn.Module):
>>> cnn_kwargs = {
... 'num_cells': [32, 64, 64],
... 'strides': [4, 2, 1],
... 'kernels': [8, 4, 3],
... 'kernel_sizes': [8, 4, 3],
... }

mlp_kwargs (dict or list of dicts, optional): kwargs for the advantage
Expand Down
4 changes: 2 additions & 2 deletions tutorials/sphinx-tutorials/getting-started-3.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
indices = buffer.extend(data)

#################################
# We can check that the buffer now has the same number of elements than what
# We can check that the buffer now has the same number of elements as what
# we got from the collector:

assert len(buffer) == collector.frames_per_batch
Expand All @@ -174,7 +174,7 @@
# Next steps
# ----------
#
# - You can have look at other multirpocessed
# - You can have look at other multiprocessed
# collectors such as :class:`~torchrl.collectors.collectors.MultiSyncDataCollector` or
# :class:`~torchrl.collectors.collectors.MultiaSyncDataCollector`.
# - TorchRL also offers distributed collectors if you have multiple nodes to
Expand Down
2 changes: 1 addition & 1 deletion tutorials/sphinx-tutorials/rb_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
buffer_lazytensor = ReplayBuffer(storage=LazyTensorStorage(size))

######################################################################
# Let us create a batch of data of size ``torch.Size([3])` with 2 tensors
# Let us create a batch of data of size ``torch.Size([3])`` with 2 tensors
# stored in it:
#

Expand Down
Loading