Hi I was just trying to exactly run your code but I bumped into an error at epoch=100

```
<ipython-input-48-6ce735b7273a> in <module>
2 model = Model()
3 for epoch in range(500):
----> 4 model.train(epoch)
<ipython-input-44-a793444e3f37> in train(self, epoch)
78 if epoch%100==0:
79 #self.save(epoch)
---> 80 self.conditional_generation(epoch)
81
82 def bivariate_normal_pdf(self, dx, dy):
<ipython-input-44-a793444e3f37> in conditional_generation(self, epoch)
142 hidden_cell = (hidden, cell)
143 # sample from parameters:
--> 144 s, dx, dy, pen_down, eos = self.sample_next_state()
145 #------
146 seq_x.append(dx)
<ipython-input-44-a793444e3f37> in sample_next_state(self)
180 sigma_y = self.sigma_y.data[0,0,pi_idx]
181 rho_xy = self.rho_xy.data[0,0,pi_idx]
--> 182 x,y = sample_bivariate_normal(mu_x,mu_y,sigma_x,sigma_y,rho_xy,greedy=False)
183 next_state = torch.zeros(5)
184 next_state[0] = x
<ipython-input-47-60080b137134> in sample_bivariate_normal(mu_x, mu_y, sigma_x, sigma_y, rho_xy, greedy)
8 cov = [[sigma_x * sigma_x, rho_xy * sigma_x * sigma_y],\
9 [rho_xy * sigma_x * sigma_y, sigma_y * sigma_y]]
---> 10 x = np.random.multivariate_normal(mean, cov, 1)
11 return x[0][0], x[0][1]
12
mtrand.pyx in numpy.random.mtrand.RandomState.multivariate_normal()
TypeError: ufunc 'add' output (typecode 'O') could not be coerced to provided output parameter (typecode 'd') according to the casting rule ''same_kind''```
I've looked into this error but I cannot quite grasp what is going on in here.
Would you minf if you help me out with this please?
```