-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Description
I try to run this colab https://github.com/catafest/colab_google/blob/master/catafest_0059.ipynb , but I got this error:
AttributeError Traceback (most recent call last)
<ipython-input-66-474e2af39ea2> in <cell line: 4>()
2 from hparams import create_hparams
3
----> 4 hparams = hparams.create_hparams()
5 hparams.sampling_rate = 22050
6 model = Tacotron2(hparams)
/content/tacotron2/hparams.py in create_hparams(hparams_string, verbose)
6 """Create model hyperparameters. Parse nondefault from given string."""
7
----> 8 hparams = tf.training.HParams(
9 ################################
10 # Experiment Parameters #
AttributeError: module 'tensorflow' has no attribute 'contrib'
I try to fix with this , but I got same error:
%cd tacotron2
!tf_upgrade_v2 --intree "/content/tacotron2" --outtree "/content/tacotron2_v2" --reportfile "/content/report.txt"
2024-03-30 20:36:11.334420: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2024-03-30 20:36:11.334480: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2024-03-30 20:36:11.335826: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2024-03-30 20:36:12.772044: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
Output directory '/content/tacotron2_v2' must not already exist.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels