facebookresearch / facebookresearch/SlowFast
Issues in AVSlowFast demo
- Dominant language
- Python
- Stars
- 7.4k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
thanks to you guys I've succeeded in fine-tuning **AVSlowFast** on my own dataset and I now have the train, test results with the parameters from the training.
Now that I have the model params, I wanted to do the **demos** but it seems like you guys didn't provide demo script for the AVSlowFast model.
So when I follow your guidelines and run the demo, the script complains about **not** providing the audio sources.
Can you provide a demo script for AVSlowFast?
Best,
Yubin
**[ERROR]**
Traceback (most recent call last):
File "tools/run_net.py", line 42, in
main()
File "tools/run_net.py", line 37, in main
demo(cfg)
File "/workspace/Documents/Tony/AVSlowFast/tools/demo_net.py", line 119, in demo
for frames in tqdm.tqdm(run_demo(cfg, frame_provider)):
File "/usr/local/lib/python3.6/dist-packages/tqdm/std.py", line 1174, in iter
for obj in iterable:
File "/workspace/Documents/Tony/AVSlowFast/tools/demo_net.py", line 79, in run_demo
model.put(task)
File "/workspace/Documents/Tony/AVSlowFast/slowfast/visualization/predictor.py", line 138, in put
task = self.predictor(task)
File "/workspace/Documents/Tony/AVSlowFast/slowfast/visualization/predictor.py", line 77, in call
inputs = process_cv2_inputs(frames, self.cfg)
File "/workspace/Documents/Tony/AVSlowFast/slowfast/visualization/utils.py", line 321, in process_cv2_inputs
inputs = [inp.unsqueeze(0) for inp in inputs]
File "/workspace/Documents/Tony/AVSlowFast/slowfast/visualization/utils.py", line 321, in
inputs = [inp.unsqueeze(0) for inp in inputs]
`AttributeError: 'NoneType' object has no attribute 'unsqueeze'`
Contributor guide
Assessment
This issue has not been assessed yet.