tf-trusted icon indicating copy to clipboard operation
tf-trusted copied to clipboard

Is there any example provided for testing

Open HydraZeng opened this issue 5 years ago • 4 comments

Hi,

I am trying to test tf-trusted with some simple cases, but I don't know how to start. I find a logistic regression from tf-encrypted. I want to test more cases, like mnist with cnn. However, I don't know how to fill the arguments, e.g., input_name and output_name.

Any suggestion?

HydraZeng avatar Dec 09 '19 06:12 HydraZeng

Hey there @HydraZeng,

In the README.md, there is a section about how to run a model found here. We don't have any better examples currently but if you're able to send your protobuf model file I could give you a hand choosing the right values for the input name and output name.

justin1121 avatar Dec 09 '19 17:12 justin1121

Thanks very much for your response.

If I want to run the mnist_model.pb in here, and the input is in here. What are the input name and output name.

HydraZeng avatar Dec 10 '19 02:12 HydraZeng

I learn that it can be retrieved from netron, and I succeed in running the model I provide above. Thanks a lot

HydraZeng avatar Dec 10 '19 02:12 HydraZeng

I am trying to run the same model and input mentioned in the above comment. After analyzing mnist_model.pb from netron browser, I am setting input_name as 'Placeholder' and output_name as 'fc2/add'. Can anyone confirm whether this is correct?

aanand300 avatar Nov 28 '21 21:11 aanand300