You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use coremltools to help accomplish combining some separate coreml models to form a bigger one.
For example, I have models: main.mlmodel, if_branch.mlmodel, else_branch.mlmodel, each have so many layers.
I want to make another mlmodel based on those three. And the flow should be like this:
Inputs include input to "main" and a condition input "cond".
Input feed to "main", then output of it will go to either "if_branch" or "else_branch" based on the other input "cond".
I tried using "NeuralNetworkBuilder" to construct the bigger model. But when constructing the if layer, what kind of method(api) should I use to move all layers in "if_branch.mlmodel" to the "ifbranch" of the if layer instead of rewriting each layer into "ifbranch"?
The text was updated successfully, but these errors were encountered:
xueyingxin
added
the
question
Response providing clarification needed. Will not be assigned to a release. (type)
label
Nov 12, 2024
❓Question
I want to use coremltools to help accomplish combining some separate coreml models to form a bigger one.
For example, I have models: main.mlmodel, if_branch.mlmodel, else_branch.mlmodel, each have so many layers.
I want to make another mlmodel based on those three. And the flow should be like this:
Inputs include input to "main" and a condition input "cond".
Input feed to "main", then output of it will go to either "if_branch" or "else_branch" based on the other input "cond".
I tried using "NeuralNetworkBuilder" to construct the bigger model. But when constructing the if layer, what kind of method(api) should I use to move all layers in "if_branch.mlmodel" to the "ifbranch" of the if layer instead of rewriting each layer into "ifbranch"?
The text was updated successfully, but these errors were encountered: