Relative Content

Tag Archive for pythonconv-neural-network

no metrics are built error while training a model using cnn python

the error which is being thrown WARNING:absl:Compiled the loaded model, but the compiled metrics have yet to be built. model.compile_metrics will be empty until you train or evaluate the model.
i tried chatgpt and google but didn’t find a solution
i saw a solution saying try dummy prediction so it’ll force the model to build metrics but i couldn’t figure it out
the code is as follows