Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
is compile really necessary when we predict using a pretrained model? #3074
I search a result from stackoverflow:
it says you must compile before predict,but in my current keras version,I remove the compile code block,and then also get a good predict result.
from my opinion,when we predict ,we just do forward-propogation rather than back-propogation,so we dont need know what the loss is and how the loss is comprised of.so for a better architecture design,we shouldnt need "compile".
so finally,i want to confirm whether we need "complie" before we "predict"??yes or no