Traceback (most recent call last):
File "e:\Text to Speech\tacotron-master\train.py", line 90, in
g = Graph(); print("Training Graph loaded")
File "e:\Text to Speech\tacotron-master\train.py", line 27, in init
self.x, self.y, self.z, self.fnames, self.num_batch = get_batch()
File "e:\Text to Speech\tacotron-master\data_load.py", line 81, in get_batch
fpath, text_length, text = tf.train.slice_input_producer([fpaths, text_lengths, texts], shuffle=True)
AttributeError: module 'tensorflow._api.v2.train' has no attribute 'slice_input_producer'
Traceback (most recent call last): File "e:\Text to Speech\tacotron-master\train.py", line 90, in
g = Graph(); print("Training Graph loaded")
File "e:\Text to Speech\tacotron-master\train.py", line 27, in init
self.x, self.y, self.z, self.fnames, self.num_batch = get_batch()
File "e:\Text to Speech\tacotron-master\data_load.py", line 81, in get_batch
fpath, text_length, text = tf.train.slice_input_producer([fpaths, text_lengths, texts], shuffle=True)
AttributeError: module 'tensorflow._api.v2.train' has no attribute 'slice_input_producer'
can anyone plz help me from this problem