建立并训练了人工神经网络模型。现在我想装重物。我用了estimator.load_weights(checkpoint_path).从那以后,我就开始犯错误了。
AttributeError: KerasRegressor对象没有属性“load_weights”
当os.path.dirname(checkpoint_path) =“_1/cp.ckpt”,checkpoint_dir =估值器= KerasRegressor(build_fn=base_model,epochs=1000,batch_size=10,verbose=1)是完全正确的。
https://stackoverflow.com/questions/62995498
复制相似问题