Skip to content

Instantly share code, notes, and snippets.

View alierkan's full-sized avatar

Ali Erkan alierkan

  • Bogazici University
View GitHub Profile
# Written by Luis Mesas
import threading
import time
import cv2
# Define video capture class
class VideoCaptureAsync:
def __init__(self, src=0, width=640, height=480, driver=None):
self.src = src
if driver is None:
@alierkan
alierkan / w2v.ipynb
Created December 10, 2020 13:42 — forked from mbednarski/w2v.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@alierkan
alierkan / intel-nvidia.md
Created December 22, 2019 14:42 — forked from wangruohui/intel-nvidia.md
Intel for display, Nvidia for computing

Intel for display, NVIDIA for computing

This guide will show you how to use Intel graphics for rendering display and NVIDIA graphics for CUDA computing on Ubuntu 18.04 desktop.

I made this work on an ordinary gaming PC with two graphics devices, an Intel UHD Graphics 630 plus an NVIDIA GeForce GTX 1080 Ti. Both of them can be shown via lspci | grep VGA.

00:02.0 VGA compatible controller: Intel Corporation Device 3e92
01:00.0 VGA compatible controller: NVIDIA Corporation GP102 [GeForce GTX 1080 Ti] (rev a1)
@alierkan
alierkan / Convolutional Neural Network For Sentence Classification.md Summary of paper "Convolutional Neural Network For Sentence Classification"

Convolutional Neural Network For Sentence Classification

Introduction

Architecture

@alierkan
alierkan / [FEDORA] gitkraken
Created October 26, 2017 11:00 — forked from aelkz/[FEDORA] gitkraken
How to install gitkraken on Fedora 25 + launcher icon
#!/bin/bash
# Download GitKraken
wget https://release.gitkraken.com/linux/gitkraken-amd64.tar.gz
# copy the downloaded file into /opt directory
cp gitkraken-amd64.tar.gz /opt/gitkraken
cd /opt