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 tensorflow as tf | |
from tensorflow.contrib.tensorboard.plugins import projector | |
from process_data import process_data | |
VOCAB_SIZE = 50000 | |
BATCH_SIZE = 128 | |
EMBED_SIZE = 128 # dimension of the word embedding vectors | |
SKIP_WINDOW = 1 # the context window |
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 __future__ import absolute_import | |
from __future__ import division | |
from __future__ import print_function | |
import numpy as np | |
import tensorflow as tf | |
from tensorflow.contrib.tensorboard.plugins import projector | |
from process_data import process_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
# The function localize takes the following arguments: | |
# | |
# colors: | |
# 2D list, each entry either 'R' (for red cell) or 'G' (for green cell) | |
# | |
# measurements: | |
# list of measurements taken by the robot, each entry either 'R' or 'G' | |
# | |
# motions: | |
# list of actions taken by the robot, each entry of the form [dy,dx], |
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
bazel build --copt="-D_GLIBCXX_USE_CXX11_ABI=0" -c opt //tensorflow/core/user_ops:zero_out.so | |
INFO: Found 1 target... | |
INFO: From Compiling external/protobuf/src/google/protobuf/util/internal/json_escaping.cc: | |
external/protobuf/src/google/protobuf/util/internal/json_escaping.cc:90:13: warning: unused function 'IsHighSurrogate' [-Wunused-function] | |
inline bool IsHighSurrogate(uint16 c) { | |
^ | |
external/protobuf/src/google/protobuf/util/internal/json_escaping.cc:102:13: warning: unused function 'IsLowSurrogate' [-Wunused-function] | |
inline bool IsLowSurrogate(uint16 c) { | |
^ | |
external/protobuf/src/google/protobuf/util/internal/json_escaping.cc:122:13: warning: unused function 'IsSupplementalCodePoint' [-Wunused-function] |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure(2) do |config| | |
config.vm.box = "ubuntu/trusty64" | |
config.vm.provider "virtualbox" do |v| | |
v.memory = 1024 | |
v.cpus = 1 | |
end | |
config.vm.network "private_network", type: "dhcp" |
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
body { | |
font-size: 40px !important; | |
} | |
h1 { | |
font-size: 64px !important; | |
} | |
h2 { | |
font-size: 52px !important; |