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
/** | |
* Object Recognition from Webcam | |
* | |
* by Daniel Kyu Hwa Kohlsdorf | |
* mailto: dkohlsdorf@gmail.com | |
*/ | |
'use strict'; | |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#define MIN(x, y) (((x) < (y)) ? (x) : (y)) | |
typedef struct { | |
int *data; |
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 numpy as np | |
import matplotlib.pyplot as plt | |
import tensorflow as tf | |
import tensorflow.keras.layers as layers | |
import tensorflow.keras.losses as loss | |
import tensorflow_datasets.public_api as tfds | |
from sys import argv | |
from random import Random | |
from os import walk |
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
from lxml import html | |
import requests | |
import urllib.request | |
BASE_URL = 'https://papers.nips.cc/' | |
page = requests.get(BASE_URL) | |
tree = html.fromstring(page.content) | |
books = [ href.attrib['href'] for href in tree.xpath('//a') if 'book' in href.attrib['href']] |
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 shutil | |
import os | |
import pandas as pd | |
import numpy as np | |
def type_label(x): | |
labels = np.zeros(4) | |
for i in x: | |
labels[i] += 1 | |
return np.argmax(labels) |
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.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder