paulpanwang / POPE

Welcome to the project repository for POPE (Promptable Pose Estimation), a state-of-the-art technique for 6-DoF pose estimation of any object in any scene using a single reference.
https://paulpanwang.github.io/POPE/
139 stars 11 forks source link

no module name einops #17

Open Tranthanhbao198 opened 5 months ago

Tranthanhbao198 commented 5 months ago

Hello, i followed your tutorial, but when i run python3 visual_sam.py, i got this error: Traceback (most recent call last): File "/home/apicoo3569/POPE/visual_sam.py", line 1, in from pope_model_api import * File "/home/apicoo3569/POPE/pope_model_api.py", line 53, in from src.matcher import Matcher, default_cfg File "/home/apicoo3569/POPE/src/matcher/init.py", line 1, in from .matcher import Matcher File "/home/apicoo3569/POPE/src/matcher/matcher.py", line 3, in from einops.einops import rearrange ModuleNotFoundError: No module named 'einops'

please help me to fix. thank you

davidretinski commented 5 months ago

Hey, you just have to install einops via pip, unfortunately the package is not in the requirements.txt

So just enter pip install einops in the terminal and it should work afterwards

werdnabae commented 3 months ago

Yes, this worked for me.