Traceback (most recent call last):


 "dmm.py", line 430, in <module>

main(args)


 "dmm.py", line 390, in main

epoch_nll += process_minibatch(epoch, which_mini_batch, shuffled_indices)


 "dmm.py", line 350, in process_minibatch

mini_batch_seq_lengths, annealing_factor)


 "/data/sls/u/sameerk/anaconda3/envs/nova-cpu-bedge/lib/python3.5/site-packages/pyro_ppl-0.1.2-py3.5.egg/pyro/infer/svi.py", line 97, in step

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


 "/data/sls/u/sameerk/anaconda3/envs/nova-cpu-bedge/lib/python3.5/site-packages/pyro_ppl-0.1.2-py3.5.egg/pyro/infer/trace_elbo.py", line 133, in loss_and_grads

for weight, model_trace, guide_trace, log_r in self._get_traces(model, guide, *args, **kwargs):


 "/data/sls/u/sameerk/anaconda3/envs/nova-cpu-bedge/lib/python3.5/site-packages/pyro_ppl-0.1.2-py3.5.egg/pyro/infer/trace_elbo.py", line 74, in _get_traces

guide_trace = poutine.trace(guide).get_trace(*args, **kwargs)


 "/data/sls/u/sameerk/anaconda3/envs/nova-cpu-bedge/lib/python3.5/site-packages/pyro_ppl-0.1.2-py3.5.egg/pyro/poutine/trace_poutine.py", line 250, in get_trace

self(*args, **kwargs)


 "/data/sls/u/sameerk/anaconda3/envs/nova-cpu-bedge/lib/python3.5/site-packages/pyro_ppl-0.1.2-py3.5.egg/pyro/poutine/trace_poutine.py", line 238, in __call__

ret = super(TracePoutine, self).__call__(*args, **kwargs)


 "/data/sls/u/sameerk/anaconda3/envs/nova-cpu-bedge/lib/python3.5/site-packages/pyro_ppl-0.1.2-py3.5.egg/pyro/poutine/poutine.py", line 147, in __call__

return self.fn(*args, **kwargs)


 "dmm.py", line 226, in guide

rnn_output = poly.pad_and_reverse(rnn_output, mini_batch_seq_lengths)


 "/data/sls/u/sameerk/repos/pyro/examples/dmm/polyphonic_data_loader.py", line 88, in pad_and_reverse

reversed_output = reverse_sequences_torch(rnn_output, seq_lengths)


 "/data/sls/u/sameerk/repos/pyro/examples/dmm/polyphonic_data_loader.py", line 78, in reverse_sequences_torch

else Variable(torch.LongTensor(time_slice))
RuntimeError: tried to construct a tensor from a int sequence, but found an item of type numpy.int64 at index (0)

Traceback (most recent call last):


 "setup.py", line 255, in <module>

'clean': clean,


 "/home/ahmad/miniconda3/lib/python3.7/site-packages/setuptools/__init__.py", line 161, in setup

return distutils.core.setup(**attrs)


 "/home/ahmad/miniconda3/lib/python3.7/distutils/core.py", line 148, in setup

dist.run_commands()


 "/home/ahmad/miniconda3/lib/python3.7/distutils/dist.py", line 966, in run_commands

self.run_command(cmd)


 "/home/ahmad/miniconda3/lib/python3.7/distutils/dist.py", line 985, in run_command

cmd_obj.run()


 "/home/ahmad/miniconda3/lib/python3.7/site-packages/setuptools/command/install.py", line 67, in run

self.do_egg_install()


 "/home/ahmad/miniconda3/lib/python3.7/site-packages/setuptools/command/install.py", line 109, in do_egg_install

self.run_command('bdist_egg')


 "/home/ahmad/miniconda3/lib/python3.7/distutils/cmd.py", line 313, in run_command

self.distribution.run_command(command)


 "/home/ahmad/miniconda3/lib/python3.7/distutils/dist.py", line 985, in run_command

cmd_obj.run()


 "/home/ahmad/miniconda3/lib/python3.7/site-packages/setuptools/command/bdist_egg.py", line 173, in run

cmd = self.call_command('install_lib', warn_dir=0)


 "/home/ahmad/miniconda3/lib/python3.7/site-packages/setuptools/command/bdist_egg.py", line 159, in call_command

self.run_command(cmdname)


 "/home/ahmad/miniconda3/lib/python3.7/distutils/cmd.py", line 313, in run_command

self.distribution.run_command(command)


 "/home/ahmad/miniconda3/lib/python3.7/distutils/dist.py", line 985, in run_command

cmd_obj.run()


 "/home/ahmad/miniconda3/lib/python3.7/site-packages/setuptools/command/install_lib.py", line 11, in run

self.build()


 "/home/ahmad/miniconda3/lib/python3.7/distutils/command/install_lib.py", line 107, in build

self.run_command('build_ext')


 "/home/ahmad/miniconda3/lib/python3.7/distutils/cmd.py", line 313, in run_command

self.distribution.run_command(command)


 "/home/ahmad/miniconda3/lib/python3.7/distutils/dist.py", line 985, in run_command

cmd_obj.run()


 "/home/ahmad/miniconda3/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 87, in run

_build_ext.run(self)


 "/home/ahmad/miniconda3/lib/python3.7/distutils/command/build_ext.py", line 340, in run

self.build_extensions()


 "/home/ahmad/miniconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 644, in build_extensions

build_ext.build_extensions(self)


 "/home/ahmad/miniconda3/lib/python3.7/distutils/command/build_ext.py", line 449, in build_extensions

self._build_extensions_serial()


 "/home/ahmad/miniconda3/lib/python3.7/distutils/command/build_ext.py", line 474, in _build_extensions_serial

self.build_extension(ext)


 "/home/ahmad/miniconda3/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 208, in build_extension

_build_ext.build_extension(self, ext)


 "/home/ahmad/miniconda3/lib/python3.7/distutils/command/build_ext.py", line 534, in build_extension

depends=ext.depends)


 "/home/ahmad/miniconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 473, in unix_wrap_ninja_compile

with_cuda=with_cuda)


 "/home/ahmad/miniconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1228, in _write_ninja_file_and_compile_objects

error_prefix='Error compiling objects for extension')


 "/home/ahmad/miniconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1524, in _run_ninja_build

raise RuntimeError(message)
RuntimeError: Error compiling objects for extension
