-
Notifications
You must be signed in to change notification settings - Fork 212
NameError: name 'Parser' is not defined #1473
Comments
Hi, @shravankumar147 - Thank you for raising this issue. Object Detection in Flash internally relies on icevision library. I'll create a PR to raise a better error if |
Thanks for the input @krshrimali , I will test it in some time and update back here. |
Hi, I did try to install icevision using
But after installation I observed below issue:
|
Then I tried to upgrade the torch but it still showing more errors, as I import flash. Sharing the same for reference.
|
I found a mention of above in the installation guide,
Let me try and see. |
Hi, @shravankumar147 - Sorry for the delay in getting back. Were you able to resolve the issue? |
Hello everyone! Got the same issue. So, I tried to install icevision as was suggested here. However, there was a problem to do this with python 3.10. Therefore, I created env with python 3.8 and installed icevision first and then flash-lightning. After this, surprisingly, I started to have this error: In the end I tried to downgrade icevision from version 0.12.0 to 0.11.0 and it helped me. |
@krshrimali - In colab, I got multiple issues. @PnthrLeo Would you mind sharing your colab notebook, if you have successfully able to run this. |
@shravankumar147 Steps to run notebook:
Hope, it will help you! |
@PnthrLeo Thanks for sharing. Unfortunately, I still see similar errors. Here I am attaching my colab notebook for reference. Please let me know if I missed anything. Thanks in advance |
Error for reference while importing flash :
|
@shravankumar147 Probably, you forgot to restart notebook runtime (second step in my instructions to the notebook) after modules installation. |
Hi @PnthrLeo , Thanks for the detailed suggestions, these worked for me. |
🐛 Bug
When trying out object detection example, got the below error at datamodule.
Code sample
To Reproduce
Expected behavior
It should create a data module for further computations.
Environment
The text was updated successfully, but these errors were encountered: