56.7% top1 center crop accuracy (trained in torch)
https://gist.github.com/szagoruyko/dd032c529048492630fc
62.6% top1 center crop accuracy (trained in torch)
TRUNCATE TABLE time_zone; | |
TRUNCATE TABLE time_zone_name; | |
TRUNCATE TABLE time_zone_transition; | |
TRUNCATE TABLE time_zone_transition_type; | |
INSERT INTO time_zone (Use_leap_seconds) VALUES ('N'); | |
SET @time_zone_id= LAST_INSERT_ID(); | |
INSERT INTO time_zone_name (Name, Time_zone_id) VALUES ('Africa/Abidjan', @time_zone_id); | |
INSERT INTO time_zone_transition (Time_zone_id, Transition_time, Transition_type_id) VALUES | |
(@time_zone_id, -1830383032, 1) | |
; |
-- Prepare temporary table | |
CREATE TABLE android_gpslocationevent LIKE elog_user_test3_android; | |
-- Extract GPS location data from the android sensor data table | |
INSERT IGNORE INTO android_gpslocationevent | |
SELECT * | |
FROM elog_user_test3_android | |
WHERE sensor = 'GPSLocationEvent'; | |
-- Prepare GPS table |
-- Source: http://mysqlserverteam.com/mysql-5-7-and-gis-an-example/ | |
-- getAddress SQL for the OSM database | |
DELIMITER ;; | |
CREATE PROCEDURE `getAddress`(IN lat1 double, IN log1 double) | |
BEGIN | |
SELECT | |
nodetags.id, | |
GROUP_CONCAT(CONCAT(nodetags.k,"=",nodetags.v) SEPARATOR ',') AS address, | |
fp.distance_in_meters | |
FROM |
-- | |
-- PostgreSQL database dump | |
-- SQL version of getClassTypes array defined in Nominatim/lib.php | |
-- Excerpted and transformed for PQSQL by Pil Ho Kim, 2014 | |
-- This creates a classtype table and put class type data extracted from Nominatim source codes | |
SET statement_timeout = 0; | |
SET lock_timeout = 0; | |
SET client_encoding = 'UTF8'; | |
SET standard_conforming_strings = on; |
fs = require('fs') | |
http = require('http') | |
https = require('https') | |
express = require('express') | |
path = require 'path' | |
_ = require('underscore') | |
sessionToken = "secretString" | |
secretUploadPass = "Change me" | |
secretPass = "Change me too" |
# Node-WebKit CheatSheet | |
# Download: https://github.com/rogerwang/node-webkit#downloads | |
# Old Versions: https://github.com/rogerwang/node-webkit/wiki/Downloads-of-old-versions | |
# Wiki: https://github.com/rogerwang/node-webkit/wiki | |
# How: https://github.com/rogerwang/node-webkit/wiki/How-node.js-is-integrated-with-chromium | |
# 1. Run your application. | |
# https://github.com/rogerwang/node-webkit/wiki/How-to-run-apps |
SUBSYSTEMS=="usb",KERNEL=="sd[a-h]1",SYMLINK+="usbkey", RUN+="/home/pi/management/onInsertUsb.sh" | |
SUBSYSTEMS=="usb",KERNEL=="sd[a-h]1",ACTION=="remove", RUN+="/home/pi/management/onRemoveUsb.sh" |
#!/bin/bash | |
# RPI USB stick backup script running on USB insert event | |
# by Pil Ho Kim, pilhokim@gmail.com | |
# Revision History | |
# January 2nd, 2014: Modified from the old USB link insert detection version | |
# Refereces | |
# USB stick insertion detection: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=32&t=41056 |
#!/usr/bin/python | |
import sys, getopt, subprocess, smtplib, re | |
# read arugments | |
def main(argv): | |
message = '' | |
output = '' | |
try: | |
opts, args = getopt.getopt(argv,"hm:o",["message=","output="]) |
56.7% top1 center crop accuracy (trained in torch)
https://gist.github.com/szagoruyko/dd032c529048492630fc
62.6% top1 center crop accuracy (trained in torch)