Skip to content

Commit bb2e9fa

Browse files
committed
Added B4 and B5 models
1 parent 9a0d45f commit bb2e9fa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

efficientnet_pytorch/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def extract_features(self, inputs):
158158
drop_connect_rate = self._global_params.drop_connect_rate
159159
if drop_connect_rate:
160160
drop_connect_rate *= float(idx) / len(self._blocks)
161-
x = block(x) # , drop_connect_rate) # see https://github.com/tensorflow/tpu/issues/381
161+
x = block(x, drop_connect_rate)
162162

163163
return x
164164

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
1919
AUTHOR = 'Luke'
2020
REQUIRES_PYTHON = '>=3.5.0'
21-
VERSION = '0.1.0'
21+
VERSION = '0.2.0'
2222

2323
# What packages are required for this module to be executed?
2424
REQUIRED = [

0 commit comments

Comments
 (0)