Skip to content

Docker - no timestamps.json output, no NVIDIA driver on your system #20

@complacent-citizen

Description

@complacent-citizen

hey there - awesome project!

I'm having issues getting any non-temp output files. running this guy:
python src/demo/multimodial_demo.py blowjob_test.mp4 blowjob_test.json --timestamps

seems to complete some amount of processing - I can see the low-res "blowjob_test.mp4" as well as several 7-second sub clips in the expected ./temp/ folder, but no test_output.json anywhere.

I suspect it has to do with the errors I receive after Moviepy - video ready temp/blowjob_test.mp4:

WARNING:py.warnings:/opt/conda/lib/python3.8/site-packages/moviepy/video/io/ffmpeg_reader.py:123: UserWarning: Warning: in file temp/blowjob_test.mp4, 1228320 bytes wanted but 0 bytes read,at frame 2781/2783, at time 115.99/116.06 sec. Using the last valid frame instead.
  warnings.warn("Warning: in file %s, "%(self.filename)+

load checkpoint from local path: checkpoints/har/timeSformer.pth
Traceback (most recent call last):
  File "src/demo/multimodial_demo.py", line 601, in <module>
    main()
  File "src/demo/multimodial_demo.py", line 540, in main
    RGB_MODEL = init_recognizer(args.rgb_config,
  File "/workspace/phar/mmaction2/mmaction/apis/inference.py", line 51, in init_recognizer
    model.to(device)
  File "/opt/conda/lib/python3.8/site-packages/torch/nn/modules/module.py", line 673, in to
    return self._apply(convert)
  File "/opt/conda/lib/python3.8/site-packages/torch/nn/modules/module.py", line 387, in _apply
    module._apply(fn)
  File "/opt/conda/lib/python3.8/site-packages/torch/nn/modules/module.py", line 387, in _apply
    module._apply(fn)
  File "/opt/conda/lib/python3.8/site-packages/torch/nn/modules/module.py", line 387, in _apply
    module._apply(fn)
  File "/opt/conda/lib/python3.8/site-packages/torch/nn/modules/module.py", line 409, in _apply
    param_applied = fn(param)
  File "/opt/conda/lib/python3.8/site-packages/torch/nn/modules/module.py", line 671, in convert
    return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
  File "/opt/conda/lib/python3.8/site-packages/torch/cuda/__init__.py", line 170, in _lazy_init
    torch._C._cuda_init()
RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx

Any ideas?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions