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
相關文章
相關標籤/搜索