Skip to content
Snippets Groups Projects
Commit 50c50cea authored by Manuel Günther's avatar Manuel Günther
Browse files

Improved py26 compatibility; added develop.cfg

parent fe59dddf
No related branches found
No related tags found
No related merge requests found
include README.rst bootstrap-buildout.py buildout.cfg COPYING version.txt include README.rst bootstrap-buildout.py buildout.cfg develop.cfg COPYING version.txt requirements.txt
recursive-include doc *.py *.rst recursive-include doc *.py *.rst
...@@ -48,13 +48,14 @@ def main(command_line_parameters=None): ...@@ -48,13 +48,14 @@ def main(command_line_parameters=None):
raise ValueError("The desired algorithm requires a pre-trained enroller file, but it was not specified") raise ValueError("The desired algorithm requires a pre-trained enroller file, but it was not specified")
algorithm.load_enroller(args.enroller_file) algorithm.load_enroller(args.enroller_file)
models, probes = {}, {}
logger.debug("Loading %d models", len(args.model_files)) logger.debug("Loading %d models", len(args.model_files))
models = {m : algorithm.read_model(m) for m in args.model_files} for m in args.model_files: models[m] = algorithm.read_model(m)
logger.debug("Loading %d probes", len(args.probe_files)) logger.debug("Loading %d probes", len(args.probe_files))
probes = {p : algorithm.read_probe(p) for p in args.probe_files} for p in args.probe_files: probes[p] = algorithm.read_probe(p)
if algorithm.performs_projection: if algorithm.performs_projection:
logger.debug("Projecting %d probes", len(args.probe_files)) logger.debug("Projecting %d probes", len(args.probe_files))
probes = {p : algorithm.project(probes[p]) for p in probes} for p in probes: probes[p] = algorithm.project(probes[p])
logger.info("Computing scores") logger.info("Computing scores")
for p in args.probe_files: for p in args.probe_files:
......
...@@ -8,47 +8,13 @@ eggs = bob.bio.base ...@@ -8,47 +8,13 @@ eggs = bob.bio.base
gridtk gridtk
extensions = bob.buildout extensions = bob.buildout
mr.developer develop = .
auto-checkout = *
develop = src/bob.extension
src/bob.blitz
src/bob.core
src/bob.io.base
src/bob.learn.activation
src/bob.math
src/bob.learn.linear
src/bob.sp
src/bob.learn.em
src/bob.measure
src/bob.db.base
src/bob.db.verification.utils
src/bob.db.verification.filelist
src/bob.db.atnt
src/bob.io.image
.
; options for bob.buildout ; options for bob.buildout
debug = true debug = true
verbose = true verbose = true
newest = false newest = false
[sources]
bob.extension = git https://github.com/bioidiap/bob.extension
bob.blitz = git https://github.com/bioidiap/bob.blitz
bob.core = git https://github.com/bioidiap/bob.core
bob.io.base = git https://github.com/bioidiap/bob.io.base
bob.learn.activation = git https://github.com/bioidiap/bob.learn.activation
bob.math = git https://github.com/bioidiap/bob.math
bob.sp = git https://github.com/bioidiap/bob.sp
bob.learn.linear = git https://github.com/bioidiap/bob.learn.linear
bob.learn.em = git https://github.com/bioidiap/bob.learn.em
bob.measure = git https://github.com/bioidiap/bob.measure
bob.db.base = git https://github.com/bioidiap/bob.db.base
bob.db.verification.utils = git https://github.com/bioidiap/bob.db.verification.utils
bob.db.verification.filelist = git https://github.com/bioidiap/bob.db.verification.filelist
bob.db.atnt = git https://github.com/bioidiap/bob.db.atnt
bob.io.image = git https://github.com/bioidiap/bob.io.image
[scripts] [scripts]
recipe = bob.buildout:scripts recipe = bob.buildout:scripts
dependent-scripts = true dependent-scripts = true
; vim: set fileencoding=utf-8 :
; Manuel Guenther <manuel.guenther@idiap.ch>
; Thu Oct 9 16:51:06 CEST 2014
[buildout]
parts = scripts
eggs = bob.bio.base
gridtk
extensions = bob.buildout
mr.developer
auto-checkout = *
develop = src/bob.extension
src/bob.blitz
src/bob.core
src/bob.io.base
src/bob.learn.activation
src/bob.math
src/bob.learn.linear
src/bob.sp
src/bob.learn.em
src/bob.measure
src/bob.db.base
src/bob.db.verification.utils
src/bob.db.verification.filelist
src/bob.db.atnt
src/bob.io.image
.
; options for bob.buildout
debug = true
verbose = true
newest = false
[sources]
bob.extension = git https://github.com/bioidiap/bob.extension
bob.blitz = git https://github.com/bioidiap/bob.blitz
bob.core = git https://github.com/bioidiap/bob.core
bob.io.base = git https://github.com/bioidiap/bob.io.base
bob.learn.activation = git https://github.com/bioidiap/bob.learn.activation
bob.math = git https://github.com/bioidiap/bob.math
bob.sp = git https://github.com/bioidiap/bob.sp
bob.learn.linear = git https://github.com/bioidiap/bob.learn.linear
bob.learn.em = git https://github.com/bioidiap/bob.learn.em
bob.measure = git https://github.com/bioidiap/bob.measure
bob.db.base = git https://github.com/bioidiap/bob.db.base
bob.db.verification.utils = git https://github.com/bioidiap/bob.db.verification.utils
bob.db.verification.filelist = git https://github.com/bioidiap/bob.db.verification.filelist
bob.db.atnt = git https://github.com/bioidiap/bob.db.atnt
bob.io.image = git https://github.com/bioidiap/bob.io.image
[scripts]
recipe = bob.buildout:scripts
dependent-scripts = true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment