-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
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'`