Skip to content

Error running the sample #18

@DrMaxP

Description

@DrMaxP

I've followed the steps to set up the environment, installing as a package. When I go to run the sample I see errors:
e..g running this:

priorda test --image_path assets/sample-1/rgb.jpg --prior_path assets/sample-1/gt_depth.png --pattern downscale_32 --visualize 1

Firstly, the message xFormers not available is printed out twice.

I then see the process terminate with this call stack:

 C:\Users\Max\anaconda3\envs\priorda\Lib\site-packages\torch_cluster\_version_cpu.pyd
Traceback (most recent call last):
  File "\\?\C:\Users\Max\anaconda3\envs\priorda\Scripts\priorda-script.py", line 33, in <module>
    sys.exit(load_entry_point('prior-depth-anything', 'console_scripts', 'priorda')())
  File "\\?\C:\Users\Max\anaconda3\envs\priorda\Scripts\priorda-script.py", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "C:\Users\Max\anaconda3\envs\priorda\lib\importlib\metadata.py", line 86, in load
    module = import_module(match.group('module'))
  File "C:\Users\Max\anaconda3\envs\priorda\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "c:\users\max\documents\kinect experiments\depth priors\prior-depth-anything\prior_depth_anything\__init__.py", line 14, in <module>
    from .depth_completion import DepthCompletion
  File "c:\users\max\documents\kinect experiments\depth priors\prior-depth-anything\prior_depth_anything\depth_completion.py", line 3, in <module>
    import torch_cluster
  File "C:\Users\Max\anaconda3\envs\priorda\lib\site-packages\torch_cluster\__init__.py", line 18, in <module>
    torch.ops.load_library(spec.origin)
  File "C:\Users\Max\anaconda3\envs\priorda\lib\site-packages\torch\_ops.py", line 933, in load_library
    ctypes.CDLL(path)
  File "C:\Users\Max\anaconda3\envs\priorda\lib\ctypes\__init__.py", line 376, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: [WinError 127] The specified procedure could not be foundanother error:

Any thoughts? I'm on Windows with a 4090.

I've tried installing xformers via pip, but that started pulling in conflicting package versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions