Skip to content

Instantly share code, notes, and snippets.

@groakat
groakat / Makefile.config
Created February 2, 2017 16:54
Makefile.config for RTpose
## Refer to http://caffe.berkeleyvision.org/installation.html
# Contributions simplifying and improving our build system are welcome!
# cuDNN acceleration switch (uncomment to build with cuDNN).
USE_CUDNN := 1
# CPU-only switch (uncomment to build without GPU support).
# CPU_ONLY := 1
# uncomment to disable IO dependencies and corresponding data layers

Software

Preparation

Install Anaconda

  • Download and install Anaconda https://www.continuum.io/downloads (make sure to use version 2.7 and not the 3.x version)
  • During installation, install for User only and leave all standard settings like the are

Install further dependencies

  • open anaconda prompt
@groakat
groakat / Makefile.config
Created August 23, 2016 09:22
py-faster-rcnn on AWS
## Refer to http://caffe.berkeleyvision.org/installation.html
# Contributions simplifying and improving our build system are welcome!
# cuDNN acceleration switch (uncomment to build with cuDNN).
USE_CUDNN := 1
# CPU-only switch (uncomment to build without GPU support).
# CPU_ONLY := 1
# uncomment to disable IO dependencies and corresponding data layers
@groakat
groakat / Makefile.config
Last active August 19, 2016 16:38
python2 / caffe
## Refer to http://caffe.berkeleyvision.org/installation.html
# Contributions simplifying and improving our build system are welcome!
# cuDNN acceleration switch (uncomment to build with cuDNN).
USE_CUDNN := 1
# CPU-only switch (uncomment to build without GPU support).
# CPU_ONLY := 1
# uncomment to disable IO dependencies and corresponding data layers
## Refer to http://caffe.berkeleyvision.org/installation.html
# Contributions simplifying and improving our build system are welcome!
# cuDNN acceleration switch (uncomment to build with cuDNN).
USE_CUDNN := 1
# CPU-only switch (uncomment to build without GPU support).
# CPU_ONLY := 1
# uncomment to disable IO dependencies and corresponding data layers
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@groakat
groakat / blender_dump
Created February 23, 2016 23:00
print properties of blender objects
def dump(obj):
for attr in dir(obj):
if hasattr( obj, attr ):
print( "obj.%s = %s" % (attr, getattr(obj, attr)))
@groakat
groakat / gist:b43fe09346616d8cb0ed
Created February 23, 2016 18:16
Import Tracks into Blender
import bpy
import numpy as np
import os
img_no = 77
in_folder = '/Volumes/Seagate_Backup_Plus_Drive/datasets/mech-sys/3d/rgb/bus/seq4/feat/fast_points'
img_template = 'image-{:04d}.npy'
clip = bpy.data.movieclips[0]
width=clip.size[0]
@groakat
groakat / gist:e7d8394d57fd4d3fe016
Last active March 25, 2024 11:28 — forked from anonymous/gist:5663418
Blender python script to export the motion tracking markers to .csv files.
from __future__ import print_function
import bpy
import os
D = bpy.data
printFrameNums = True # include frame numbers in the csv file
relativeCoords = False # marker coords will be relative to the dimensions of the clip
proj_folder = os.path.join(bpy.path.abspath('//'))