Deep-Learning-with-TensorFlow-book
Deep-Learning-with-TensorFlow-book copied to clipboard
11.5代码运行出错对应ch11-循环神经网络
11.5代码运行出错,对应ch11-循环神经网络下的sentiment_analysis_cell.py
model.compile(optimizer=optimizers.RMSprop(0.001),
loss=losses.BinaryCrossentropy(),
metrics=['accuracy'],
experimental_run_tf_function=False) # 你可以尝试加上这个
这样就不会报错了,在main函数里
我还是会遇到这个error:call() takes 2 positional arguments but 3 were given
我还是会遇到这个error:call() takes 2 positional arguments but 3 were given
好久没看了,等一个大佬解答。🙃