-
Notifications
You must be signed in to change notification settings - Fork 92
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
ModuleNotFoundError: No module named 'vision_transformer' #12
Comments
the |
Hello, thank you. I'm following the readme.md codes of this repository... I cloned the repository, installed the dependencies and when I ran the code below, the error I mentioned in the previous message happened in the first line of the code below: from HIPT_4K.hipt_4k import HIPT_4K model = HIPT_4K() region = Image.open('HIPT_4K/image_demo/image_4k.png') |
Maybe i'm confused, but I think the line that creates this error is not necessary and can be removed. See my pull request for details #5 |
Hi @jjhbw - I see your pull request and close it soon. @giulianobertoti - if this is still giving you trouble, as mentioned, the |
from . import vision_transformer |
Hello, even installing the dependencies (pip install -r requirements.txt) I got the message "ModuleNotFoundError: No module named 'vision_transformer'" while executing "from HIPT_4K.hipt_4k import HIPT_4K". If you can tell me where I went wrong or how to import these "vision_transformer" library I would appreciate it. Thanks.
The text was updated successfully, but these errors were encountered: