video_features: OSError with Anaconda, works on Miniconda

Hi , this is a greate work for my stduy ,But I had a problem running the demo.

(torch_zoo) czy@PT6630W:/data1/czy/affectivevideo/video_features$ /home/czy/anaconda3/envs/torch_zoo/bin/python3.8 main.py feature_type=r21d device_ids="[0]" video_paths="[./sample/v_ZNVhz7ctTq0.mp4, ./sample/v_GGSY1Qvo990.mp4]"
Traceback (most recent call last):
  File "main.py", line 6, in <module>
    import torch
  File "/home/czy/anaconda3/envs/torch_zoo/lib/python3.8/site-packages/torch/__init__.py", line 189, in <module>
    _load_global_deps()
  File "/home/czy/anaconda3/envs/torch_zoo/lib/python3.8/site-packages/torch/__init__.py", line 142, in _load_global_deps
    ctypes.CDLL(lib_path, mode=ctypes.RTLD_GLOBAL)
  File "/home/czy/anaconda3/envs/torch_zoo/lib/python3.8/ctypes/__init__.py", line 381, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /home/czy/anaconda3/envs/torch_zoo/lib/python3.8/site-packages/torch/lib/../../../../libcublas.so.11: symbol free_gemm_select version libcublasLt.so.11 not defined in file libcublasLt.so.11 with link time reference

Is there any way to solve this problem?Looking forward to someone’s reply. Thanks

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (7 by maintainers)

Most upvoted comments

It seems to succeed. \I think my Anaconda has some problems XD

czy1@PT6630W:~/video_features$ source activate torch_zoo
(torch_zoo) czy1@PT6630W:~/video_features$ python main.py feature_type=r21d  device_ids="[0]" video_paths="[./sample/v_ZNVhz7ctTq0.mp4, ./sample/v_GGSY1Qvo990.mp4]"
{'feature_type': 'r21d', 'device_ids': [0], 'video_paths': ['./sample/v_ZNVhz7ctTq0.mp4', './sample/v_GGSY1Qvo990.mp4']}
feature_type: r21d
model_name: r2plus1d_18_16_kinetics
stack_size: null
step_size: null
extraction_fps: null
device_ids:
- 0
on_extraction: print
output_path: ./output
tmp_path: ./tmp
keep_tmp_files: false
show_pred: false
config: null
file_with_video_paths: null
video_paths:
- ./sample/v_ZNVhz7ctTq0.mp4
- ./sample/v_GGSY1Qvo990.mp4

  0%|                                                                                                                                                                  | 0/2 [00:00<?, ?it/s]Downloading: "https://download.pytorch.org/models/r2plus1d_18-91a641e6.pth" to /home/czy1/.cache/torch/hub/checkpoints/r2plus1d_18-91a641e6.pth
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 120M/120M [00:54<00:00, 2.31MB/s]
r21d|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▉| 120M/120M [00:54<00:00, 2.32MB/s]
[[0.42218563 1.17318308 0.40078551 ... 0.66922128 0.06912617 1.18522477]
 [0.52843308 0.86638242 0.48396972 ... 0.87221068 0.06446913 1.26957393]
 [0.45510957 1.24178052 0.28735891 ... 1.1974194  0.04069321 1.1834774 ]
 ...
 [0.36844271 0.72178376 0.43043154 ... 1.50390053 0.64477223 0.92311001]
 [0.36785939 0.57711715 0.39524844 ... 1.55858362 0.47291428 0.55648011]
 [0.26900989 0.62733668 0.15515861 ... 1.86467552 0.16260292 0.45022029]]
max: 5.85777378; mean: 0.97725581; min: 0.00000000

 50%|█████████████████████████████████████████████████████████████████████████████                                                                             | 1/2 [01:01<01:01, 61.32s/it]r21d
[[0.29430833 0.61677468 0.03131339 ... 0.46447253 0.11309772 0.30705026]
 [0.45730111 0.7090205  0.05734326 ... 0.51096797 0.24674344 0.5347752 ]
 [0.53560811 0.64860499 0.03306999 ... 0.41103086 0.22505628 0.42674282]
 ...
 [0.76564747 1.35982907 0.32192281 ... 0.85664588 0.33740634 0.84231055]
 [0.39216471 0.7261017  0.24165478 ... 0.12450667 0.13376112 0.73523462]
 [0.2450196  0.74660909 0.27728859 ... 0.25958988 0.46994063 0.82153547]]
max: 5.41354084; mean: 0.73186871; min: 0.00046144

100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [01:02<00:00, 31.39s/it]

Thanks