This gist is an accumulation of high-quality implementations and packages useful for research in reinforcement learning.
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 videofeatures import Pipeline, ActivityNetDataset, TwentyBNDataset, ResNetFeatures, SIFTFeatures, VGGFeatures, SURFFeatures | |
import configparser | |
_base_dir = "./output" | |
config = configparser.ConfigParser() | |
config.read('config.ini') | |
train_dir = config['GULP']['train_data_gulp'] | |
valid_dir = config['GULP']['valid_data_gulp'] |
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
% contributors: Jonas Rothfuss and Fabio Ferreira | |
import itertools | |
import os | |
import subprocess | |
import glob | |
AVI_SOURCE_DIR = '/data/rothfuss/data/ArmarExperiences/videos/memory' | |
TARGET_DIR = '/data/rothfuss/data/ArmarExperiences/videos/memory_augmented' |
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
% Contributors: Jonas Rothfuss and Fabio Ferreira | |
import math | |
import os | |
import moviepy | |
import subprocess | |
import random | |
import glob | |
import multiprocessing | |
from moviepy.video.io.ffmpeg_tools import ffmpeg_extract_subclip |