Skip to content

An unofficial JAX implementation of "Two-Stream Convolutional Networks for Dynamic Texture Synthesis (CVPR'18)".

Notifications You must be signed in to change notification settings

ryushinn/two-stream-dyntex-syn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Two-Stream Convolutional Networks for Dynamic Texture Synthesis

This is an unofficial JAX implementation of "Two-Stream Convolutional Networks for Dynamic Texture Synthesis (CVPR'18)"

Please see the author's repo here and cite them:

@inproceedings{tesfaldet2018,
  author = {Matthew Tesfaldet and Marcus A. Brubaker and Konstantinos G. Derpanis},
  title = {Two-Stream Convolutional Networks for Dynamic Texture Synthesis},
  booktitle = {IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
  year = {2018}
}

Notes

We require these libraries:

pip install -U "jax[cuda]" equinox optax tqdm pillow

Thus far, we can NOT fully figure out and stick with the configurations in the official repo, but it works anyway 😄.

We re-write the appearance / motion stream network and the proposed two-stream loss in the paper, in JAX code. Networks are built on top of equinox.

Pre-trained weights are ported from here (VGG) and here (optical flow network)

Run

python two_stream_dyntex_syn.py --exemplar_path data/fish

Results

X fish flames escalator
Input A1 alt text alt text
Output alt text alt text alt text

Last words

Thanks all efforts put on making all mentioned repositories public.

We appreciate bug reports. I will fix them when I make time around.

About

An unofficial JAX implementation of "Two-Stream Convolutional Networks for Dynamic Texture Synthesis (CVPR'18)".

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages