Skip to content

Instantly share code, notes, and snippets.

Avatar

Arul Selvam SelvamArul

  • Universität Bonn
  • Bonn, Germany
View GitHub Profile
View xorg_integrated_Intel_and_cuda_GPU.conf
Section "ServerLayout"
Identifier "layout"
Screen 0 "intel"
Screen 1 "nvidia1"
EndSection
Section "Device"
Identifier "intel"
Driver "intel"
BusID "PCI:0@0:2:0"
@SelvamArul
SelvamArul / red_cube_8_unique.obj
Created Jul 24, 2019
cube with per vertex coloring and 8 Unique vertices.
View red_cube_8_unique.obj
#
# NOTE: Don't use this unless you know what it is meant for.
# cube with per vertex coloring and 8 Unique vertices.
# a vertex is considered unique if it has all its attributes unique, not just the position.
#
v 0.0 0.0 0.0 255 0 0
v 0.0 0.0 1.0 255 0 0
v 0.0 1.0 0.0 255 0 0
v 0.0 1.0 1.0 255 0 0
v 1.0 0.0 0.0 255 0 0
@SelvamArul
SelvamArul / red_cube.obj
Created Jun 25, 2019
Unit cube with per vertex coloring.
View red_cube.obj
#
# cube with per vertex coloring.
#
v 0.0 0.0 0.0 255 0 0
v 0.0 0.0 1.0 255 0 0
v 0.0 1.0 0.0 255 0 0
v 0.0 1.0 1.0 255 0 0
v 1.0 0.0 0.0 255 0 0
v 1.0 0.0 1.0 255 0 0
v 1.0 1.0 0.0 255 0 0
@SelvamArul
SelvamArul / break_out.py
Created Dec 19, 2017
DQN for gym breakout game.
View break_out.py
import gym
import math
import random
import numpy as np
from collections import namedtuple
from itertools import count
from copy import deepcopy
from PIL import Image
import visdom
You can’t perform that action at this time.