HolyWu / vs-basicvsrpp

BasicVSR++ function for VapourSynth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failure to install

banjaminicc opened this issue · comments

commented
      pybind.obj : error LNK2001: unresolved external symbol __imp___tls_offset_?init@?1??lazy_init_num_threads@internal@at@@YAXXZ@4_NA
      pybind.obj : error LNK2001: unresolved external symbol __imp___tls_index_?init@?1??lazy_init_num_threads@internal@at@@YAXXZ@4_NA
      build\lib.win-amd64-cpython-310\mmcv\_ext.cp310-win_amd64.pyd : fatal error LNK1120: 2 unresolved externals
      error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.34.31933\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
  when attempting to install through pip
  any ideas?
commented

a random question
is it possible to use trt with this implementation considering its abominal speed?

commented

Also
I'm facing a new error

load checkpoint from local path: C:\Users\icckl\AppData\Roaming\Python\Python310\site-packages\vsbasicvsrpp\spynet.pth
load checkpoint from local path: C:\Users\icckl\AppData\Roaming\Python\Python310\site-packages\vsbasicvsrpp\basicvsr_plusplus_ntire_decompress_track1.pth
C:\Users\icckl\AppData\Roaming\Python\Python310\site-packages\torch\functional.py:504: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at ..\aten\src\ATen\native\TensorShape.cpp:3191.)
  return _VF.meshgrid(tensors, **kwargs)  # type: ignore[attr-defined]
Traceback (most recent call last):
  File "C:\Users\icckl\AppData\Roaming\Python\Python310\site-packages\vspreview\main\window.py", line 574, in switch_output
    self.switch_frame(self.current_output.last_showed_frame)
  File "C:\Users\icckl\AppData\Roaming\Python\Python310\site-packages\vspreview\main\window.py", line 538, in switch_frame
    self.current_output.render_frame(frame, output_colorspace=self.display_profile)
  File "C:\Users\icckl\AppData\Roaming\Python\Python310\site-packages\vspreview\core\types\video.py", line 329, in render_frame
    vs_frame = vs_frame or self.prepared.clip.get_frame(frame.value)
  File "src\cython\vapoursynth.pyx", line 1866, in vapoursynth.VideoNode.get_frame
vapoursynth.Error: modulated_deformable_im2col_impl: implementation for device cuda:0 not found.