E tensorflow/compiler/xla/stream executor/cuda/cuda dnn.cc:9342] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered E tensorflow/compiler/xla/stream executor/cuda/cuda fft.cc:609] Unable to register cuFfT factor/: Attempting to reaister factory for plugin cuFFT when one has already been reaistered E tensorflow/compiler/xla/stream executor/cuda/cuda blas,cc:1518l Unable to reaister cuBLAs factory: Attempting to register factory for plugin cuBLAs when one has already been registered
docker run --gpus all -it -d -p 8888:8888 -v /home/ma/Documents/opensora/10M_val_human:/home/ma/Documents/opensora/10M_val_human -v /home/ma/Documents/code/h264:/home/ma/Documents/code/h264 tensorflow/tensorflow:2.14.0-gpu-jupyter bash
BASH
随后在终端内安装sionna,然后运行即可
1
pip install sionna
BASH
安装需要的其他库如Opencv-python
1
pip install opencv-python
BASH
有可能会有些lib库的依赖镜像中本来没有,因此需要apt安装对应的库
比如我就遇到了如下报错
1 2 3 4 5 6 7 8 9 10 11 12
Traceback (most recent call last): File "/home/ma/Documents/code/h264/SionnaPlus_sora.py", line 13, in <module> import cv2 File "/usr/local/lib/python3.11/dist-packages/cv2/__init__.py", line 181, in <module> bootstrap() File "/usr/local/lib/python3.11/dist-packages/cv2/__init__.py", line 153, in bootstrap native_module = importlib.import_module("cv2") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ImportError: libGL.so.1: cannot open shared object file: No such file or directory