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

TypeError occurs when running train.py #33

Open
lk-greenbird opened this issue Jul 16, 2020 · 0 comments
Open

TypeError occurs when running train.py #33

lk-greenbird opened this issue Jul 16, 2020 · 0 comments

Comments

@lk-greenbird
Copy link

Hi,
When I excute train.py, a TypeError occurs.It looks like this,"TypeError: indexing a tensor with an object of type list.".The Traceback refers to line 312 in train.py, "outputs, _, _ = net(x_seq, grid_seq,......)."(net = SocialModel(args)). And it also refers to some torch documents.
image
My environment includes python3.6 and pytorch0.1.12 on ubuntu16.04. I want to know weather this problem dues to the version of
pytorch. If not, can you tell me your environment which can excute this project successfully. Thank you!

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

1 participant