Is there any other option for the code below? It keeps raising an error.
ManiGaussian/third_party/YARR/yarr/runners/offline_train_runner.py line 391 d = pickle.load(f)
# Here we fake a mini store (buffer)
store = {store_element.name: {}
for store_element in self._storage_signature}
if start_index % self._replay_capacity < end_index % self._replay_capacity:
for i in range(start_index, end_index):
with open(join(self._save_dir, '%d.replay' % i), 'rb') as f:
d = pickle.load(f)
# FIXME: _pickle.UnpicklingError: invalid load key, '\x00' # FIXME: replay file 9656
for k, v in d.items():
store[k][i] = v
Is there any other option for the code below? It keeps raising an error.
ManiGaussian/third_party/YARR/yarr/runners/offline_train_runner.py
line 391d = pickle.load(f)