Showing results for 
Search instead for 
Did you mean: 

Running a Tensorflow model in NI Vision Dev. Module 2018

Go to solution

I am trying to test a signal processing model trained with Tensorflow using the Deep Learning from NI Vision Development Module 2018. I loaded the model with IMAQ DL Model Create function and now I want to use it with an array dataset with IMAQ DL Model Run, but I do not succeed to find the “Output Model Names” of the model required by the function. I tried to find it with model,input in Tensorflow, but the item it returns does not fit the Labview function. Can anybody help me? Thank you.

0 Kudos
Message 1 of 4
Accepted by topic author cfosalau

Firstly, you need to to freeze your model weights in .pb format as described here


To get the model input output names, run the following commands after you define the model:


print('inputs: ', [ for input in model.inputs])
print('outputs: ', [ for output in model.outputs])
PS. I use above commands when defining my model in Keras.
Message 2 of 4

great! It works! Thank you very much, BeeRio.

0 Kudos
Message 3 of 4

Glad it worked. You can mark that as solution.


0 Kudos
Message 4 of 4