How to use the prediction of default tensorflow session as input to new tensorflow session. I have a detection model, the detected objects should be passed as input to new model for classification, when i am trying to do I am getting resource exhaust error. sample code:
with detection_graph.as_default():
with tf.Session(graph=detection_graph) as sess:
while True:
sess.run([boxes, scores, classes, num_detections] )
""" I want to use the predicted values to another tensorflow session for classification"""
i.e
with tf.Session() as sess:
"Classification model"
"Pseudo code????"
Thanks