Skip to content
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 gallery/plot_visualization_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def show(imgs):
# lraspp mobilenet models
# (:func:`~torchvision.models.segmentation.lraspp_mobilenet_v3_large`).
#
# Let's start by looking at the ouput of the model. Remember that in general,
# Let's start by looking at the output of the model. Remember that in general,
# images must be normalized before they're passed to a semantic segmentation
# model.

Expand Down
2 changes: 1 addition & 1 deletion torchvision/models/detection/rpn.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def filter_proposals(self, proposals, objectness, image_shapes, num_anchors_per_
# type: (Tensor, Tensor, List[Tuple[int, int]], List[int]) -> Tuple[List[Tensor], List[Tensor]]
num_images = proposals.shape[0]
device = proposals.device
# do not backprop throught objectness
# do not backprop through objectness
objectness = objectness.detach()
objectness = objectness.reshape(num_images, -1)

Expand Down
2 changes: 1 addition & 1 deletion torchvision/models/feature_extraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class NodePathTracer(LeafModuleAwareTracer):
"""
NodePathTracer is an FX tracer that, for each operation, also records the
name of the Node from which the operation originated. A node name here is
a `.` seperated path walking the hierarchy from top level module down to
a `.` separated path walking the hierarchy from top level module down to
leaf operation or leaf module. The name of the top level module is not
included as part of the node name. For example, if we trace a module whose
forward method applies a ReLU module, the name for that node will simply
Expand Down