Skip to content

I get "TypeError: 'NoneType' object is not callable" when train model #26

Description

@KhizarAziz

Hi, Thankyou for the code,
When i run the code, everything works totally fine except this,

When i execute this line,
models.fit(train_gen, steps_per_epoch=len(trainset) // batch_size, epochs=250, callbacks=callbacks, validation_data=validation_gen, validation_steps=len(testset) // batch_size * 3)

i get this error:
Screen Shot 2020-10-31 at 5 16 05 AM

TypeError: 'NoneType' object is not callable`

Kindly help with this, or please guide to a direction where i can debug the code and solve the issue, i shall be highly thankful.

Activity

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

Metadata

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