Skip to content

Instantly share code, notes, and snippets.

Avatar

Willian Z Willian-Zhang

View GitHub Profile
@Willian-Zhang
Willian-Zhang / tensorflow_1_8_high_sierra_gpu.md
Last active Jan 5, 2020
Install TensorFlow 1.8 on macOS High Sierra 10.13.4 with CUDA
View tensorflow_1_8_high_sierra_gpu.md
@Willian-Zhang
Willian-Zhang / tensorflow_1_7_high_sierra_gpu.md
Last active Feb 2, 2020 — forked from pavelmalik/tensorflow_1_7_high_sierra_gpu.md
Install Tensorflow 1.7 on macOS High Sierra 10.13.4 with CUDA and stock python
View tensorflow_1_7_high_sierra_gpu.md

Tensorflow 1.7 with CUDA on macOS High Sierra 10.13.4 for eGPU

Largely based on the Tensorflow 1.6 gist, and Tensorflow 1.7 gist for xcode, this should hopefully simplify things a bit.

Requirements

  • NVIDIA Web-Drivers 387.10.10.10.30.103 for 10.13.4
  • CUDA-Drivers 387.178
  • CUDA 9.1 Toolkit
View extract_react_form_data.js
$('.reactable-data').find('tr').toArray()
.map(tr=>
$(tr).find('td').toArray()
.map(td=>
[$(td).attr('label').replace(',[object Object]',''),
$(td).attr('value') && $(td).attr('value').match('[object Object]') ? $(td).text() : $(td).attr('value')
]
)
.reduce((map, tuple) => {
if(tuple[0] != ' '){
@Willian-Zhang
Willian-Zhang / TissueBox.pyde
Created Feb 24, 2018
Tissue Box implementation for Arduino with Processing.py
View TissueBox.pyde
add_library("serial")
add_library("arduino")
from coordinate import *
from scheduler import Scheduler
# from entities import *
# TODO: move to seperate file
# === entities ===
class Button:
@Willian-Zhang
Willian-Zhang / mnist-cnn.md
Last active May 11, 2018
Tensorflow Benchmark
View mnist-cnn.md

How to run

wget https://gist.github.com/Willian-Zhang/290dceb96679c8f413e42491c92722b0/raw/mnist-cnn.py
python3 mnist-cnn.py
You can’t perform that action at this time.