8000 Fix: Fixed the missing exception handling by EPG6 · Pull Request #4103 · fastai/fastai · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix: Fixed the missing exception handling #4103

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

EPG6
Copy link
@EPG6 EPG6 commented Jun 20, 2025

We installed fastai and tried to load a model. In our training environment we had the module 'timm' installed while it was missing in our inference environment. fastai reported a semantic error: "UnboundLocalError: cannot access local variable 'res' where it is not associated with a value" instead of the correct error which was an Import error due to a missing module.

@EPG6 EPG6 requested a review from jph00 as a code owner June 20, 2025 22:44
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

Successfully merging this pull request may close these issues.

1 participant
0