This script allows to automate video stylization task using StableDiffusion and ControlNet.
MIT License
807
stars
61
forks
source link
\SD-CN-Animation\RAFT\raft.py", line 6, in <module> from RAFT.update import BasicUpdateBlock, SmallUpdateBlock ModuleNotFoundError: No module named 'RAFT' #166
To process the video, first of all you would need to precompute optical flow data before running web-ui with this command:
python3 compute_flow.py -i "path to your video" -o "path to output file with *.h5 format" -v -W width_of_the_flow_map -H height_of_the_flow_map
but flow_utils.py is contained in a folder that isnt mentioned anywhere called "old scripts" and contains a line
sys.path.append('RAFT/core')
from raft import RAFT
which raises
\SD-CN-Animation\RAFT\raft.py", line 6, in <module>
from RAFT.update import BasicUpdateBlock, SmallUpdateBlock
ModuleNotFoundError: No module named 'RAFT'
are we supposed to download raft from the link in the readme
Stable Diffusion model as a backbone, including custom ones. It uses '[RAFT](https://github.com/princeton-vl/RAFT)' optical flow estimation algorithm
or are we meant to link this manually? If so, what is the recommended way to do that?
readme says :
To process the video, first of all you would need to precompute optical flow data before running web-ui with this command:
but flow_utils.py is contained in a folder that isnt mentioned anywhere called "old scripts" and contains a line
which raises
are we supposed to download raft from the link in the readme
or are we meant to link this manually? If so, what is the recommended way to do that?