Skip to content

Unable to create model #4

@VibhuAg

Description

@VibhuAg

I got to the point in the course where I was instructed to create a model using this code:
model = canaro.models.createSimpsonsModel(IMG_SIZE=IMG_SIZE, channels=channels, output_dim=len(characters), loss='binary_crossentropy', decay=1e-7, learning_rate=0.001, momentum=0.9, nesterov=True)

But I received this error:
`---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
in
2 model = canaro.models.createSimpsonsModel(IMG_SIZE=IMG_SIZE, channels=channels, output_dim=len(characters),
3 loss='binary_crossentropy', decay=1e-7, learning_rate=0.001, momentum=0.9,
----> 4 nesterov=True)

TypeError: createSimpsonsModel() got an unexpected keyword argument 'loss'`

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