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
def generator(z, out_channel_dim, is_train=True, alpha=0.2): | |
""" | |
Create the generator network | |
:param z: Input z | |
:param out_channel_dim: The number of channels in the output image | |
:param is_train: Boolean if generator is being used for training | |
:return: The tensor output of the generator | |
""" | |
with tf.variable_scope("generator", reuse=(not is_train)): |
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
#!/usr/bin/env python | |
import sys | |
import logging | |
import requests | |
import time | |
import pytz | |
from dateutil import parser | |
from datetime import datetime, timedelta | |
utc = pytz.UTC |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 requests | |
import json | |
TOKEN = '... insert your token ...' | |
headers = {'Authorization': TOKEN, 'Content-Length': '0'} | |
CREATE_REQUEST_URL = 'https://review-api.udacity.com/api/v1/submission_requests.json' | |
project_language_pairs = [ | |
{u'project_id': 238, u'language': u'en-us'}, # SDC: Traffic Sign Classification |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
food | price | |
---|---|---|
pizza | 0 | |
sushi | 12 | |
chinese | 10 |
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
class | text | |
---|---|---|
positive | Wow... Loved this place. | |
negative | Crust is not good. | |
negative | Not tasty and the texture was just nasty. | |
positive | Stopped by during the late May bank holiday off Rick Steve recommendation and loved it. | |
positive | The selection on the menu was great and so were the prices. | |
negative | Now I am getting angry and I want my damn pho. | |
negative | Honeslty it didn't taste THAT fresh.) | |
negative | The potatoes were like rubber and you could tell they had been made up ahead of time being kept under a warmer. | |
positive | The fries were great too. |
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
Airline Tweets | |
---|---|
@VirginAmerica plus you've added commercials to the experience... tacky. | |
@VirginAmerica seriously would pay $30 a flight for seats that didn't have this playing. it's really the only bad thing about flying VA | |
@VirginAmerica do you miss me? Don't worry we'll be together very soon. | |
@VirginAmerica Are the hours of operation for the Club at SFO that are posted online current? | |
@VirginAmerica awaiting my return phone call, just would prefer to use your online self-service option :( |
OlderNewer