记录改错过程
原代码
with open(cached_path, "rb") as reader:
features = pickle.load(reader)
运行报错
_pickle.UnpicklingError: invalid load key, ‘{’.
改为:
with open(cached_path, "rb"
记录改错过程
原代码
with open(cached_path, "rb") as reader:
features = pickle.load(reader)
运行报错
_pickle.UnpicklingError: invalid load key, ‘{’.
改为:
with open(cached_path, "rb"