源代码中存在错误
作者: SB-Moloo创建于 2023年11月29日更新于 2023年11月29日
In English: tensorlayer2.2.5 function _load_weights_from_hdf5_group_in_order() has errors in: layer_names = [n.decode('utf8') for n in f.attrs["layer_names"]]. Need to be modified to: layer_names = [n if isinstance(n, str) else n.decode('utf8') for n in f.attrs["layer_names"]]. in lines 2605 and 2617.
内容来源: tensorlayer/TensorLayer