austinmoehle / wavernn

WaveRNN-based waveform generator & demo of TensorFlow CuDNN-GRU usage.
23 stars 8 forks source link

AttributeError: 'CudnnGRUSaveable' object has no attribute '_OpaqueParamsToCanonical' #6

Open allen20200111 opened 4 years ago

allen20200111 commented 4 years ago

AttributeError Traceback (most recent call last)

in 11 12 # Outputs from explicit-TF GRU. ---> 13 outputs_explicit = run_cudnn_gru_explicit(inp, INPUT_CHANNELS, RECURRENT_SIZE) 14 15 init = tf.global_variables_initializer() in run_cudnn_gru_explicit(inputs, input_channels, recurrent_size) 25 saveable = cudnn_rnn_ops.CudnnGRUSaveable( 26 kernel, 1, recurrent_size, input_channels) ---> 27 weights, biases = saveable._OpaqueParamsToCanonical() 28 29 # Build the individual weights and biases. AttributeError: 'CudnnGRUSaveable' object has no attribute '_OpaqueParamsToCanonical'