-
Notifications
You must be signed in to change notification settings - Fork 658
Open
Description
The following error arises due to contrib attribute is no longer exist in tensor flow 2.x and 1.x version has been depreciated
Populating the interactive namespace from numpy and matplotlib
/usr/local/lib/python3.11/dist-packages/IPython/core/magics/pylab.py:159: UserWarning: pylab import has clobbered these variables: ['Text']
`%matplotlib` prevents importing * from pylab and numpy
warn("pylab import has clobbered these variables: %s" % clobbered +
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
[<ipython-input-9-d7eab0cf9960>](https://localhost:8080/#) in <cell line: 0>()
24
25 from tacotron_pytorch import Tacotron
---> 26 from synthesis import tts as _tts
27
28 # For Audio/Display purposes
2 frames
[/content/tacotron_pytorch/hparams.py](https://localhost:8080/#) in <module>
3
4 # Default hyperparameters:
----> 5 hparams = tf.contrib.training.HParams(
6 # Comma-separated list of cleaners to run on text prior to training and eval. For non-English
7 # text, you may want to use "basic_cleaners" or "transliteration_cleaners" See TRAINING_DATA.md.
AttributeError: module 'tensorflow' has no attribute 'contrib'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels