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

How to use model with 2 input parameters? #86

Closed
czater opened this issue Jan 13, 2018 · 2 comments
Closed

How to use model with 2 input parameters? #86

czater opened this issue Jan 13, 2018 · 2 comments

Comments

@czater
Copy link

czater commented Jan 13, 2018

I have style transfer model that have 2 input parameters - image and style number. Where can I add style number parameter? In .run there is only place fot image and completionHandler.

@czater
Copy link
Author

czater commented Jan 17, 2018

Anyone?

@bryant1410
Copy link
Member

Unfortunately, this is not currently supported.

This could be worked around with custom layers, but they can only be added in pre or post processing stages. Also changing the Start node with some custom one, but operations cannot return more than one output, so it's useless. Also, there's no way to take only some part of the input in the middle of the net, which would be useful if concatenating the 2 inputs.

As we don't have an ETA for this, what you can do is to fork the library and hardcode the different inputs for the different operations that use them.

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

No branches or pull requests

3 participants