Skip to content

Commit ed7a7f1

Browse files
committed
(nit) Fix <Tip> style in docs
1 parent ae0737f commit ed7a7f1

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

hfdocs/source/quickstart.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ Here, we load the pretrained `mobilenetv3_large_100` model.
2222
```
2323

2424
<Tip>
25-
Note: The returned PyTorch model is set to train mode by default, so you must call .eval() on it if you plan to use it for inference.
25+
26+
**Note:** The returned PyTorch model is set to train mode by default, so you must call `.eval()` on it if you plan to use it for inference.
27+
2628
</Tip>
2729

2830
## List Models with Pretrained Weights
@@ -151,7 +153,9 @@ Compose(
151153
```
152154

153155
<Tip>
154-
Note: Here, the pretrained model's config happens to be the same as the generic config we made earlier. This is not always the case. So, it's safer to use the data config to create the transform as we did here instead of using the generic transform.
156+
157+
**Note:** Here, the pretrained model's config happens to be the same as the generic config we made earlier. This is not always the case. So, it's safer to use the data config to create the transform as we did here instead of using the generic transform.
158+
155159
</Tip>
156160

157161
## Using Pretrained Models for Inference

timm/models/_factory.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,10 @@ def create_model(
5151
Lookup model's entrypoint function and pass relevant args to create a new model.
5252
5353
<Tip>
54-
**kwargs will be passed through entrypoint fn to ``timm.models.build_model_with_cfg()``
54+
55+
**kwargs will be passed through entrypoint fn to `timm.models.build_model_with_cfg()`
5556
and then the model class __init__(). kwargs values set to None are pruned before passing.
57+
5658
</Tip>
5759
5860
Args:

0 commit comments

Comments
 (0)