Categories
Misc

Trying to start TensorFlow from an intermediate layer with the output of previous layer that I have saved?

I am new to machine learning.

I got the intermediate result of layer 31 of my CNN using the following code:

conv2d = Model(inputs = self.model_ori.input, outputs= self.model_ori.layers[31].output) intermediateResult = conv2d.predict(img) 

Lets say I have this output saved, but 10 days later, I want to take this output and feed it back into the next layer (32nd) and get the final result.

Is that possible?

My model.summary():

https://pastebin.com/8y0mYahB

submitted by /u/lulzintosh123
[visit reddit] [comments]

Leave a Reply

Your email address will not be published. Required fields are marked *