I run it by: python scene_div.py 1.mp4 ./data/ 10
But the program reported an error:
File "scene_div.py", line 63
raise ValueError, "smooth only accepts 1 dimension arrays."
^
SyntaxError: invalid syntax
Please tell me the correct command to run,thank you.
I run it by: python scene_div.py 1.mp4 ./data/ 10
But the program reported an error: File "scene_div.py", line 63 raise ValueError, "smooth only accepts 1 dimension arrays." ^ SyntaxError: invalid syntax Please tell me the correct command to run,thank you.