Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2a3444c

Browse files
author
Jessica Lin
authored
Update image links for all cards
1 parent 2b34085 commit 2a3444c

1 file changed

Lines changed: 15 additions & 16 deletions

File tree

recipes_source/recipes_index.rst

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -33,65 +33,65 @@ Recipes are bite-sized bite-sized, actionable examples of how to use specific Py
3333
.. customcarditem::
3434
:header: Loading data in PyTorch
3535
:card_description: Learn how to use PyTorch packages to prepare and load common datasets for your model.
36-
:image: _static/img/thumbnails/pytorch-logo-flat.png
36+
:image: ../_static/img/thumbnails/pytorch-logo-flat.png
3737
:link: ../recipes/recipes/loading_data_recipe.html
3838
:tags: Basics
3939

4040

4141
.. customcarditem::
4242
:header: Defining a Neural Network
4343
:card_description: Learn how to use PyTorch's torch.nn package to create and define a neural network the MNIST dataset.
44-
:image: _static/img/thumbnails/pytorch-logo-flat.png
44+
:image: ../_static/img/thumbnails/pytorch-logo-flat.png
4545
:link: ../recipes/recipes/defining_a_neural_network.html
4646
:tags: Basics
4747

4848
.. customcarditem::
4949
:header: What is a state_dict in PyTorch
5050
:card_description: Learn how state_dict objects, Python dictionaries, are used in saving or loading models from PyTorch.
51-
:image: _static/img/thumbnails/pytorch-logo-flat.png
51+
:image: ../_static/img/thumbnails/pytorch-logo-flat.png
5252
:link: ../recipes/recipes/what_is_state_dict.html
5353
:tags: Basics
5454

5555
.. customcarditem::
5656
:header: Saving and loading models for inference in PyTorch
5757
:card_description: Learn about the two approaches for saving and loading models for inference in PyTorch - via the state_dict and via the entire model.
58-
:image: _static/img/thumbnails/floppy.png
58+
:image: ../_static/img/thumbnails/floppy.png
5959
:link: ../recipes/recipes/saving_and_loading_models_for_inference.html
6060
:tags: Basics
6161

6262

6363
.. customcarditem::
6464
:header: Saving and loading a general checkpoint in PyTorch
6565
:card_description: Saving and loading a general checkpoint model for inference or resuming training can be helpful for picking up where you last left off. In this recipe, explore how to save and load multiple checkpoints.
66-
:image: _static/img/thumbnails/floppy.png
66+
:image: ../_static/img/thumbnails/floppy.png
6767
:link: ../recipes/recipes/saving_and_loading_a_general_checkpoint.html
6868
:tags: Basics
6969

7070
.. customcarditem::
7171
:header: Saving and loading multiple models in one file using PyTorch
7272
:card_description: In this recipe, learn how saving and loading multiple models can be helpful for reusing models that you have previously trained.
73-
:image: _static/img/thumbnails/floppy.png
73+
:image: ../_static/img/thumbnails/floppy.png
7474
:link: ../recipes/recipes/saving_multiple_models_in_one_file.html
7575
:tags: Basics
7676

7777
.. customcarditem::
7878
:header: Warmstarting model using parameters from a different model in PyTorch
7979
:card_description: Learn how warmstarting the training process by partially loading a model or loading a partial model can help your model converge much faster than training from scratch.
80-
:image: _static/img/thumbnails/pytorch-logo-flat.png
80+
:image: ../_static/img/thumbnails/pytorch-logo-flat.png
8181
:link: ../recipes/recipes/warmstarting_model_using_parameters_from_a_different_model.html
8282
:tags: Basics
8383

8484
.. customcarditem::
8585
:header: Saving and loading models across devices in PyTorch
8686
:card_description: Learn how saving and loading models across devices (CPUs and GPUs) is relatively straightforward using PyTorch.
87-
:image: _static/img/thumbnails/floppy.png
87+
:image: ../_static/img/thumbnails/floppy.png
8888
:link: ../recipes/recipes/save_load_across_devices.html
8989
:tags: Basics
9090

9191
.. customcarditem::
9292
:header: Zeroing out gradients in PyTorch
9393
:card_description: Learn when you should zero out graidents and how doing so can help increase the accuracy of your model.
94-
:image: _static/img/thumbnails/pytorch-logo-flat.png
94+
:image: ../_static/img/thumbnails/pytorch-logo-flat.png
9595
:link: ../recipes/recipes/zeroing_out_gradients.html
9696
:tags: Basics
9797

@@ -100,7 +100,7 @@ Recipes are bite-sized bite-sized, actionable examples of how to use specific Py
100100
.. customcarditem::
101101
:header: Custom Datasets, Transforms & Dataloaders
102102
:card_description: Learn how to leverage the PyTorch dataset API to easily create a custom dataset and custom dataloader.
103-
:image: _static/img/thumbnails/custom_dataset.png
103+
:image: ../_static/img/thumbnails/custom_dataset.png
104104
:link: ../recipes/recipes/custom_dataset_transforms_loader.html
105105
:tags: Data-Customization
106106

@@ -109,14 +109,14 @@ Recipes are bite-sized bite-sized, actionable examples of how to use specific Py
109109
.. customcarditem::
110110
:header: Model Interpretability using Captum
111111
:card_description: Learn how to use Captum attribute the predictions of an image classifier to their corresponding image features and visualize the attribution results.
112-
:image: _static/img/thumbnails/captum_teaser.png
112+
:image: ../_static/img/thumbnails/captum_teaser.png
113113
:link: ../recipes/recipes/Captum_Recipe.html
114114
:tags: Interpretability, Captum
115115

116116
.. customcarditem::
117117
:header: How to use TensorBoard with PyTorch
118118
:card_description: Learn basic usage of TensorBoard with PyTorch, and how to visualize data in TensorBoard UI
119-
:image: _static/img/thumbnails/pytorch-logo-flat.png
119+
:image: ../_static/img/thumbnails/pytorch-logo-flat.png
120120
:link: ../recipes/recipes/tensorboard_with_pytorch.html
121121
:tags: Interpretability, TensorBoard
122122

@@ -125,7 +125,7 @@ Recipes are bite-sized bite-sized, actionable examples of how to use specific Py
125125
.. customcarditem::
126126
:header: Dynamic Quantization
127127
:card_description: Apply dynamic quantization to a simple LSTM model.
128-
:image: _static/img/thumbnails/pixelated-cat.png
128+
:image: ../_static/img/thumbnails/pixelated-cat.png
129129
:link: ../recipes/recipes/dynamic_quantization.html
130130
:tags: Quantization, Text, Model-Optimization
131131

@@ -135,14 +135,14 @@ Recipes are bite-sized bite-sized, actionable examples of how to use specific Py
135135
.. customcarditem::
136136
:header: TorchScript for Deployment
137137
:card_description: Learn how to export your trained model in TorchScript format and how to load your TorchScript model in C++ and do inference.
138-
:image: _static/img/thumbnails/pytorch-logo-flat.png
138+
:image: ../_static/img/thumbnails/pytorch-logo-flat.png
139139
:link: ../recipes/recipes/torchscript_inference.html
140140
:tags: TorchScript
141141

142142
.. customcarditem::
143143
:header: Deploying with Flask
144144
:card_description: Learn how to use Flask, a lightweight web server, to quickly setup a web API from your trained PyTorch model.
145-
:image: _static/img/flask.png
145+
:image: ../_static/img/flask.png
146146
:link: ../recipes/recipes/deployment_with_flask.html
147147
:tags: Production, TorchScript
148148

@@ -160,4 +160,3 @@ Recipes are bite-sized bite-sized, actionable examples of how to use specific Py
160160

161161
</div>
162162

163-
.. .. galleryitem:: beginner/saving_loading_models.py

0 commit comments

Comments
 (0)