Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ from tensorflow.keras.layers import *
|
|
10 |
|
11 |
|
12 |
devices = tf.config.experimental.list_physical_devices('GPU')
|
13 |
-
tf.config.experimental.set_virtual_device_configuration(devices[0],tf.config.experimental.VirtualDeviceConfiguration(memory_limit=1024)])
|
14 |
|
15 |
labels= {'Subway': 0, 'Starbucks': 1,'McDonalds': 2,'Burger King': 3,'KFC': 4,'Other': 5}
|
16 |
HEIGHT,WIDTH=224,224
|
|
|
10 |
|
11 |
|
12 |
devices = tf.config.experimental.list_physical_devices('GPU')
|
13 |
+
tf.config.experimental.set_virtual_device_configuration(devices[0], [tf.config.experimental.VirtualDeviceConfiguration(memory_limit=1024)])
|
14 |
|
15 |
labels= {'Subway': 0, 'Starbucks': 1,'McDonalds': 2,'Burger King': 3,'KFC': 4,'Other': 5}
|
16 |
HEIGHT,WIDTH=224,224
|