我在学习深度学习的过程中,第一次导入github上的项目时遇到如下报错
深度知识追踪模型的链接
pycharm的提示和报错信息如下:
信息一:
DeprecationWarning: `np.float` is a deprecated alias for the builtin `float`. To silence this warning, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
dtype=np.float)
2023-09-21 19:13:07.394616: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
WARNING:tensorflow:Entity <function load_dataset.<locals>.<lambda> at 0x0000024CDE0FF5E8> could not be transformed and will be executed as-is. Please report this to the AutoGraph team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: No module named 'tensorflow_core.estimator'
信息二:
TypeError: Expected int32 passed to parameter 'depth' of op 'OneHot', got 7.0 of type 'float' instead. Error: Expected int32, got 7.0 of type 'float' instead.