View gist:cb9af683cb5192ce7690b28c3feeddb2
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
-- Read more about this program in the official Elm guide: | |
-- https://guide.elm-lang.org/architecture/effects/http.html | |
import Html exposing (..) | |
import Html.Attributes exposing (..) | |
import Html.Events exposing (..) | |
import Http | |
import Json.Decode as Decode | |
View reactor_debug_index.html
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
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Title</title> | |
<!-- Put the path to your styles here --> | |
<link rel="stylesheet" href="/static/styles.css"> | |
</head> | |
<body> |
View reactor_compiled_index.html
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
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Title</title> | |
<!-- Put the path to your styles here --> | |
<link rel="stylesheet" href="/static/styles.css"> | |
</head> | |
<body> |
View Main.elm
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
module Main exposing (main) | |
import Html exposing (..) | |
-- MODEL | |
type alias Model = | |
{ |
View svhn_decompress.py
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 cv2 | |
import numpy as np | |
import os | |
import scipy.io as sio | |
def write_files(mat_input_file, output_dir): | |
if not os.path.exists(mat_input_file): | |
raise Exception('Path does not exist: ' + mat_input_file) |