- 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
- open
anaconda prompt
## 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 |
anaconda prompt
## 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 |
## 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 |
192 | |
185 | |
182 | |
191 | |
188 | |
192 | |
189 | |
193 | |
179 | |
174 |
def dump(obj): | |
for attr in dir(obj): | |
if hasattr( obj, attr ): | |
print( "obj.%s = %s" % (attr, getattr(obj, attr))) |
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] |
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('//')) |