最后发现,可以在pycharm中使用Import tensorflow,然后将点进出现的警告,进入dtype.py,修改对应行的代码,把np.dtype([("quint8", np.uint8, 1)])修改为np.dtype([("quint8", np.uint8, (1,))])
解决python调用TensorFlow时出现FutureWarning: Passing (type, 1) or ‘1type‘ as a synonym of type is deprecate
最新推荐文章于 2024-04-16 20:33:50 发布