kalebu commited on
Commit
6cbfe4a
·
1 Parent(s): 1af65c1

enabled eager execution

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -12,6 +12,8 @@ from tensorflow.keras.preprocessing.image import load_img, img_to_array
12
  from tensorflow.keras.models import Sequential
13
  from tensorflow.keras.layers import Dense, Dropout, Flatten, Conv2D, MaxPool2D, BatchNormalization, Input
14
 
 
 
15
  def get_waveform_label(file):
16
  #lab = tf.strings.split(file, os.path.sep)[-2]
17
  audio_binary = tf.io.read_file(file)
 
12
  from tensorflow.keras.models import Sequential
13
  from tensorflow.keras.layers import Dense, Dropout, Flatten, Conv2D, MaxPool2D, BatchNormalization, Input
14
 
15
+ tf.enable_eager_execution()
16
+
17
  def get_waveform_label(file):
18
  #lab = tf.strings.split(file, os.path.sep)[-2]
19
  audio_binary = tf.io.read_file(file)