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

about train #5

Open
ycyinchao opened this issue Mar 18, 2023 · 6 comments
Open

about train #5

ycyinchao opened this issue Mar 18, 2023 · 6 comments

Comments

@ycyinchao
Copy link

Hello, I am very interested in this job. I tried to download the code deployment environment and train the model. I found the following errors:
image
I wonder if an error was reported due to incomplete code (indeed, the pi attribute was not found in pytorch)

@Zinn77
Copy link

Zinn77 commented Mar 20, 2023

That's because the version of tensorly is incorrect.

@que-y
Copy link

que-y commented Nov 19, 2023

That's because the version of tensorly is incorrect.

May I ask you what the correct version should be

@que-y
Copy link

que-y commented Nov 21, 2023

According to the suggestions of netizens, I resolved the problem that AttributeError: module 'torch' has no attribute 'pi' by replacing “import torch” with “import math import torch torch.pi=math.pi”.
However, there is another issue that AttributeError: module 'torch' has no attribute 'e'.
I haven't found a way to solve it.
Looking forward to your reply.

@2085924055
Copy link

I have the same problem. “AttributeError: module 'torch' has no attribute 'e'“ Has it been solved

@Guoli-w
Copy link

Guoli-w commented May 20, 2024

i think 'torch' has no attribute 'e' may be math.e solved

@miaowumonsyer
Copy link

Hello, I am very interested in this job. I tried to download the code deployment environment and train the model. I found the following errors: image I wonder if an error was reported due to incomplete code (indeed, the pi attribute was not found in pytorch)

请问大佬,训练的时候你遇到过tensorly版本和torch1.8(readme里推荐的torch版本)不匹配,需要提升torch版本呢的问题呢?我是提高了torch版本之后,报错说没有pi模块这个问题的

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

6 participants