Open phitoduck opened 1 year ago
Hi, @phitoduck . Thank you for your good question.
Unfortunately, for now, tf-keras-vis
does NOT support returning two results at a time that are the model output and the visualized image.
However, I'm going to support it in the next version.
Thanks!
That is excellent! Thank you!
Hi there,
We're attempting to use
tf-keras-vis
"in production". We want to create a REST API that takes in an image and returns two things at once:Currently, we have to do the inference two times: once to compute (1) and once to compute (2). Inference is slow, so we'd like to cut our latency in half by computing (1) and (2) in the same pass through the model.
Is this possible?
I was considering making a fork of this repo. I saw that your
Scorecam
class uses the method described in this SO answer to create a newkeras.Model
object with all but the last layer of the model used inScorecam
.Would it be possible to use a similar method to create yet another
keras.Model
that only has the last layer of our model? That way, we could