AttributeError: 'NpzFile' object has no attribute 'zip', numpy.load(path) 过程中报错

载入已有模型参数过程中,出现报错,代码及错误如下: def load_params(path, params): load parameters pp = numpy.load(path) for kk, vv in params.items(): if kk not in pp: warnings.warn('%s is not in the archive'%kk) continue
相关文章
相关标签/搜索