- Super SloMo: High Quality Estimation of Multiple Intermediate Frames for Video Interpolation [Paper]
- Huaizu Jiang, Deqing Sun, Varun Jampani, Ming-Hsuan Yang, Erik Learned-Miller, Jan Kautz
- CVPR 2018 (splotlight)
- Video frame synthesis using deep voxel flow [Paper] [Code]
- Z. Liu, R. Yeh, X. Tang, Y. Liu, and A. Agarwala.
- ICCV 2017
- Video frame interpolation via adaptive separable convolution. [Paper] [Code]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from collections import Counter, defaultdict | |
import itertools | |
import os | |
import random | |
import re | |
import numpy as np | |
EMBEDDING_FILE = "/u/nlp/data/depparser/nn/data/embeddings/en-cw.txt" | |
EMBEDDING_SERIALIZED = "embeddings.npz" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#https://gist.github.com/stared/dfb4dfaf6d9a8501cd1cc8b8cb806d2e | |
class PlotLosses(keras.callbacks.Callback): | |
def __init__(self,imgs): | |
super(PlotLosses, self).__init__() | |
self.imgs=imgs | |
def on_train_begin(self, logs={}): | |
self.i = 0 | |
self.x = [] |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv2 | |
import numpy as np | |
import argparse | |
''' | |
usage: python click_heatmap.py <image file> | |
left-click: add point to heatmap | |
s: save image (000.png, 001.png, ...) | |
q: quit | |
r: reset |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding:utf8 | |
from scipy.io import loadmat | |
import pandas as pd | |
import numpy as np | |
mat_train = loadmat('devkit/cars_train_annos.mat') | |
mat_test = loadmat('devkit/cars_test_annos.mat') | |
meta = loadmat('devkit/cars_meta.mat') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import warnings | |
from skimage.measure import compare_ssim | |
from skimage.transform import resize | |
from scipy.stats import wasserstein_distance | |
from scipy.misc import imsave | |
from scipy.ndimage import imread | |
import numpy as np | |
import cv2 | |
## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import torch | |
import torch.nn as nn | |
import torch.nn.functional as F | |
import torchvision.models as tmodels | |
from functools import partial | |
import collections | |
# dummy data: 10 batches of images with batch size 16 | |
dataset = [torch.rand(16,3,224,224).cuda() for _ in range(10)] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
in this script, we calculate the image per channel mean and standard | |
deviation in the training set, do not calculate the statistics on the | |
whole dataset, as per here http://cs231n.github.io/neural-networks-2/#datapre | |
""" | |
import numpy as np | |
from os import listdir | |
from os.path import join, isdir | |
from glob import glob |
OlderNewer