Recurrent All Pairs Field Transforms for Optical Flow: on RunwayML
Install and run it from runwayML here
Or if you're feeling crafty:
-
Clone the repo
https://github.com/Mayukhdeb/RAFT-opticalflow-runwayML.git
-
Navigate into the repo
cd RAFT-opticalflow-runwayML
-
Make a virtualenv
python3 -m venv your_env_name source your_env_name/bin/activate
-
Install requirements
pip install -r requirements.txt
-
Run the entrypoint script
python runway_model.py
Which should give an output like:
Initializing model... Model initialized (0.04s) Starting model server at http://0.0.0.0:9000...
-
Open a new workspace in RunwayML and press
connect
. Make sure your localhost port matches the one given by the server script (in this case it's9000
) -
Select the image/video you want to work with and have fun!