diff --git a/src/main/java/tensorflow/v1/Tensorflow1Interface.java b/src/main/java/tensorflow/v1/Tensorflow1Interface.java index ec4315862462321d6884f8ebc8f224d17ac7a574..a0af331fd58be6946174c86e1ef4e37c37825900 100644 --- a/src/main/java/tensorflow/v1/Tensorflow1Interface.java +++ b/src/main/java/tensorflow/v1/Tensorflow1Interface.java @@ -71,7 +71,7 @@ public class Tensorflow1Interface implements DeepLearningInterface byte[] byteGraph = model.metaGraphDef(); try { sig = MetaGraphDef.parseFrom(byteGraph).getSignatureDefOrThrow("serving_default"); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { + } catch (InvalidProtocolBufferException e) { throw new LoadModelException(); } }