Traceback (most recent call last):


 "/usr/lib/python3.5/pdb.py", line 1661, in main

pdb._runscript(mainpyfile)


 "/usr/lib/python3.5/pdb.py", line 1542, in _runscript

self.run(statement)


 "/usr/lib/python3.5/bdb.py", line 431, in run

exec(cmd, globals, locals)


 "<string>", line 1, in <module>


 "/home/rohits/Uber/pyro-main/tests/integration_tests/test_empty_model_guide.py", line 1, in <module>

import torch


 "/home/rohits/Uber/pyro-main/pyro/infer/svi.py", line 98, in step

loss = self.loss_and_grads(self.model, self.guide, *args, **kwargs)


 "/home/rohits/Uber/pyro-main/pyro/infer/elbo.py", line 65, in loss_and_grads

return self.which_elbo.loss_and_grads(model, guide, *args, **kwargs)


 "/home/rohits/Uber/pyro-main/pyro/infer/trace_elbo.py", line 164, in loss_and_grads

elbo += (weight * elbo_particle).data.sum()
AttributeError: 'float' object has no attribute 'data'

Traceback (most recent call last):


 "kaldigstserver/worker.py", line 419, in <module>

main()


 "kaldigstserver/worker.py", line 411, in main

decoder_pipeline = DecoderPipeline(conf)


 "/home/louis/Workspace/kaldi-gstreamer-server/kaldigstserver/decoder.py", line 25, in __init__

self.create_pipeline(conf)


 "/home/louis/Workspace/kaldi-gstreamer-server/kaldigstserver/decoder.py", line 57, in create_pipeline

self.appsrc.set_property("is-live", True)
AttributeError: 'NoneType' object has no attribute 'set_property'
