Skip to content

Instantly share code, notes, and snippets.

View jponttuset's full-sized avatar

Jordi Pont-Tuset jponttuset

View GitHub Profile
@jponttuset
jponttuset / gans_vs_deep.py
Created September 7, 2018 08:38
Scrape Paper Titles from CVF Open Access and Plot Evolution of GANs vs Deep in XKCD Style
import matplotlib.pyplot as plt
def get_percent_from_files(confs, keywords):
percents = []
for conf in confs:
file = open('titles/'+conf+'.txt', 'r')
all_titles = [line.rstrip('\n') for line in file.readlines()]
file.close()
count = 0