Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
complacent-citizen opened this issue Jul 28, 2024 · 0 comments

Comments

@complacent-citizen
Copy link

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!

@complacent-citizen complacent-citizen changed the title Docker - no timestamps.json output Docker - no timestamps.json output, no NVIDIA driver on your system Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant