Skip to content

Commit 7187da2

Browse files
committed
Update required tensorflow version
1 parent 9570e03 commit 7187da2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ For ResNet, see : https://github.com/calmisential/TensorFlow2.0_ResNet
2222
## Train
2323
1. Requirements:
2424
+ Python >= 3.6
25-
+ Tensorflow == 2.0.0
25+
+ Tensorflow == 2.1.0
2626
2. To train the network on your own dataset, you can put the dataset under the folder **original dataset**, and the directory should look like this:
2727
```
2828
|——original dataset

train.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def process_features(features):
101101

102102
if __name__ == '__main__':
103103
# GPU settings
104-
gpus = tf.config.experimental.list_physical_devices('GPU')
104+
gpus = tf.config.list_physical_devices("GPU")
105105
if gpus:
106106
for gpu in gpus:
107107
tf.config.experimental.set_memory_growth(gpu, True)

0 commit comments

Comments
 (0)