search/tweets
では一週間以上前のツイートは検索できないので注意
search/universal
は公式のConsumerKey/ConsumerSecretでないと使用できない
当方では一切の責任を負いません
#!/usr/bin/env bash | |
# | |
# Author: postmodern | |
# Description: | |
# Rips a DVD to a H.264 MKV file, with chapters and tags. Ignores any | |
# bad blocks or sectors on the DVD. | |
# Dependencies: | |
# * gddrescue | |
# * handbrake-cli | |
# * mkvtoolnix |
!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import cv2 | |
import argparse | |
import os | |
import numpy | |
parser = argparse.ArgumentParser() | |
parser.add_argument("source_dir") | |
parser.add_argument("target_dir") |
#!/usr/bin/env python | |
# coding: utf-8 | |
"""Create Sample Sequence Data""" | |
import random | |
from cPickle import dump, HIGHEST_PROTOCOL | |
import tensorflow as tf | |
import json |
#!/usr/bin/env python | |
# coding: utf-8 | |
"""Compare data distribution""" | |
import json | |
from itertools import chain | |
import cPickle as pickle | |
import tensorflow as tf | |
import pandas as pd |
#!/bin/sh | |
DATASET_PATH=${DATASET_PATH:-"sample/seq_dataset.pkl"} | |
BP="result/rnn/$(date '+%Y%m%d-%H%M%S')" | |
BASE_PATH=${BASE_PATH:-$BP} | |
MODEL_PATH="${BASE_PATH}/seq_model.pkl" | |
SAMPLING_PATH="${BASE_PATH}/seq_sample.txt" | |
FIGURE_PATH="${BASE_PATH}/figure.png" |
BASE_PATH=result/rnn/pad.ns-25.bs-20.nl-2.hs-20 sh rnn.sh --padding t --num_steps 25 --batch_size 20 --num_layers 2 --hidden_size 20 | |
# かなり良かった | |
BASE_PATH=result/rnn/pad.ns-25.bs-40.nl-2.hs-20 sh rnn.sh --padding t --num_steps 25 --batch_size 40 --num_layers 2 --hidden_size 20 | |
# 少し悪かった(2->eが多かったようだ) | |
BASE_PATH=result/rnn/nopad.ns-25.bs-40.nl-2.hs-20 sh rnn.sh --nopadding --num_steps 25 --batch_size 40 --num_layers 2 --hidden_size 20 | |
BASE_PATH=result/rnn/pad.ns-25.bs-100.nl-2.hs-20 sh rnn.sh --padding t --num_steps 25 --batch_size 100 --num_layers 2 --hidden_size 20 | |
BASE_PATH=result/rnn/nopad.ns-25.bs-100.nl-2.hs-20 sh rnn.sh --nopadding --num_steps 25 --batch_size 100 --num_layers 2 --hidden_size 20 |
curl -H "X-Line-ChannelID: {Channel ID}" \ | |
-H "X-Line-ChannelSecret: {Channe lSecret}" \ | |
-H "X-Line-Trusted-User-With-ACL: {MID}" \ | |
"https://trialbot-api.line.me/v1/profiles?mids={MID}" |