可以在pycharm中使用Import tensorflow,然后将点进出现的警告,进入dtype.py,修改对应行的代码,把np.dtype([(“quint8”, np.uint8, 1)])修改为np.dtype([(“quint8”, np.uint8, (1,))])就解决了,如图:
修改为:
TensorFlow出现FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecate
最新推荐文章于 2022-10-12 18:55:28 发布