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

When I run app.py, I encounter the following issue. How can I resolve it? #147

Open
1030zero opened this issue Aug 31, 2024 · 0 comments
Open

Comments

@1030zero
Copy link

Initializing BaseSegmenter to cuda:0
Hyperparameters read from the model weights: C^k=64, C^v=512, C^h=64
Single object mode: False
Traceback (most recent call last):
File "D:\py\Track-Anything\app.py", line 385, in
model = TrackingAnything(SAM_checkpoint, xmem_checkpoint, e2fgvi_checkpoint,args)
File "D:\py\Track-Anything\track_anything.py", line 20, in init
self.baseinpainter = BaseInpainter(self.e2fgvi_checkpoint, args.device)
File "D:\py\Track-Anything\inpainter\base_inpainter.py", line 20, in init
net = importlib.import_module('inpainter.model.e2fgvi_hq')
File "E:\Anaconda\envs\trackany\lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in find_and_load_unlocked
File "", line 688, in load_unlocked
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "D:\py\Track-Anything\inpainter\model\e2fgvi_hq.py", line 9, in
from inpainter.model.modules.feat_prop import BidirectionalPropagation, SecondOrderDeformableAlignment
File "D:\py\Track-Anything\inpainter\model\modules\feat_prop.py", line 7, in
from mmcv.ops import ModulatedDeformConv2d, modulated_deform_conv2d
File "", line 241, in call_with_frames_removed
File "D:\py\Track-Anything\inpainter\model\e2fgvi_hq.py", line 9, in
from inpainter.model.modules.feat_prop import BidirectionalPropagation, SecondOrderDeformableAlignment
File "D:\py\Track-Anything\inpainter\model\modules\feat_prop.py", line 7, in
from mmcv.ops import ModulatedDeformConv2d, modulated_deform_conv2d
File "D:\py\Track-Anything\inpainter\model\e2fgvi_hq.py", line 9, in
from inpainter.model.modules.feat_prop import BidirectionalPropagation, SecondOrderDeformableAlignment
File "D:\py\Track-Anything\inpainter\model\modules\feat_prop.py", line 7, in
from mmcv.ops import ModulatedDeformConv2d, modulated_deform_conv2d
from inpainter.model.modules.feat_prop import BidirectionalPropagation, SecondOrderDeformableAlignment
File "D:\py\Track-Anything\inpainter\model\modules\feat_prop.py", line 7, in
from mmcv.ops import ModulatedDeformConv2d, modulated_deform_conv2d
File "D:\py\Track-Anything\inpainter\model\modules\feat_prop.py", line 7, in
from mmcv.ops import ModulatedDeformConv2d, modulated_deform_conv2d
File "E:\Anaconda\envs\trackany\lib\site-packages\mmcv\ops_init
.py", line 3, in
from mmcv.ops import ModulatedDeformConv2d, modulated_deform_conv2d
File "E:\Anaconda\envs\trackany\lib\site-packages\mmcv\ops_init
.py", line 3, in
from .active_rotated_filter import active_rotated_filter
File "E:\Anaconda\envs\trackany\lib\site-packages\mmcv\ops_init.py", line 3, in
from .active_rotated_filter import active_rotated_filter
from .active_rotated_filter import active_rotated_filter
File "E:\Anaconda\envs\trackany\lib\site-packages\mmcv\ops\active_rotated_filter.py", line 10, in
File "E:\Anaconda\envs\trackany\lib\site-packages\mmcv\ops\active_rotated_filter.py", line 10, in
ext_module = ext_loader.load_ext(
ext_module = ext_loader.load_ext(
File "E:\Anaconda\envs\trackany\lib\site-packages\mmcv\utils\ext_loader.py", line 13, in load_ext
File "E:\Anaconda\envs\trackany\lib\site-packages\mmcv\utils\ext_loader.py", line 13, in load_ext
ext = importlib.import_module('mmcv.' + name)
ext = importlib.import_module('mmcv.' + name)
File "E:\Anaconda\envs\trackany\lib\importlib_init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: DLL load failed while importing _ext: 找不到指定的程序。

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

1 participant