Is this your code? It looks differently from the official reinforcement learning tutorial 69.
I’m wondering how the error message is created, as obviously the arguments are missing, but also it seems you are trying to call multinominal on a tensor (probs in select_action), which is not a member of the tensor class.