AttributeError: 'str' object has no attribute 'decode' - Keras Version Error Resolution
The error message suggests that the ///'keras/_version///' attribute is already a string and does not need to be decoded. You can simply access the attribute as follows://n//n//noriginal/_keras/_version = f.attrs['keras/_version']//n//n//nMake sure that ///'f///' is a valid object with the ///'attrs///' attribute, and the ///'keras/_version///' attribute exists within it.
原文地址: https://www.cveoy.top/t/topic/qfzl 著作权归作者所有。请勿转载和采集!