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

Example doesnt work #7

Open
lzdh opened this issue Feb 8, 2018 · 6 comments
Open

Example doesnt work #7

lzdh opened this issue Feb 8, 2018 · 6 comments

Comments

@lzdh
Copy link

lzdh commented Feb 8, 2018

Hi,
'GLRM' runs really slow on my data, so I am trying the example, and found out: 1. the definition of missing1 is beyond the index bond. I corrected it and then it gives me the following error. Am I doing anything wrong?
screen shot 2018-02-08 at 19 13 35

@vsoch
Copy link

vsoch commented Feb 8, 2018

You are using a different version than the example intended, this looks like a bug that was fixed: pytorch/pytorch#2315 The solution is for the example to provide a container or requirements file to install the correct one, otherwise you have to just figure it out this way :)

@lzdh
Copy link
Author

lzdh commented Feb 9, 2018

I see! Thank you very much for the reply :)

@gokceneraslan
Copy link

gokceneraslan commented Aug 8, 2018

You are using a different version than the example intended, this looks like a bug that was fixed: pytorch/pytorch#2315 The solution is for the example to provide a container or requirements file to install the correct one, otherwise you have to just figure it out this way :)

Sorry @vsoch how is this related to pytorch? Just out of curiosity.

@vsoch
Copy link

vsoch commented Aug 8, 2018

Take a look at the error - Variable object has no attribute shape. It's the same issue with the version of the supporting library being used is the wrong one.

@gokceneraslan
Copy link

OK, yes I saw that but I just cannot see where the pytorch variable is defined. Neither in the example, nor in the GLMR code, I see any pytorch code. This is why I asked.

@vsoch
Copy link

vsoch commented Aug 9, 2018

Sorry to not be clear - it's not relevant to pytorch, but I was pointing out that they both have some same underlying module that is producing the same error, likely whatever is used for the Variable in both...

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

3 participants