记录一些跑tensorflow代码中遇到的问题

from keras.preprocessing.sequence import pad_sequences 标红

解决方法

AttributeError: module ‘tensorflow.compat.v2‘ has no attribute ‘internal

解决方法

ModuleNotFoundError: No module named ‘tensorflow.keras.utils.all_utils’

机器学习使用tokenizer.fit_on_texts报‘float‘ object has no attribute ‘lower‘错解决办法

解决方法

猜你喜欢

转载自blog.csdn.net/m0_43416592/article/details/129541359