weiSupreme

Results 3 comments of weiSupreme

Follwing is my usage and I didn't meet the problem. public int Predict(Bitmap bmp) { var tensor = Bitmap2Ttensor(bmp); var runner = session.GetRunner(); string[] labels = File.ReadAllLines(labelPath); runner .AddInput(graph["image_tensor"][0], tensor)...

You can reference the issue #206: https://github.com/migueldeicaza/TensorFlowSharp/issues/206#issuecomment-359938105. In your case, you should add the GPU number in configuration in python. Good luck!