当前位置: 代码迷 >> 综合 >> 报错:FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated
详细解决方案
报错:FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated
热度:100 发布时间:2023-11-17 08:10:40.0
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)])