Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HDF5ExtError Traceback (most recent call last)
- <ipython-input-14-1b6ee0ce3e6a> in <module>()
- 8 m.use_step_method(AdaptiveMetropolis, m.beta)
- 9 # run with given priors
- ---> 10 m.sample(niter, burn=burn, thin=thin)
- 11
- 12 # run second chain starting from MAP estimates
- /home/skipper/.local/lib/python2.7/site-packages/pymc/MCMC.pyc in sample(self, iter, burn, thin, tune_interval, tune_throughout, save_interval, burn_till_tuned, stop_tuning_after, verbose, progress_bar)
- 275
- 276 # Run sampler
- --> 277 Sampler.sample(self, iter, length, verbose)
- 278
- 279 def _loop(self):
- /home/skipper/.local/lib/python2.7/site-packages/pymc/Model.pyc in sample(self, iter, length, verbose)
- 241 if length is None:
- 242 length = iter
- --> 243 self.db._initialize(self._funs_to_tally, length)
- 244
- 245 # Put traces on objects
- /home/skipper/.local/lib/python2.7/site-packages/pymc/database/hdf5.pyc in _initialize(self, funs_to_tally, length)
- 450 for object in self.model.observed_stochastics:
- 451 if object.keep_trace is True:
- --> 452 setattr(table.attrs, object.__name__, object.value)
- 453
- 454 # Make sure the variables have a corresponding Trace instance.
- /usr/local/lib/python2.7/dist-packages/tables/attributeset.pyc in __setattr__(self, name, value)
- 450
- 451 # Set the attribute.
- --> 452 self._g__setattr(name, value)
- 453
- 454 # Log new attribute addition.
- /usr/local/lib/python2.7/dist-packages/tables/attributeset.pyc in _g__setattr(self, name, value)
- 393 value = stvalue[()]
- 394
- --> 395 self._g_setattr(self._v_node, name, stvalue)
- 396
- 397 # New attribute or value. Introduce it into the local
- /usr/local/lib/python2.7/dist-packages/tables/hdf5extension.so in tables.hdf5extension.AttributeSet._g_setattr (tables/hdf5extension.c:6470)()
- HDF5ExtError: HDF5 error back trace
- File "../../../src/H5A.c", line 927, in H5Awrite
- not an attribute
- End of HDF5 error back trace
- Can't set attribute 'dn_like' in node:
- /chain0/PyMCsamples (Table(0,)) 'PyMC samples'.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement