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: README.md
+34-2Lines changed: 34 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,28 @@
1
1
# EfficientNet PyTorch
2
2
3
+
### Update (June 29, 2019)
4
+
5
+
_Upgrade the pip package with_`pip install --upgrade efficientnet-pytorch`
6
+
7
+
This update adds easy model exporting ([#20](https://github.com/lukemelas/EfficientNet-PyTorch/issues/20)) and feature extraction ([#38](https://github.com/lukemelas/EfficientNet-PyTorch/issues/38)).
* Also: fixed a CUDA/CPU bug ([#32](https://github.com/lukemelas/EfficientNet-PyTorch/issues/32))
12
+
13
+
It is also now incredibly simple to load a pretrained model with a new number of classes for transfer learning:
14
+
```python
15
+
model = EfficientNet.from_pretrained('efficientnet-b1', num_classes=23)
16
+
```
17
+
18
+
3
19
### Update (June 23, 2019)
4
20
5
21
The B4 and B5 models are now available. Their usage is identical to the other models:
6
22
```python
7
23
from efficientnet_pytorch import EfficientNet
8
24
model = EfficientNet.from_pretrained('efficientnet-b4')
9
25
```
10
-
Upgrade the pip package with `pip install --upgrade efficientnet-pytorch`.
11
26
12
27
### Overview
13
28
This repository contains an op-for-op PyTorch reimplementation of [EfficientNet](https://arxiv.org/abs/1905.11946), along with pre-trained models and examples.
@@ -32,6 +47,7 @@ _Upcoming features_: In the next few days, you will be able to:
0 commit comments