├── .gitignore ├── README.md ├── app.py ├── configs ├── black-swan.yaml ├── brown-bear.yaml ├── car-moving.yaml ├── car-turn.yaml ├── child-riding.yaml ├── cow-walking.yaml ├── dog-walking.yaml ├── horse-running.yaml ├── lion-roaring.yaml ├── man-running.yaml ├── man-surfing.yaml ├── rabbit-watermelon.yaml ├── skateboard-dog.yaml └── skateboard-man.yaml ├── data ├── black-swan.mp4 ├── brown-bear.mp4 ├── car-moving.mp4 ├── car-turn.mp4 ├── child-riding.mp4 ├── cow-walking.mp4 ├── dog-walking.mp4 ├── horse-running.mp4 ├── lion-roaring.mp4 ├── man-running.mp4 ├── man-surfing.mp4 ├── rabbit-watermelon.mp4 ├── skateboard-dog.avi └── skateboard-man.mp4 ├── docs └── vid2vid-zero.png ├── examples ├── child-riding_flooded.gif ├── child-riding_lego.gif ├── jeep-moving_Porsche.gif ├── jeep-moving_snow.gif ├── man-running_newyork.gif ├── man-running_stephen.gif ├── red-moving_desert.gif └── red-moving_snow.gif ├── gradio_demo ├── app_running.py ├── runner.py └── style.css ├── requirements.txt ├── test_vid2vid_zero.py └── vid2vid_zero ├── data └── dataset.py ├── models ├── attention_2d.py ├── resnet_2d.py ├── unet_2d_blocks.py └── unet_2d_condition.py ├── p2p ├── null_text_w_ptp.py ├── p2p_stable.py ├── ptp_utils.py └── seq_aligner.py ├── pipelines └── pipeline_vid2vid_zero.py └── util.py /.gitignore: -------------------------------------------------------------------------------- 1 | # custom dirs 2 | checkpoints/ 3 | outputs/ 4 | 5 | # Initially taken from Github's Python gitignore files 6 | 7 | # Byte-compiled / optimized / DLL files 8 | __pycache__/ 9 | *.py[cod] 10 | *$py.class 11 | 12 | # C extensions 13 | *.so 14 | 15 | # tests and logs 16 | tests/fixtures/cached_*_text.txt 17 | logs/ 18 | lightning_logs/ 19 | lang_code_data/ 20 | 21 | # Distribution / packaging 22 | .Python 23 | build/ 24 | develop-eggs/ 25 | dist/ 26 | downloads/ 27 | eggs/ 28 | .eggs/ 29 | lib/ 30 | lib64/ 31 | parts/ 32 | sdist/ 33 | var/ 34 | wheels/ 35 | *.egg-info/ 36 | .installed.cfg 37 | *.egg 38 | MANIFEST 39 | 40 | # PyInstaller 41 | # Usually these files are written by a python script from a template 42 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 43 | *.manifest 44 | *.spec 45 | 46 | # Installer logs 47 | pip-log.txt 48 | pip-delete-this-directory.txt 49 | 50 | # Unit test / coverage reports 51 | htmlcov/ 52 | .tox/ 53 | .nox/ 54 | .coverage 55 | .coverage.* 56 | .cache 57 | nosetests.xml 58 | coverage.xml 59 | *.cover 60 | .hypothesis/ 61 | .pytest_cache/ 62 | 63 | # Translations 64 | *.mo 65 | *.pot 66 | 67 | # Django stuff: 68 | *.log 69 | local_settings.py 70 | db.sqlite3 71 | 72 | # Flask stuff: 73 | instance/ 74 | .webassets-cache 75 | 76 | # Scrapy stuff: 77 | .scrapy 78 | 79 | # Sphinx documentation 80 | docs/_build/ 81 | 82 | # PyBuilder 83 | target/ 84 | 85 | # Jupyter Notebook 86 | .ipynb_checkpoints 87 | 88 | # IPython 89 | profile_default/ 90 | ipython_config.py 91 | 92 | # pyenv 93 | .python-version 94 | 95 | # celery beat schedule file 96 | celerybeat-schedule 97 | 98 | # SageMath parsed files 99 | *.sage.py 100 | 101 | # Environments 102 | .env 103 | .venv 104 | env/ 105 | venv/ 106 | ENV/ 107 | env.bak/ 108 | venv.bak/ 109 | 110 | # Spyder project settings 111 | .spyderproject 112 | .spyproject 113 | 114 | # Rope project settings 115 | .ropeproject 116 | 117 | # mkdocs documentation 118 | /site 119 | 120 | # mypy 121 | .mypy_cache/ 122 | .dmypy.json 123 | dmypy.json 124 | 125 | # Pyre type checker 126 | .pyre/ 127 | 128 | # vscode 129 | .vs 130 | .vscode 131 | 132 | # Pycharm 133 | .idea 134 | 135 | # TF code 136 | tensorflow_code 137 | 138 | # Models 139 | proc_data 140 | 141 | # examples 142 | runs 143 | /runs_old 144 | /wandb 145 | /examples/runs 146 | /examples/**/*.args 147 | /examples/rag/sweep 148 | 149 | # data 150 | /data 151 | serialization_dir 152 | 153 | # emacs 154 | *.*~ 155 | debug.env 156 | 157 | # vim 158 | .*.swp 159 | 160 | #ctags 161 | tags 162 | 163 | # pre-commit 164 | .pre-commit* 165 | 166 | # .lock 167 | *.lock 168 | 169 | # DS_Store (MacOS) 170 | .DS_Store 171 | # RL pipelines may produce mp4 outputs 172 | *.mp4 173 | 174 | # dependencies 175 | /transformers 176 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
Input Video | 80 |Output Video | 81 |Input Video | 82 |Output Video | 83 |
"A car is moving on the road" | 87 |"A Porsche car is moving on the desert" | 88 |"A car is moving on the road" | 89 |"A jeep car is moving on the snow" | 90 |
![]() |
94 | ![]() |
95 | ||
"A man is running" | 100 |"Stephen Curry is running in Time Square" | 101 |"A man is running" | 102 |"A man is running in New York City" | 103 |
![]() |
107 | ![]() |
108 | ||
"A child is riding a bike on the road" | 112 |"a child is riding a bike on the flooded road" | 113 |"A child is riding a bike on the road" | 114 |"a lego child is riding a bike on the road.gif" | 115 |
![]() |
119 | ![]() |
120 | ||
"A car is moving on the road" | 124 |"A car is moving on the snow" | 125 |"A car is moving on the road" | 126 |"A jeep car is moving on the desert" | 127 |
![]() |
131 | ![]() |
132 |