Skip to content

TFE example with multiple losses #159

Closed

Description

@theRealSuperMario

Is your feature request related to a problem? Please describe.
It looks like the TemplateIterator does not support to simply add a dictionary with all the losses as before and assign optimizers to them automatically.

Describe the solution you'd like
I would like to be able to use the old interface.
losses = {"encoder_1" : criterion1, "encoder_2" : criterion2, ...}

Describe alternatives you've considered
An alternative would be to just build the behavior myself, although I liked edflow taking care of this

Additional context
Add any other context or screenshots about the feature request here.

Activity

  1. theRealSuperMario commented on Feb 14, 2020

    @theRealSuperMario
    CollaboratorAuthor

    fixed in #251

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

Metadata

Metadata

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