报错:FutureWarning: Passing (type, 1) or ‘1type’ as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / ‘(1,)type’.
np_resource = np.dtype([(“resource”, np.ubyte, 1)])
由于numpy版本过高导致的,安装低版本的numpy
例如:pip install numpy==1.16.0
源自
运行tensorflow报错
最新推荐文章于 2023-10-31 13:24:17 发布