Skip to content

Instantly share code, notes, and snippets.


Alexander Wong awwong1

View GitHub Profile
awwong1 /
Created Apr 5, 2020
Torchprof v1.0.0 limitation
!pip install -U torch torchvision
!pip install cython; pip install -U 'git+'
!pip install git+
!git clone detectron2_repo
!pip install -e detectron2_repo
!pip install opencv-python
!pip install torchprof
awwong1 / A0001.dat
Last active Mar 25, 2020
Physionet 2020 Challenge Data
View main.tex
\usepackage{tabularx} % table layout with line breaks
\usepackage{color} % custom grey color support
\usepackage{soul} % text highlighting support
\usepackage{hyperref} % URL link support
\definecolor{lightgrey}{rgb}{0.925, 0.925, 0.925}
awwong1 /
Last active Nov 1, 2019
PyTorch Installation for Raspberry Pi 3B
View moroccanLentilStew
# Moroccan Lentil Stew
#recipe/vegetarian #recipe/vegan #recipe/dinner
Feeds 4
### Ingredients
* 1 C (125g)Yellow Onion medium dice
* 1 3/4 tsp Cinnamon ground
* 1 tsp Cumin ground
awwong1 /
Last active Apr 10, 2019
Patience Deep Learning Setup

Patience Deep Learning Setup

  • Ubuntu 18.04.2
  • NVIDIA Titan Xp
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.2 LTS
awwong1 /
Created Apr 2, 2019 — forked from statsmaths/
Setting up Nvidia Titan X on Ubuntu 17.10

Deep Learning Set-up

Here, I am documenting the steps I took to get my GPU set up. I do not expect these to be interesting to anyone else, but am making them public in case they may help anyone. Note that I did not start with a cold system, so these notes are likely incomplete. Summary of the fully installed system:

  • OS: Ubuntu 17.10
  • Card: TITAN Xp (memory: 12 GB)
  • Driver: nvidia-387/artful (387.34-0ubuntu0~gpu17.10.2)

Keybase proof

I hereby claim:

  • I am awwong1 on github.
  • I am udia ( on keybase.
  • I have a public key ASC5z46xiO_qIts1_JlSVip9wf_RI54bxkYjTL8NimwdcAo

To claim this, I am signing this object:

View insyn_output.txt
tokenized ../google-auth-library-java/credentials/javatests/com/google/auth/, performed MOD EXTENDS at 88
tokenized ../google-auth-library-java/credentials/java/com/google/auth/, performed MOD SEMI at 86
tokenized ../google-auth-library-java/credentials/java/com/google/auth/, performed MOD ENUM at 56
tokenized ../google-auth-library-java/credentials/java/com/google/auth/, performed MOD LTLTEQ at 6
tokenized ../google-auth-library-java/oauth2_http/javatests/com/google/auth/, performed MOD STAR at 37
tokenized ../google-auth-library-java/oauth2_http/javatests/com/google/auth/, performed MOD BARBAR at 21
tokenized ../google-auth-library-java/oauth2_http/javatests/com/google/auth/http/, performed ADD PLUSPLUS at 251
tokenized ../google-auth-library-java/oauth2_http/javatests/com/google/auth/oauth2/, pe
View LabelTrainedJavaTokenHMM.1.json
This file has been truncated, but you can view the full file.
"class" : "HiddenMarkovModel",
"name" : "LabelTrainedJaveTokenHMM",
"start" : {
"class" : "State",
"distribution" : null,
"name" : "LabelTrainedJaveTokenHMM-start",
"weight" : 1.0