Open liveforeverneverdie opened 8 months ago
I have the same question , are u work out? I need help too
Can you try uncommenting WEBCAM: -1
? You want to disable webcam and toggle INPUT_VIDEO, right?
Refer to:
self.source = (
cfg.DEMO.WEBCAM if cfg.DEMO.WEBCAM > -1 else cfg.DEMO.INPUT_VIDEO
)
Traceback (most recent call last): File "/root/Project/slowfast/tools/run_net.py", line 52, in
main()
File "/root/Project/slowfast/tools/run_net.py", line 48, in main
demo(cfg)
File "/root/Project/slowfast/tools/demo_net.py", line 112, in demo
frame_provider = VideoManager(cfg)
File "/root/Project/slowfast/slowfast/visualization/demo_loader.py", line 49, in init
raise IOError("Video {} cannot be opened".format(self.source))
OSError: Video /home/Project/input/in.mp4 cannot be opened
SLOWFAST_32x2_R101_50_50.yaml:
I think path of mp4 should be correct, but it just can't be opened. And I have "chmod" mp4. Hopefully someone helps.