Skip to content

Commit 2eaf008

Browse files
committed
Update
1 parent eccb16c commit 2eaf008

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/quickstart.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,13 @@ You are done! Now you can train your model with your favorite framework, or as s
4141
for images, gt_masks in dataloader:
4242
4343
predicted_mask = model(image)
44-
loss = loss_fn(prediction, mask)
44+
loss = loss_fn(predicted_mask, gt_masks)
4545
4646
loss.backward()
4747
optimizer.step()
4848
4949
Check the following examples:
50-
- Finetuning notebook on Oxford Pet dataset with `PyTorch Lightning <https://github.com/qubvel/segmentation_models.pytorch/blob/master/examples/binary_segmentation_intro.ipynb>`_
51-
- Finetuning script for cloth segmentation with `PyTorch Lightning <https://github.com/ternaus/cloths_segmentation>`_
50+
51+
- Finetuning notebook on Oxford Pet dataset with `PyTorch Lightning <https://github.com/qubvel/segmentation_models.pytorch/blob/master/examples/binary_segmentation_intro.ipynb>`_ .. image:: https://colab.research.google.com/assets/colab-badge.svg
52+
:target: https://colab.research.google.com/github/qubvel/segmentation_models.pytorch/blob/master/examples/binary_segmentation_intro.ipynb
53+
- Finetuning script for cloth segmentation with `PyTorch Lightning <https://github.com/ternaus/cloths_segmentation>`_

0 commit comments

Comments
 (0)