How to resolve numpy deprecation issue: AttributeError: module 'numpy' has no attribute 'str'. Did you mean: 'std'?
最近準備 Model Training Code 的時候, 發現幾個禮拜前的 Code 居然 Failed. 才發現一直沒仔細看 Warninig message.
FutureWarning: In the future np.str
will be defined as the corresponding NumPy scalar. (This may have returned Python scalars in past versions.