old rushed dashed squashed crushed smothered suffocated trapped rescued saved
A lot of math grad school is reading books and papers and trying to understand what's going on. The difficulty is that reading math is not like reading a mystery thriller, and it's not even like reading a history book or a New York Times article.
The main issue is that, by the time you get to the frontiers of math, the words to describe the concepts don't really exist yet. Communicating these ideas is a bit like trying to explain a vacuum cleaner to someone who has never seen one, except you're only allowed to use words that are four letters long or shorter.
What can you say?
As configured in my dotfiles.
start new:
tmux
start new with session name:
- Knowledge Bases (KBs) are effective tools for Question Answering (QA) but are often too restrictive (due to fixed schema) and too sparse (due to limitations of Information Extraction (IE) systems).
- The paper proposes Key-Value Memory Networks, a neural network architecture based on Memory Networks that can leverage both KBs and raw data for QA.
- The paper also introduces MOVIEQA, a new QA dataset that can be answered by a perfect KB, by Wikipedia pages and by an imperfect KB obtained using IE techniques thereby allowing a comparison between systems using any of the three sources.
- Link to the paper.
This file contains hidden or 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
My problems with the paper: | |
- There is no comparison of resulting video quality. The amount of encode time (and power | |
expended) to produce a H.264 bit stream *dramatically* depends on the desired quality level; | |
e.g. for x264 (state of the art SW encoder, already in 2010 when the paper was written), the | |
difference between the fastest and best quality settings is close to 2 orders of magnitude | |
in both speed and power use. This is not negligible! | |
[NOTE: This is excluding quality-presets like "placebo", which are more demanding still. | |
Even just comparing between different settings usable for real-time encoding, we still have | |
at least an order of magnitude difference.] | |
- They have their encoder, which is apparently based on JM 8.6 (*not* a good encoder!), for |
This file contains hidden or 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
##### | |
# modifiled from https://github.com/Hvass-Labs/TensorFlow-Tutorials/blob/master/06_CIFAR-10.ipynb | |
##### | |
import matplotlib.pyplot as plt | |
import tensorflow as tf | |
import numpy as np | |
from sklearn.metrics import confusion_matrix | |
import time | |
from datetime import timedelta | |
import math |
This file contains hidden or 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
[?1034h{ | |
protos : | |
{ | |
cnn : | |
{ | |
gradInput : FloatTensor - empty | |
modules : | |
{ | |
1 : | |
{ |
This file contains hidden or 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
"""Keras implementation of SSD.""" | |
import keras.backend as K | |
from keras.layers import Activation | |
from keras.layers import AtrousConv2D | |
from keras.layers import Conv2D | |
from keras.layers import Dense | |
from keras.layers import Flatten | |
from keras.layers import GlobalAveragePooling2D | |
from keras.layers import Input |
This file contains hidden or 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
# MIT License | |
# | |
# Copyright (c) 2016 David Sandberg | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: |
This file contains hidden or 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 string, random | |
vc = cv2.VideoCapture(0) | |
if vc.isOpened(): # try to get the first frame | |
rval, frame = vc.read() | |
else: | |
rval = False |
OlderNewer