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

Icevision models not supporting fastai learner. #1143

Closed
lakpa-tamang9 opened this issue Sep 29, 2022 · 1 comment
Closed

Icevision models not supporting fastai learner. #1143

lakpa-tamang9 opened this issue Sep 29, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@lakpa-tamang9
Copy link

lakpa-tamang9 commented Sep 29, 2022

I am following the same tutorial from icevision documentation here. Everything is fine until i define the leaner with fastai, the following error occurs. I have tried with other models such as yolox too, the error still perceives.

AttributeError: module 'icevision.models.mmdet.models.ssd' has no attribute 'fastai'

I can see that the fastai is imported from soft_dependencies.SoftDependencies which is triggered by the flag here.

However, the flag is False in my case. I reckon, in order to import fastai learner this flag must be True. How to solve this issue?

@lakpa-tamang9 lakpa-tamang9 added the bug Something isn't working label Sep 29, 2022
@lakpa-tamang9
Copy link
Author

Issue resolved by reinstalling icevision with
pip install icevision[all]. Previously, it was installed with pip install icevision. Therefore, learner packages were not installed properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant