Advertisement
Guest User

Untitled

a guest
Sep 1st, 2014
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.26 KB | None | 0 0
  1. HDF5ExtError                              Traceback (most recent call last)
  2. <ipython-input-14-1b6ee0ce3e6a> in <module>()
  3.       8     m.use_step_method(AdaptiveMetropolis, m.beta)
  4.       9     # run with given priors
  5. ---> 10     m.sample(niter, burn=burn, thin=thin)
  6.      11
  7.      12     # run second chain starting from MAP estimates
  8.  
  9. /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)
  10.     275
  11.     276         # Run sampler
  12. --> 277         Sampler.sample(self, iter, length, verbose)
  13.     278
  14.     279     def _loop(self):
  15.  
  16. /home/skipper/.local/lib/python2.7/site-packages/pymc/Model.pyc in sample(self, iter, length, verbose)
  17.     241         if length is None:
  18.     242             length = iter
  19. --> 243         self.db._initialize(self._funs_to_tally, length)
  20.     244
  21.     245         # Put traces on objects
  22.  
  23. /home/skipper/.local/lib/python2.7/site-packages/pymc/database/hdf5.pyc in _initialize(self, funs_to_tally, length)
  24.     450         for object in self.model.observed_stochastics:
  25.     451             if object.keep_trace is True:
  26. --> 452                 setattr(table.attrs, object.__name__, object.value)
  27.     453
  28.     454        # Make sure the variables have a corresponding Trace instance.
  29.  
  30. /usr/local/lib/python2.7/dist-packages/tables/attributeset.pyc in __setattr__(self, name, value)
  31.     450
  32.     451         # Set the attribute.
  33. --> 452         self._g__setattr(name, value)
  34.     453
  35.     454         # Log new attribute addition.
  36.  
  37. /usr/local/lib/python2.7/dist-packages/tables/attributeset.pyc in _g__setattr(self, name, value)
  38.     393             value = stvalue[()]
  39.     394
  40. --> 395         self._g_setattr(self._v_node, name, stvalue)
  41.     396
  42.     397         # New attribute or value. Introduce it into the local
  43.  
  44. /usr/local/lib/python2.7/dist-packages/tables/hdf5extension.so in tables.hdf5extension.AttributeSet._g_setattr (tables/hdf5extension.c:6470)()
  45.  
  46. HDF5ExtError: HDF5 error back trace
  47.  
  48.   File "../../../src/H5A.c", line 927, in H5Awrite
  49.     not an attribute
  50.  
  51. End of HDF5 error back trace
  52.  
  53. Can't set attribute 'dn_like' in node:
  54. /chain0/PyMCsamples (Table(0,)) 'PyMC samples'.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement