• Stars
    star
    165
  • Rank 228,906 (Top 5 %)
  • Language
    Jupyter Notebook
  • License
    MIT License
  • Created almost 8 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An implementation of Pix2Pix in Tensorflow for use with frames from films

Pix2Pix-Film

alt text

An implementation of Pix2Pix in Tensorflow for use with colorizing and increasing the field of view in frames from classic films. For more information, see my Medium Post on the project.

Pretrained model available here. It was trained using Alfred Hitchcock films, so it generalizes best to similar movies.

To generate frames, use ffmpeg to resize and create .png frames from video.

  • To resize video: ffmpeg -strict -2 -i input.mp4 -vf scale=256:144 output.mp4 -strict -2

  • To generate frames: ffmpeg -i output.mp4 -vf fps=10 ./frames/out%6d.png

In order to 'remaster' frames, run Pix2Pix iPython notebook.

To convert 'remastered' frames back into a video, use: ffmpeg -framerate 10 -i frame%01d.png -c:v libx264 -r 30 -pix_fmt yuv420p out.mp4

More Repositories

1

DeepRL-Agents

A set of Deep Reinforcement Learning Agents implemented in Tensorflow.
Jupyter Notebook
2,231
star
2

TF-Tutorials

A collection of deep learning tutorials using Tensorflow and Python
Jupyter Notebook
523
star
3

Meta-RL

Implementation of Meta-RL A3C algorithm
Jupyter Notebook
401
star
4

oreilly-rl-tutorial

Contains Jupyter notebooks associated with the "Deep Reinforcement Learning Tutorial" tutorial given at the O'Reilly 2017 NYC AI Conference.
Jupyter Notebook
273
star
5

neuro-nav

A library for neuroscience-inspired navigation and decision making research.
Jupyter Notebook
198
star
6

dfp

Reinforcement Learning with Goals
Jupyter Notebook
170
star
7

pytorch-diffusion

A basic PyTorch implementation of 'Denoising Diffusion Probabilistic Models'
Python
161
star
8

sound-cnn

A convolutional neural network that classifies sounds
Python
159
star
9

3D-TSNE

A Unity project for visualizing t-SNE data in 3D.
C#
73
star
10

RL-CC

Web-based Reinforcement Learning Control Center
Jupyter Notebook
64
star
11

successor_examples

Tutorials on learning and using successor representations.
Jupyter Notebook
49
star
12

ML-Tools

Variety of machine learning algorithms written in python
Python
42
star
13

DNN-Sentiment

Convolutional and recurrent deep neural networks for text sentiment analysis.
Python
32
star
14

NeuralDreamVideos

A deep learning model for creating video sequences
Jupyter Notebook
24
star
15

cognition-course

Slides used in Cognitive Psychology course taught during summer 2015 at the University of Oregon
6
star
16

synescape

Sound visualization app for musicians and music fans.
C#
5
star
17

interaction-grounded-learning

A simple PyTorch implementation of the ideas presented in the paper Interaction Grounded Learning (IGL) from Xie et al., 2021.
Jupyter Notebook
4
star
18

serotonin-ebm

Python
1
star