Could you check the shape of torch.cat((state, action)) and make sure it has the desired shape of [batch_size, 471]?
PS: you can post code snippets by wrapping them into three backticks ```, which makes debugging easier.