Hi again,
I don’t know if I should create a new topic for this, but while testing SMC, it seems I can’t load the trace that was saved:
works fine: pm.save_trace(trace, directory=tracelocation, overwrite=True)
fails: trace = pm.load_trace(tracelocation, model=model)
File “[]/lib/python3.7/site-packages/pymc3/backends/ndarray.py”, line 81, in load_trace
straces.append(SerializeNDArray(subdir).load(model))
File “[]/lib/python3.7/site-packages/pymc3/backends/ndarray.py”, line 146, in load
metadata[’_stats’] = [{k: np.array(v) for k, v in stat.items()} for stat in metadata[’_stats’]]
TypeError: ‘NoneType’ object is not iterable
Is there a specific procedure to follow?
Cheers,
MV