Skip to content

Error on tf.contrib #17

Open
Open
@Kevinzhang027

Description

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'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions