I'm trying to reload a previous trained TF Model with the Scala API. I checked that inside my my-model.meta file the variables collections is store inside a byte list.
Looking at the source code I found that here is where the kind of the collection is retrieve
And here I found out the kind associated to byte list is the number 2
My question is, the if (kind != 1) correct ? I expected if (kind != 2) than raise error.
Here is my error:
I'm trying to reload a previous trained TF Model with the Scala API. I checked that inside my my-model.meta file the variables collections is store inside a byte list.
Looking at the source code I found that here is where the kind of the collection is retrieve
And here I found out the kind associated to byte list is the number 2
My question is, the
if (kind != 1)
correct ? I expectedif (kind != 2)
than raise error.