SavedModelBundle.exporter("/data/").withSession(sess).withSignature(mySig).export
to save a model. It seems to save out fine (according to the cli tool). But when we're loading it from the Python side using tf.saved_model.load("/data/")
, we're getting the following error in ValueError: Feeds must be tensors
. Any ideas ?
GPUOptions gpu = ConfigProto.getDefaultInstance().getGpuOptions().toBuilder().setPerProcessGpuMemoryFraction(0.5).setAllowGrowth(true).build();
ConfigProto config = ConfigProto.newBuilder(ConfigProto.getDefaultInstance()).setLogDevicePlacement(true).mergeGpuOptions(gpu).build();