Skip to content

Instantly share code, notes, and snippets.

@tiagocardosos
tiagocardosos / python_ubuntu_docker.sh
Last active June 21, 2022 11:09
How to Install Python 3.6.* in Ubuntu 16.04 LTS - Docker
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:jonathonf/python-3.6
sudo apt-get update
sudo apt-get install python3.6 libpython3.6
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.5 2
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 1
sudo rm /usr/bin/python3
@TPeterW
TPeterW / kurtosis.cpp
Last active February 28, 2018 08:29
C++ Kurtosis with correction for bias (using openCV Mat)
#include <cmath>
#include <opencv2/core.hpp>
using namespace cv;
using namespace std;
Mat_<float>
ft_kurtosis(cv::Mat_<float> timeseries, int numWindows, int windowLen)
{
@morgangiraud
morgangiraud / nvidia-reinstall.sh
Last active December 11, 2020 15:48
Script to reinstall manually nvidia drivers,cuda 9.0 and cudnn 7.1 on Ubuntu 16.04
# Remove anything linked to nvidia
sudo apt-get remove --purge nvidia*
sudo apt-get autoremove
# Search for your driver
apt search nvidia
# Select one driver (the last one is a decent choice)
sudo apt install nvidia-370
@haje01
haje01 / TensorFlow 시작하기.md
Last active May 3, 2024 07:30
TensorFlow 시작하기

텐서플로우 시작하기

글쓴이: 김정주([email protected])

이 문서는 텐서플로우 공식 페이지 내용을 바탕으로 만들어졌습니다.


소개

텐서플로우(TensorFlow)는 기계 학습과 딥러닝을 위해 구글에서 만든 오픈소스 라이브러리입니다. 데이터 플로우 그래프(Data Flow Graph) 방식을 사용하였습니다.