Skip to content

BaseModel Compile Multiple Loss Confusion #164

@adstep

Description

@adstep

I'm confused how to call the Compile method with multiple losses.

The method takes a string as a parameter for the loss.

From the method documentation I can see:

String (name of objective function) or objective function. See losses. If the model has multiple outputs, you can use a different loss on each output by passing a dictionary or a list of losses. The loss value that will be minimized by the model will then be the sum of all individual losses.

How are we expected to pass a dictionary or a list? Is there a custom format for the string?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions