Skip to content

Instantly share code, notes, and snippets.

View amiller's full-sized avatar

Andrew Miller amiller

View GitHub Profile
{'info_gain': 0.035785998731970081}),
('\x80\x02}q\x01(U\x02vxq\x02G\xc0f4\xcd\xfd\xbdhDU\x02vyq\x03G@j\r\xcc\xd2\x0c\xaa\xffU\x07threshsq\x04cnumpy.core.multiarray\n_reconstruct\nq\x05cnumpy\nndarray\nq\x06K\x00\x85U\x01b\x87Rq\x07(K\x01K\x01K\x01\x86cnumpy\ndtype\nq\x08U\x02i4K\x00K\x01\x87Rq\t(K\x03U\x01<NNNJ\xff\xff\xff\xffJ\xff\xff\xff\xffK\x00tb\x89U\x04\x02\x00\x00\x00tbU\x02uyq\nG\xc0\xb3a\x9f\xef4\xf3\xcfU\x02uxq\x0bG@\xb0\x84\xe4%\x13\xf5ru.',
('\x80\x02}q\x01(U\x02vxq\x02G\xc0%\xde\xa7i\xb1\xef>U\x02vyq\x03G\xc0F\xe3x\xe3q\xee\xaaU\x07threshsq\x04cnumpy.core.multiarray\n_reconstruct\nq\x05cnumpy\nndarray\nq\x06K\x00\x85U\x01b\x87Rq\x07(K\x01K\x01K\x01\x86cnumpy\ndtype\nq\x08U\x02i4K\x00K\x01\x87Rq\t(K\x03U\x01<NNNJ\xff\xff\xff\xffJ\xff\xff\xff\xffK\x00tb\x89U\x04>\x00\x00\x00tbU\x02uyq\nG@\xbdN\x1bW\x89\x15\xf1U\x02uxq\x0bG@\x9c\x00*\xdf9\xc6iu.',
(array([ 0.52941176, 0.47058824]),),
(array([ 0.06824926, 0.93175074]),),
{'info_gain': 0.062480845126796566}),
('\x80\x0
('\x80\x02}q\x01(U\x02vxq\x02G\xc0\xb9\xc5v=\x8e4 U\x02vyq\x03G@\xa1\xf1\xd98t\t\xa9U\x07threshsq\x04cnumpy.core.multiarray\n_reconstruct\nq\x05cnumpy\nndarray\nq\x06K\x00\x85U\x01b\x87Rq\x07(K\x01K\x01K\x01\x86cnumpy\ndtype\nq\x08U\x02i4K\x00K\x01\x87Rq\t(K\x03U\x01<NNNJ\xff\xff\xff\xffJ\xff\xff\xff\xffK\x00tb\x89U\x04\xef\xff\xff\xfftbU\x02uyq\nG\xc0\x9f\xa3G\x87\xfaO\x15U\x02uxq\x0bG@\xb6\xb7\xe6F\xc1\xd8\x1du.',
('\x80\x02}q\x01(U\x02vxq\x02G@\xbc\x02t\xedG\x98\xd6U\x02vyq\x03G\xc0\xa1\xa4\xd8\xdb\xfc4\x92U\x07threshsq\x04cnumpy.core.multiarray\n_reconstruct\nq\x05cnumpy\nndarray\nq\x06K\x00\x85U\x01b\x87Rq\x07(K\x01K\x01K\x01\x86cnumpy\ndtype\nq\x08U\x02i4K\x00K\x01\x87Rq\t(K\x03U\x01<NNNJ\xff\xff\xff\xffJ\xff\xff\xff\xffK\x00tb\x89U\x04\xd6\x02\x00\x00tbU\x02uyq\nG@\xa0oe\xe2\xb8\xc1\x01U\x02uxq\x0bG\xc0\xba\x177j\xecw_u.',
('\x80\x02}q\x01(U\x02vxq\x02G\xc0b\xad\x88\xbd\x86+jU\x02vyq\x03G@gN\x98\xdb\xac\xff\xecU\x07threshsq\x04cnumpy.core.multiarray\n_reconstruct\nq\x05cnumpy\nndarray\nq\x06K\x00\x8
https://chart.googleapis.com/chart?cht=gv:dot&chl=digraph{0[label="I[0.061699]P[-17 <= u[y:-2024.819855, 5815.899517] v[y:2296.924259, -6597.461877]]"];1[label="I[0.027467]P[726 <= u[y:2103.698995, -6679.216475] v[y:-2258.423553, 7170.456746]]"];2[label="I[0.023951]P[-13 <= u[y:-4610.309427, 3694.626054] v[y:186.456159, -149.422942]]"];3[label="I[0.041783]P[884 <= u[y:7331.522459, 2837.332862] v[y:-4389.154450, -1698.622920]]"];4[label="I[0.019248]P[0 <= u[y:15.200892, 5320.479355] v[y:-20.641951, -7224.528026]]"];5[label="0:0.9192 1:0.08076"];6[label="0:0.7691 1:0.2309"];7[label="1:1 0:0"];8[label="I[0.020582]P[0 <= u[y:168.995414, -262.596070] v[y:-2156.177674, 3350.410269]]"];9[label="I[0.030850]P[-35 <= u[y:1928.246833, -443.330127] v[y:-5313.338270, 1221.609454]]"];10[label="0:0.6557 1:0.3443"];11[label="0:0.8766 1:0.1234"];12[label="I[0.026274]P[-2 <= u[y:-710.831974, 81.667426] v[y:3157.384589, -362.751371]]"];13[label="0:0.7441 1:0.2559"];14[label="0:0.5501 1:0.4499"];15[label="I[0.282397]P[-771 <= u[
amiller@amiller-asus:~/Desktop/allmydata-tahoe-1.8.1$ tahoe
Traceback (most recent call last):
File "/usr/local/bin/tahoe", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2671, in <module>
working_set.require(__requires__)
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 654, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 557, in resolve
requirements.extend(dist.requires(req.extras)[::-1])
(texaspete)amiller@li322-191:~/projects/imfeat/imfeat/_gist$ valgrind ./compute_gist large.ppm
==24638== Memcheck, a memory error detector
==24638== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==24638== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==24638== Command: ./compute_gist large.ppm
==24638==
==24638== Invalid write of size 4
==24638== at 0x804A054: create_gabor (gist.c:263)
==24638== by 0x804C8B1: color_gist_scaletab (gist.c:959)
==24638== by 0x8048F46: main (compute_gist.c:90)
opencl.cl.get_supported_image_formats(opencl.context, opencl.mf.READ_ONLY, opencl.cl.mem_object_type.IMAGE2D)
wallet = 20.0
inventory = 0.0
wallet_data = [wallet]
inventory_data = [inventory]
networth_data = [wallet+inventory]
times = [0]
for e in events:
if e.type == 'ItemBought':
inventory += e.value
(blockplayer2.6)amiller@amiller-asus:~/projects/browseridchat$ tahoe ls laebackup:
Archives
Latest
(blockplayer2.6)amiller@amiller-asus:~/projects/browseridchat$ tahoe ls laebackup:Archives
2011-10-21_18:49:33Z
2011-10-21_18:49:51Z
2011-10-21_18:50:46Z
2011-10-21_18:51:50Z
2011-10-21_19:05:51Z
2011-10-21_19:10:01Z
/* Andrew Miller <[email protected]>
*
* Cuda 512*512*512*4bytes test
*
* According to the KinectFusion UIST 2011 paper, it's possible
* to do a sweep of 512^3 voxels, 32-bits each, in ~2ms on a GTX470.
*
* This code is a simple benchmark accessing 512^3*2 short ints.
* voxel has two 16-bit components. In this benchmark kernel, we
* simply increment these values by a constant K. More than anything
/* Andrew Miller <[email protected]>
*
* Cuda 512*512*512*4bytes test
*
* According to the KinectFusion UIST 2011 paper, it's possible
* to do a sweep of 512^3 voxels, 32-bits each, in ~2ms on a GTX470.
*
* This code is a simple benchmark accessing 512^3*2 short ints.
* voxel has two 16-bit components. In this benchmark kernel, we
* simply increment these values by a constant K. More than anything