Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question]: How can I create a model with multiple outputs? #1229

Closed
flo22hsma opened this issue Jan 23, 2024 · 0 comments
Closed

[Question]: How can I create a model with multiple outputs? #1229

flo22hsma opened this issue Jan 23, 2024 · 0 comments

Comments

@flo22hsma
Copy link

flo22hsma commented Jan 23, 2024

Description

My goal is an object detection model with a classifier and a regression for the bounding box.
I have 2 outputs and I need an additional loss function for each. In Python I can compile with a list of 2 losses and in C# I can only pass one loss function as a parameter.
And for the fit method the same for the y value, I can only pass one array instead of a list of two arrays. I have one array for each output.
Does anyone have an idea for my problem?

Alternatives

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant