Skip to content

Instantly share code, notes, and snippets.

View JohnLyu94's full-sized avatar
🐈
Coding, day in and day out

Suxing JohnLyu94

🐈
Coding, day in and day out
  • Japan
  • 00:57 (UTC -12:00)
View GitHub Profile
@philwo
philwo / README.md
Created November 11, 2019 14:18
How to build TensorFlow 2.0 on Ubuntu 18.04 (x86_64) with Bazelisk

This is how I managed to build TensorFlow 2.0 on Ubuntu 18.04 (x86_64) with Bazelisk:

$ sudo apt update
$ sudo apt full-upgrade
$ sudo apt install curl

# Install Bazelisk.
$ sudo curl -Lo /usr/local/bin/bazel https://github.com/bazelbuild/bazelisk/releases/download/v1.1.0/bazelisk-linux-amd64
$ sudo chmod +x /usr/local/bin/bazel
@talespaiva
talespaiva / kinematic_interpolation.py
Created February 12, 2016 09:29
Python reimplementation of kinematic interpolation algorith (originally written in R). Reference: Long, JA (2015) Kinematic interpolation of movement data. International Journal of Geographical Information Science. DOI: 10.1080/13658816.2015.1081909.
import pandas as pnd
import numpy as np
import matplotlib.pyplot as plt
def pos(t, x1, v1, b, c):
return x1 + v1*t + (t**2)*b/2 + (t**3)*c/6
def kinematic_interpolation(xytvv, times):
@danoneata
danoneata / fisher_vector.py
Last active December 6, 2023 06:25
Fisher vectors with sklearn
import numpy as np
import pdb
from sklearn.datasets import make_classification
from sklearn.mixture import GaussianMixture as GMM
def fisher_vector(xx, gmm):
"""Computes the Fisher vector on a set of descriptors.
@rxaviers
rxaviers / gist:7360908
Last active June 30, 2024 10:49
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue: