Skip to content

Instantly share code, notes, and snippets.

View awwong1's full-sized avatar
🕳️
some

Alexander Wong awwong1

🕳️
some
View GitHub Profile
@awwong1
awwong1 / countries.json
Created May 7, 2022 21:10
All active ISO 3166-1 Countries, Alpha-2, Alpha-3, Numeric Codes (May 2022)
[
{
"name": "Andorra",
"alpha2": "AD",
"alpha3": "AND",
"numeric": "020"
},
{
"name": "United Arab Emirates",
"alpha2": "AE",
@awwong1
awwong1 / issue-7.md
Created April 5, 2020 17:12
Torchprof v1.0.0 limitation
!pip install -U torch torchvision
!pip install cython; pip install -U 'git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI'
!pip install git+https://github.com/facebookresearch/fvcore.git
!git clone https://github.com/facebookresearch/detectron2 detectron2_repo
!pip install -e detectron2_repo
!pip install opencv-python
!pip install torchprof
@awwong1
awwong1 / A0001.dat
Last active March 25, 2020 00:15
Physionet 2020 Challenge Data
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[margin=20mm]{geometry}
\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
awwong1 / pytorch-rpi3.md
Last active March 27, 2024 20:52
PyTorch Installation for Raspberry Pi 3B
# 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
awwong1 / gpu_setup.md
Last active April 10, 2019 20:48
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
awwong1 / gpu_setup.md
Created April 2, 2019 00:41 — forked from statsmaths/gpu_setup.md
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 (https://keybase.io/udia) on keybase.
  • I have a public key ASC5z46xiO_qIts1_JlSVip9wf_RI54bxkYjTL8NimwdcAo

To claim this, I am signing this object:

---- SUMMARY OF CHANGES ----
tokenized ../google-auth-library-java/credentials/javatests/com/google/auth/SigningExceptionTest.java, performed MOD EXTENDS at 88
tokenized ../google-auth-library-java/credentials/java/com/google/auth/ServiceAccountSigner.java, performed MOD SEMI at 86
tokenized ../google-auth-library-java/credentials/java/com/google/auth/Credentials.java, performed MOD ENUM at 56
tokenized ../google-auth-library-java/credentials/java/com/google/auth/RequestMetadataCallback.java, performed MOD LTLTEQ at 6
tokenized ../google-auth-library-java/oauth2_http/javatests/com/google/auth/TestClock.java, performed MOD STAR at 37
tokenized ../google-auth-library-java/oauth2_http/javatests/com/google/auth/TestUtils.java, performed MOD BARBAR at 21
tokenized ../google-auth-library-java/oauth2_http/javatests/com/google/auth/http/HttpCredentialsAdapterTest.java, performed ADD PLUSPLUS at 251
tokenized ../google-auth-library-java/oauth2_http/javatests/com/google/auth/oauth2/MockMetadataServerTransport.java, pe