We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3df1993 commit 225daaaCopy full SHA for 225daaa
docs/source-pytorch/advanced/transfer_learning.rst
@@ -164,9 +164,7 @@ Example: Computer Vision with ResNet
164
Here's a complete example showing how to use :class:`~lightning.pytorch.callbacks.BackboneFinetuning`
165
for computer vision:
166
167
-.. testcode::
168
- :skipif: not _TORCHVISION_AVAILABLE
169
-
+.. code-block:: python
170
import torch
171
import torch.nn as nn
172
import torchvision.models as models
0 commit comments