Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError('Expected 2 or more dimensions (got 1)',), <traceback object at 0x7f04e0d0d288>) #1

Open
yjyGo opened this issue Mar 14, 2019 · 1 comment

Comments

@yjyGo
Copy link

yjyGo commented Mar 14, 2019

Can you help me? I can't solve this problem.

/home/yangjy/PycharmProjects/An-Automated-Traditional-Chinese-Dialogue-Generating-System-master/model.py:99: UserWarning: Implicit dimension choice for log_softmax has been deprecated. Change the call to include dim=X as an argument.
output = F.log_softmax(self.out(output[0]))
(<class 'ValueError'>, ValueError('Expected 2 or more dimensions (got 1)',), <traceback object at 0x7f04e0d0d288>)
Get stopped, saving the latest model

@GBLin5566
Copy link
Owner

Hi @yangjingyingGo , what's your Pytorch version ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants