Skip to content

Commit 225daaa

Browse files
committed
fix docs
1 parent 3df1993 commit 225daaa

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/source-pytorch/advanced/transfer_learning.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,7 @@ Example: Computer Vision with ResNet
164164
Here's a complete example showing how to use :class:`~lightning.pytorch.callbacks.BackboneFinetuning`
165165
for computer vision:
166166

167-
.. testcode::
168-
:skipif: not _TORCHVISION_AVAILABLE
169-
167+
.. code-block:: python
170168
import torch
171169
import torch.nn as nn
172170
import torchvision.models as models

0 commit comments

Comments
 (0)