Drexubery/ViewCrafter

Cannot find submodule dust3r.

yuzhaoaaaa opened this issue · 8 comments

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

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.

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

b12b016c3e2234ca5a9b2237deea4ea6

But they haven't found it yet

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

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

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

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

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.

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

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

THkans!