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 pydoc import locate | |
import tensorflow as tf | |
import numpy as np | |
from seq2seq import tasks, models | |
from seq2seq.training import utils as training_utils | |
from seq2seq.tasks.inference_task import InferenceTask, unbatch_dict | |
class DecodeOnce(InferenceTask): | |
''' |
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
var fs = require('fs'); | |
var request = require('request'); | |
var cheerio = require('cheerio'); | |
var url = "http://www.washington.edu/students/timeschd/AUT2014/"; | |
request(url, function (error, response, html) { | |
if (!error && response.statusCode == 200) { | |
var $ = cheerio.load(html); | |
var data = {}; |