You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although I'm on tf v2.16.2, Load-Options don't seem to be supported, so neither uwiz.models.load_model() nor StochasticSequential.load_model() nor native models.load_model() work:
issues
There are issues with loading and saving models, which are obviously related to deprecated APIs of Tensorflow and Keras.
examples
saving
This assert pops up and asks me to save as ".keras" (setting a save-format is deprecated).
uncertainty-wizard/uncertainty_wizard/models/_stochastic/_abstract_stochastic.py
Lines 203 to 211 in ec6600d
When removing this, I'm getting
uncertainty-wizard/uncertainty_wizard/models/_stochastic/_abstract_stochastic.py
Lines 218 to 219 in ec6600d
When removing these parameters, saving works... but I can't reload the model (JSON is shortened)
loading
Although I'm on tf v2.16.2,
Load-Options
don't seem to be supported, so neitheruwiz.models.load_model()
norStochasticSequential.load_model()
nor nativemodels.load_model()
work:uncertainty-wizard/uncertainty_wizard/models/_load_model.py
Line 72 in ec6600d
Gets me:
Actually, this is lacking
stochastic_mode
:uncertainty-wizard/uncertainty_wizard/models/stochastic_utils/layers.py
Lines 108 to 112 in ec6600d
Let's try:
Nope, didn't fix it. Sorry, I'm stuck.
environment
The text was updated successfully, but these errors were encountered: