keras保存的h5模型加載時出現“AttributeError: 'str' object has no attribute 'decode'”
問題說明 keras保存的h5模型,在使用load_model函數時,出現“AttributeError: ‘str’ object has no attribute 'decode’”問題。 ...
問題說明 keras保存的h5模型,在使用load_model函數時,出現“AttributeError: ‘str’ object has no attribute 'decode’”問題。 ...
解決辦法 1.關閉WSL wsl --shutdown 2.查看系統信息 wsl -l -v 顯示如下: NAME STATE VERSION * U ...