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

issues Can't get attribute '__main__' #3

Open
mdandre89 opened this issue Nov 27, 2022 · 0 comments
Open

issues Can't get attribute '__main__' #3

mdandre89 opened this issue Nov 27, 2022 · 0 comments

Comments

@mdandre89
Copy link

mdandre89 commented Nov 27, 2022

image

I am using virtualenv and tried diff combinations of torch and fastai but always get errors.

EDIT: Sorry most likely solved. I was trying to open a model saved with fastai 1 with fastai2, but there still issues with this:

AttributeError: Can't get attribute 'label_func' on <module 'mp_main' from '/home/mdandre/projects/data_science/skin_cancer_prediction/backend_skin_cancer_prediction/bin/uvicorn'>

and once I try using dill to save the environment:
AttributeError: Can't get attribute 'main' on <module 'builtins' (built-in)>

@mdandre89 mdandre89 reopened this Nov 27, 2022
@mdandre89 mdandre89 changed the title issues with flattenloss issues Can't get attribute '__main__' Nov 28, 2022
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