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
Some of this I can do, but now with TF2 being the standard (no frozen inference graph), it is difficult to proceed with building models in the old standard.
Just want to know if there are any plans as I cant find anything in the documentation that matches this use case from python.
Thankyou for your direction. I'm just not sure I understand how it works. Are there any other examples or further explanation on how to do this?
Is it just a matter of setting keras.Input(shape: 2) to be the same shape as what I would input into my own model or is there more to it than that?
I note that when I export my tf built model, I see this warning:
WARNING:tensorflow:Skipping full serialization of Keras layer <keras.layers.core.lambda_layer.Lambda object at 0x7f5c9c357910>, because it is not built.
W0124 21:12:34.170078 140039099339136 save_impl.py:71] Skipping full serialization of Keras layer <keras.layers.core.lambda_layer.Lambda object at 0x7f5c9c357910>, because it is not built.
Should I still be able to build / convert my model in this suggested way?
Also, I really would like to know the answer to my first question:
Activity
Esther2013 commentedon Jan 7, 2022
I'm using below alternate solution:
IamSierraCharlie commentedon Jan 7, 2022
Thanks for your response.
Can you elaborate on "BuildModel()"
Are you using this function? or something like it?
as found here? https://github.com/SciSharp/TensorFlow.NET/blob/425b258ccebf10e21f033e5c11da7a64bfc21a9f/test/TensorFlowNET.Keras.UnitTest/MultiThreadsTest.cs
Esther2013 commentedon Jan 7, 2022
Correct.
IamSierraCharlie commentedon Jan 24, 2022
Thankyou for your direction. I'm just not sure I understand how it works. Are there any other examples or further explanation on how to do this?
Is it just a matter of setting
keras.Input(shape: 2)to be the same shape as what I would input into my own model or is there more to it than that?I note that when I export my tf built model, I see this warning:
Should I still be able to build / convert my model in this suggested way?
Also, I really would like to know the answer to my first question:
are there plans to implement TF2 functions?