This repository contains a tensorflow implementation for spatial-temporal CoopNets, which is from Experiment 7 in the paper "Cooperative Training of Descriptor and Generator Networks"
@article{coopnets,
author = {Xie, Jianwen and Lu, Yang and Gao, Ruiqi and Zhu, Song-Chun and Wu, Ying Nian},
title = {Cooperative Training of Descriptor and Generator Networks},
journal={IEEE transactions on pattern analysis and machine intelligence (PAMI)},
year = {2018},
publisher={IEEE}
}
- Python 2.7 or Python 3.3+
- Tensorflow r1.3+
- Install FFmpeg
sudo sh ffmpeg_installer.sh
- Install required Python libraries
pip install -r requirements.txt
- Clone this repo:
git clone https://github.com/jianwen-xie/Spatial-Temporal-CoopNets cd Spatial-Temporal-CoopNets
- Put training data fire_pot.avi into path:
./trainingVideo/fire_pot/fire_pot.avi
- To train a model with fire_pot.avi video:
$ python train_coop_video.py --category fire_pot \ --num_epochs 1000 --num_chains 2 \ --data_path ./trainingVideo \ --output_dir ./output_coop_video
- Synthesized results will be saved in
./output_coop_video/fire_pot
@inproceedings{coopnets,
author = {Xie, Jianwen and Lu, Yang and Gao, Ruiqi and Wu, Ying Nian},
title = {Cooperative Learning of Energy-Based Model and Latent Variable Model via MCMC Teaching},
booktitle = {The 32nd AAAI Conference on Artitifical Intelligence},
year = {2018}
}
@inproceedings{stgconvnet,
author = {Xie, Jianwen and Zhu, Song-Chun and Wu, Ying Nian},
title = {Synthesizing Dynamic Patterns by Spatial-Temporal Generative ConvNet},
booktitle = {The IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
month = {July},
year = {2017}
}
For any questions, please contact Jianwen Xie (jianwen@ucla.edu) and Zilong Zheng (zilongzheng0318@ucla.edu).