从 lib.colab_util 导入 generate_video_from_obj,set_renderer,视频
renderer = set_renderer() generate_video_from_obj(obj_path, out_img_path, video_path, 渲染器)
我们无法播放 cv2 生成的 mp4 视频
!ffmpeg -i $video_path -vcodec libx264 $video_display_path -y -loglevel 安静视频(video_display_path)
() 中的 ImportError Traceback (最近一次调用最后一次) ----> 1 from lib.colab_util import generate_video_from_obj, set_renderer, video 2 3 renderer = set_renderer() 4 generate_video_from_obj(obj_path, out_img_path, video_path, renderer) 5
4 帧 /usr/local/lib/python3.7/dist-packages/pytorch3d/renderer/blending.py in () 7 8 # pyre-fixme[21]: 无法_C
在pytorch3d
. ----> 9 从 pytorch3d 导入 _C 10 11
ImportError:/usr/local/lib/python3.7/dist-packages/pytorch3d/_C.cpython-37m-x86_64-linux-gnu.so:未定义符号:_ZNK2at6Tensor7is_cudaEv