When I use keras Tuner for tuning, tuner=RandomSearch(hypermodel=model,objective='mse',seed=42,max_trials=3,directory=r'E:\multivariate test\bayes',project_name=' helloworld') reported an AttributeError: module'tensorflow._api.v1.keras.metrics' has no attribute'Metric', error,how to solve this problem?
Asked
Active
Viewed 336 times