Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on tf.contrib #17

Open
Kevinzhang027 opened this issue Jan 5, 2023 · 0 comments
Open

Error on tf.contrib #17

Kevinzhang027 opened this issue Jan 5, 2023 · 0 comments

Comments

@Kevinzhang027
Copy link

I could not get to fix with tf.contrib when the tensorflow version is 2.5. Is there a way to get that working? Thanks!

kevinzhang@Kevins-MacBook-Pro-4 musicgenerator % python main.py
Traceback (most recent call last):
File "/Users/kevinzhang/MusicGenerator/main.py", line 24, in
import deepmusic
File "/Users/kevinzhang/MusicGenerator/deepmusic/init.py", line 3, in
from deepmusic.composer import Composer
File "/Users/kevinzhang/MusicGenerator/deepmusic/composer.py", line 34, in
from deepmusic.model import Model
File "/Users/kevinzhang/MusicGenerator/deepmusic/model.py", line 25, in
from deepmusic.keyboardcell import KeyboardCell
File "/Users/kevinzhang/MusicGenerator/deepmusic/keyboardcell.py", line 28, in
class KeyboardCell(tf.contrib.rnn.RNNCell):
AttributeError: module 'tensorflow' has no attribute 'contrib'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant