You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Tutorials/Fine Tuning Torchvision Models.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ In this project, we are focusing on ResNet and AlexNet
13
13
14
14
Example usage:
15
15
16
-
* ResNet/DenseNet/MobileNet:
16
+
* ResNet:
17
17
```python
18
18
from cnn_finetune import make_model
19
19
model = make_model('resnet18', num_classes=2, pretrained=True)
@@ -34,7 +34,11 @@ Dense Convolutional Network (DenseNet), connects each layer to every other layer
34
34
```python
35
35
model = make_model('densenet161', num_classes=2, pretrained=True)
36
36
```
37
-
37
+
* MobileNet:
38
+
MobileNets are based on a streamlined architecture that uses depth-wise separable convolutions to build light weight deep neural networks. MobileNets is very efficient for mobile and embedded vision applications. This model will be helpful for the future implementation on hardware.
39
+
```python
40
+
model = make_model('mobilenet', num_classes=2, pretrained=True)
41
+
```
38
42
## Define Image Transforms
39
43
40
44
Having a large dataset is crucial for the performance of the deep learning model. However, we can improve the performance of the model by augmenting the data we already have.
@@ -45,7 +49,7 @@ The image transforms are made using the torchvision.transforms library.
0 commit comments