Traceback (most recent call last):


 "/home/.../end-to-end-negotiator/src/reinforce.py", line 169, in <module>

main()


 "/home/.../end-to-end-negotiator/src/reinforce.py", line 163, in main

reinforce.run()


 "/home/.../end-to-end-negotiator/src/reinforce.py", line 51, in run

self.dialog.run(ctxs, self.logger)


 "/home/.../end-to-end-negotiator/src/dialog.py", line 171, in run

out = writer.write(max_words=words_left)


 "/home/.../end-to-end-negotiator/src/agent.py", line 1661, in write

_, lat_h, log_q_z = self.model.forward_prediction(self.cnt, self.mem_h, sample=self.train)


 "/home/.../end-to-end-negotiator/src/models/latent_clustering_model.py", line 541, in forward_prediction

z = q_z.multinomial().detach()
TypeError: multinomial() missing 1 required positional arguments: "num_samples"

Traceback (most recent call last):


 "C:\ProgramData\Anaconda3\lib\logging\__init__.py", line 992, in emit

msg = self.format(record)


 "C:\ProgramData\Anaconda3\lib\logging\__init__.py", line 838, in format

return fmt.format(record)


 "C:\ProgramData\Anaconda3\lib\logging\__init__.py", line 575, in format

record.message = record.getMessage()


 "C:\ProgramData\Anaconda3\lib\logging\__init__.py", line 338, in getMessage

msg = msg % self.args
TypeError: not all arguments converted during string formatting
