java-bert-predict icon indicating copy to clipboard operation
java-bert-predict copied to clipboard

where do you known the 'session.graph.get_tensor_by_name("Placeholder:0")' ?

Open yangjun023 opened this issue 7 years ago • 4 comments

in the code of bert model, there is no placeholder tensor, how do you known the tensor name of input_ids is "Placeholder:0"?

yangjun023 avatar Dec 12 '18 07:12 yangjun023

use tensorboard to inspect the graph

gameofdimension avatar Dec 12 '18 16:12 gameofdimension

KeyError: "The name 'Placeholder:0' refers to a Tensor which does not exist. The operation, 'Placeholder', does not exist in the graph."

mokundong avatar Dec 20 '18 08:12 mokundong

how can i use this bert model to tflite android app.?

MuruganR96 avatar Apr 09 '19 12:04 MuruganR96

Im getting the same error, what is the correction for the Bert model ? Thanks !!

marilenaoita avatar Sep 05 '19 13:09 marilenaoita