Skip to content

Lab 5.1 - error - "Negative dimensions are not allowed" #94

@violetwhitney

Description

@violetwhitney

When going through Lab 5.1 without changing any of the content, when I run the cell to build the keras model, I receive an error 'Negative dimensions are not allowed' referring to the hyper-parameter: 'num_hidden_1 = 1000'.

hyper-parameters
screen shot 2016-10-14 at 12 06 18 pm

build Keras model
screen shot 2016-10-14 at 12 06 31 pm

error
screen shot 2016-10-14 at 12 06 56 pm

I attempted adjusting the 'num_hidden_1 = 1000' in the hyper parameters with no success. Any value lower than '479' gives the error 'range exceeds valid bounds', while '480' gives an error of 'float division by zero' and any value between '481-1000' keeps the error of 'negative dimensions are not allowed'.

Is anyone else running into this issue?

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