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

AttributeError: module 'd2l.torch' has no attribute 'train_ch3' #2557

Open
WILLSONXWX opened this issue Aug 30, 2023 · 5 comments
Open

AttributeError: module 'd2l.torch' has no attribute 'train_ch3' #2557

WILLSONXWX opened this issue Aug 30, 2023 · 5 comments
Labels

Comments

@WILLSONXWX
Copy link

Hi there,
I could not run train_ch3 even at the start of the chapter about softmax. May I know is it because I have the wrong version of d2l? and which version should I have for the lesson

@liuyuxivapor
Copy link

I v got the same problem...

@Wananrd
Copy link

Wananrd commented Oct 1, 2023

I meet the same problem at the chapter about MLP.

@AnirudhDagar
Copy link
Member

Please pip install d2l==0.17.6 to use older version of d2l which has these saved functions. In the latest version, we refactored the code and removed them.

@gab-chen
Copy link
Contributor

@WILLSONXWX Does the problem still exist? I ran the latest colab notebook of chapter 4.1 about softmax. It ran as expected.

@Ray7788
Copy link

Ray7788 commented Dec 30, 2023

Hi there, I solved this problem with chapter 4.1 MLP-scratch, my new d2l version is 0.17.6. (I uninstalled d2l v1.0.3 before but it doesn't work)

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

No branches or pull requests

6 participants