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

Cannot find submodule dust3r. #24

Open
yuzhaoaaaa opened this issue Sep 25, 2024 · 8 comments
Open

Cannot find submodule dust3r. #24

yuzhaoaaaa opened this issue Sep 25, 2024 · 8 comments

Comments

@yuzhaoaaaa
Copy link

Hi dear

sys.path.append("./extern/dust3r")
from dust3r.inference import inference, load_model
from dust3r.utils.image import load_images
from dust3r.image_pairs import make_pairs
from dust3r.cloud_opt import global_aligner, GlobalAlignerMode
from dust3r.utils.device import to_numpy

I found that I cannot find these submodules. My E: \ GSSS \ ViewCrafter \ extern \ dest3r \ dest3r has these files
{7381EC72-7A40-4fe1-89F5-73E9A92F84C0}

What command should I execute to install or find these submodules

Thanks
dear

@Drexubery
Copy link
Owner

Hi, it seems you are using a Windows machine. Please change the path from sys.path.append("./extern/dust3r") to sys.path.append(".\extern\dust3r") and see if that works.

@yuzhaoaaaa
Copy link
Author

Hi Drexubery
I tried to modify it as sys.path.append(".\extern\dust3r")

b12b016c3e2234ca5a9b2237deea4ea6

But they haven't found it yet

@Drexubery
Copy link
Owner

Maybe you could pass your absolute path in to sys.path.append()? Like sys.path.append('E:\GSSS\ViewCrafter\extern\dust3r')

@Drexubery
Copy link
Owner

And if it still doesn't work, try to change

from dust3r.inference import inference, load_model
from dust3r.utils.image import load_images
from dust3r.image_pairs import make_pairs
from dust3r.cloud_opt import global_aligner, GlobalAlignerMode
from dust3r.utils.device import to_numpy

into

from extern.dust3r.dust3r.inference import inference, load_model
from extern.dust3r.dust3r.utils.image import load_images
from extern.dust3r.dust3r.image_pairs import make_pairs
from extern.dust3r.dust3r.cloud_opt import global_aligner, GlobalAlignerMode
from extern.dust3r.dust3r.utils.device import to_numpy

@yuzhaoaaaa
Copy link
Author

Hi Drexubery
Thank you for your support. I can now find the package. Thank you!

@yuzhaoaaaa
Copy link
Author

Hi Drexubery
May I ask how I can input two images as the final result, just like your demo example, currently only one image is used as input, where do I need to modify the configuration file? Or other

Thanks
Dear

@Drexubery
Copy link
Owner

Hi Drexubery

May I ask how I can input two images as the final result, just like your demo example, currently only one image is used as input, where do I need to modify the configuration file? Or other

Thanks

Dear

We plan to release this part of code in the next 2 weeks.

@yuzhaoaaaa
Copy link
Author

嗨,Drexubery
请问如何输入两张图片作为最终结果,就像你的 demo 示例一样,目前只使用一张图片作为输入,我需要在哪里修改配置文件?或其他
谢谢
亲爱的

我们计划在接下来的 2 周内发布这部分代码。

THkans!

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

No branches or pull requests

2 participants