Skip to content

Instantly share code, notes, and snippets.

View winnerineast's full-sized avatar

Winnerineast Lee winnerineast

View GitHub Profile
@winnerineast
winnerineast / DetectrononTX2.md
Created May 20, 2020 02:23 — forked from Ayke/DetectrononTX2.md
Configure Detectron 2 on nvidia TX2

Install Detectron 2

As it says here, https://github.com/facebookresearch/detectron2/blob/master/INSTALL.md we need to install a few modules before installing detectron.

The only part can be difficult is to install pytorch on TX2 since TX2 is aarch64 architecture, the installation instructions on pytorch website do not work. We need to install via this page: https://devtalk.nvidia.com/default/topic/1049071/jetson-nano/pytorch-for-jetson-nano/

To upgrade pyyaml, just pip3 install pyyaml --ignore-installed

Also you might want to keep using python3 and pip3 to avoid using python2

i
me
my
myself
we
our
ours
ourselves
you
your
@winnerineast
winnerineast / tensorflow_macos_sse41_sse42_avx_avx2_fma_cuda.md
Last active August 1, 2020 05:56 — forked from philster/tensorflow_macos_sse41_sse42_avx_avx2_fma_cuda.md
Build TensorFlow 1.9 with AVX2/FMA on macOS High Sierra 10.13

Build TensorFlow 1.9 with AVX2/FMA on macOS High Sierra 10.13 (updated July 22, 2018)

These instructions were inspired by Mistobaan's gist, ageitgey's gist, and mattiasarro's tutorial, and Philster's gist

Background

I always encountered the following warnings when running my scripts using the precompiled TensorFlow Python package:

W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and c
@winnerineast
winnerineast / awesome-kge.md
Created May 28, 2018 11:04 — forked from mommi84/awesome-kge.md
Awesome Knowledge Graph Embedding Approaches

Awesome Knowledge Graph Embedding Approaches

Awesome

This list contains repositories of libraries and approaches for knowledge graph embeddings, which are vector representations of entities and relations in a multi-relational directed labelled graph. Licensed under CC0.

Libraries

@winnerineast
winnerineast / install_caffe.sh
Created October 3, 2017 17:52 — forked from doctorpangloss/install_caffe.sh
Installing Caffe on Mac 10.11.5 and later in the 10.11 series, and 10.12.1 and later in the 10.12 series
#!/bin/sh
# Install brew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Apple hides old versions of stuff at https://developer.apple.com/download/more/
# Install the latest XCode (8.0).
# We used to install the XCode Command Line Tools 7.3 here, but that would just upset the most recent versions of brew.
# So we're going to install all our brew dependencies first, and then downgrade the tools. You can switch back after
# you have installed caffe.
# Install CUDA toolkit 8.0 release candidate
# Register and download from https://developer.nvidia.com/cuda-release-candidate-download
@winnerineast
winnerineast / install_spark_centos7.sh
Created March 6, 2017 07:50 — forked from darcyliu/install_spark_centos7.sh
Install Spark on CentOS 7
#!/bin/bash
# Install Spark on CentOS 7
yum install java -y
java -version
yum install wget -y
wget http://downloads.typesafe.com/scala/2.11.7/scala-2.11.7.tgz
tar xvf scala-2.11.7.tgz
sudo mv scala-2.11.7 /usr/lib
sudo ln -s /usr/lib/scala-2.11.7 /usr/lib/scala