Skip to content

Exercise_17_CreatingNeuralNetwork does not work on latest tensorflow (2.4.1) #1

Open
@mkelly1495

Description

@mkelly1495

Environment:
python = 3.6.9
Keras = 2.4.3
nltk = 3.5
sklearn = 0.24.1
pandas = 1.1.5
tensorflow = 2.4.1

The nn.fit command fails with a TypeError: 'SparseTensor' object is not subscriptable error when executed on the latest docker image of tensorflow with pandas, nltk, and sklearn installed. I have attached the full stack trace.
err.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions