成功解决\h5py\__init__.py:34: FutureWarning: Conversion of the second argument of issubdtype from `float
成功解決\h5py\__init__.py:34: FutureWarning: Conversion of the second argument of issubdtype from `float
?
?
?
?
目錄
解決問題
解決思路
解決方法
?
?
?
?
?
?
解決問題
\h5py\__init__.py:34: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
? from ._conv import register_converters as _register_converters
?
?
?
?
?
?
解決思路
此警告信息發生在h5py\__init__.py文件內
未來警告:將issubdtype的第二個參數從“float”轉換為“np.floating”被棄用。在未來,它將被視為`np.float64 == np.dtype(float).type`
? from ._conv import register_converters as _register_converters
?
?
?
?
?
解決方法
此信息提示為警告,而不是error,即使不處理也不會影響代碼編程的運行。如果想要去掉,可以更新庫至最新版本!
然后根據提示修改使用方法!
np.float64 == np.dtype(float).type
?
?
?
?
?
《新程序員》:云原生和全面數字化實踐50位技術專家共同創作,文字、視頻、音頻交互閱讀總結
以上是生活随笔為你收集整理的成功解决\h5py\__init__.py:34: FutureWarning: Conversion of the second argument of issubdtype from `float的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: ML之RFXGBoost:分别基于RF随
- 下一篇: TF之LiR:利用TF自定义一个线性分类