Skip to content

Instantly share code, notes, and snippets.

View ktl014's full-sized avatar

Kevin Tran Vu Le ktl014

  • University of California, San Diego
  • La Jolla, CA
View GitHub Profile
input: "image"
input_dim: 1
input_dim: 3
input_dim: 1 # This value will be defined at runtime
input_dim: 1 # This value will be defined at runtime
layer {
name: "conv1_1"
type: "Convolution"
bottom: "image"
top: "conv1_1"
# ================== Loading & Exploring JSON ================== #
# Load JSON: json_data
with open("a_movie.json") as json_file:
json_data = json.load(json_file)
# Print each key-value pair in json_data
for k in json_data.keys():
print(k + ': ', json_data[k])
# ================== Query API & decode JSON data ================== #
@ktl014
ktl014 / 0_reuse_code.js
Created April 26, 2017 04:12
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console