-
Notifications
You must be signed in to change notification settings - Fork 535
How to train model that takes mutiple tensors as input #939
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
Comments
Yes, model can be compiled but cannot be used. |
Yes, please. |
The issues of tf.net have been delayed for a long time because short of hands. I'd like to help on this problem. What I understand is that there is a compiled |
Yes, and model.predict too |
OK. I'll try to implement it and I'll tell you once I complete it. |
I code a model for testing which takes 2 differnt tensors as input as follows:
Here I construct a Tensors with 2 tensor, which is assigned to the inputs of model. This model can be compiled without problems. Then I try to predict by this model:
Here I got an exception
System.Collections.Generic.KeyNotFoundException:“The given key '3' was not present in the dictionary.”
.Did I make a mistake or is it a bug? Many thanks.The text was updated successfully, but these errors were encountered: