Skip to content

Commit

Permalink
ResNet is not documented, nothing to link to
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjstewart committed Nov 25, 2021
1 parent 3fd9bcc commit 6d8a2aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 2 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@
("py:class", ".."),
# TODO: can't figure out why this isn't found
("py:class", "LightningDataModule"),
# Undocumented class
("py:class", "torchvision.models.resnet.ResNet"),
]


Expand Down
4 changes: 0 additions & 4 deletions torchgeo/models/resnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@

NUM_CLASSES = {"sentinel2": 17}

# https://github.com/pytorch/pytorch/issues/60979
# https://github.com/pytorch/pytorch/pull/61045
ResNet.__module__ = "torchvision.models"


def _resnet(
sensor: str,
Expand Down

0 comments on commit 6d8a2aa

Please sign in to comment.