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: 'DECIModule' object has no attribute 'sem_module' #74

Open
leizhangtech opened this issue Oct 30, 2023 · 1 comment
Open
Assignees

Comments

@leizhangtech
Copy link

Hi,

Thank you for the great work. I was going through the sample code in multi_investment_sales_attribution.ipynb and everything seemed to be running smoothly during training. However, I encountered an error when executing the torch.save(lightning_module.sem_module, "deci.pt").
AttributeError: 'DECIModule' object has no attribute 'sem_module'.
Would you please help troubleshooting the error ? thanks

I installed causica with pip, seems the latest release version is 0.3.4.

@pawni
Copy link
Contributor

pawni commented Feb 13, 2024

Thanks for raising the issue @leizhangtech!

Do you have a longer example of when you're running into the issue? The sem_module should be accessible once the module is properly set up but not before. Are you able to use the latest version of the code?

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