Path: blob/master/notebooks/tacotron2_inference.ipynb
1558 views
Kernel: Python 3
In [1]:
In [2]:
Out[2]:
HBox(children=(FloatProgress(value=0.0, description='Downloading', max=3568.0, style=ProgressStyle(description…
In [3]:
In [4]:
Out[4]:
HBox(children=(FloatProgress(value=0.0, description='Downloading', max=127975304.0, style=ProgressStyle(descri…
HBox(children=(FloatProgress(value=0.0, description='Downloading', max=4027.0, style=ProgressStyle(description…
In [5]:
Save to Pb
In [7]:
Out[7]:
WARNING:tensorflow:Skipping full serialization of Keras layer <tensorflow_tts.models.tacotron2.TFTacotronLocationSensitiveAttention object at 0x7fcd904c7a10>, because it is not built.
WARNING:tensorflow:From /home/lap13548/anaconda3/envs/tensorflow-tts/lib/python3.7/site-packages/tensorflow/python/training/tracking/tracking.py:111: Model.state_updates (from tensorflow.python.keras.engine.training) is deprecated and will be removed in a future version.
Instructions for updating:
This property should not be used in TensorFlow 2.0, as updates are applied automatically.
WARNING:tensorflow:From /home/lap13548/anaconda3/envs/tensorflow-tts/lib/python3.7/site-packages/tensorflow/python/training/tracking/tracking.py:111: Layer.updates (from tensorflow.python.keras.engine.base_layer) is deprecated and will be removed in a future version.
Instructions for updating:
This property should not be used in TensorFlow 2.0, as updates are applied automatically.
INFO:tensorflow:Assets written to: ./test_saved/assets
Load and Inference
In [8]:
Out[8]:
WARNING:tensorflow:Importing a function (__inference_batch_norm_._2_layer_call_and_return_conditional_losses_10690) with ops with custom gradients. Will likely fail if a gradient is requested.
WARNING:tensorflow:Importing a function (__inference_batch_norm_._1_layer_call_and_return_conditional_losses_31114) with ops with custom gradients. Will likely fail if a gradient is requested.
WARNING:tensorflow:Importing a function (__inference_batch_norm_._3_layer_call_and_return_conditional_losses_31344) with ops with custom gradients. Will likely fail if a gradient is requested.
WARNING:tensorflow:Importing a function (__inference_batch_norm_._3_layer_call_and_return_conditional_losses_17482) with ops with custom gradients. Will likely fail if a gradient is requested.
WARNING:tensorflow:Importing a function (__inference_batch_norm_._2_layer_call_and_return_conditional_losses_31229) with ops with custom gradients. Will likely fail if a gradient is requested.
WARNING:tensorflow:Importing a function (__inference_batch_norm_._3_layer_call_and_return_conditional_losses_10896) with ops with custom gradients. Will likely fail if a gradient is requested.
WARNING:tensorflow:Importing a function (__inference_batch_norm_._1_layer_call_and_return_conditional_losses_17070) with ops with custom gradients. Will likely fail if a gradient is requested.
WARNING:tensorflow:Importing a function (__inference_batch_norm_._2_layer_call_and_return_conditional_losses_30654) with ops with custom gradients. Will likely fail if a gradient is requested.
WARNING:tensorflow:Importing a function (__inference_batch_norm_._1_layer_call_and_return_conditional_losses_30539) with ops with custom gradients. Will likely fail if a gradient is requested.
WARNING:tensorflow:Importing a function (__inference_batch_norm_._0_layer_call_and_return_conditional_losses_30999) with ops with custom gradients. Will likely fail if a gradient is requested.
WARNING:tensorflow:Importing a function (__inference_batch_norm_._4_layer_call_and_return_conditional_losses_17688) with ops with custom gradients. Will likely fail if a gradient is requested.
WARNING:tensorflow:Importing a function (__inference_batch_norm_._3_layer_call_and_return_conditional_losses_30769) with ops with custom gradients. Will likely fail if a gradient is requested.
WARNING:tensorflow:Importing a function (__inference_batch_norm_._2_layer_call_and_return_conditional_losses_17276) with ops with custom gradients. Will likely fail if a gradient is requested.
WARNING:tensorflow:Importing a function (__inference_batch_norm_._4_layer_call_and_return_conditional_losses_30884) with ops with custom gradients. Will likely fail if a gradient is requested.
WARNING:tensorflow:Importing a function (__inference_batch_norm_._4_layer_call_and_return_conditional_losses_31459) with ops with custom gradients. Will likely fail if a gradient is requested.
WARNING:tensorflow:Importing a function (__inference_batch_norm_._4_layer_call_and_return_conditional_losses_11102) with ops with custom gradients. Will likely fail if a gradient is requested.
WARNING:tensorflow:Importing a function (__inference_batch_norm_._0_layer_call_and_return_conditional_losses_10278) with ops with custom gradients. Will likely fail if a gradient is requested.
WARNING:tensorflow:Importing a function (__inference_batch_norm_._0_layer_call_and_return_conditional_losses_16864) with ops with custom gradients. Will likely fail if a gradient is requested.
WARNING:tensorflow:Importing a function (__inference_batch_norm_._0_layer_call_and_return_conditional_losses_30424) with ops with custom gradients. Will likely fail if a gradient is requested.
WARNING:tensorflow:Importing a function (__inference_batch_norm_._1_layer_call_and_return_conditional_losses_10484) with ops with custom gradients. Will likely fail if a gradient is requested.
In [9]:
In [10]:
In [11]:
Out[11]:
In [12]:
Out[12]:
Let inference other input to check dynamic shape
In [13]:
In [14]:
In [15]:
Out[15]:
In [16]:
Out[16]: