bob issueshttps://gitlab.idiap.ch/groups/bob/-/issues2017-10-22T18:34:52Zhttps://gitlab.idiap.ch/bob/bob.db.voxforge/-/issues/1Use python script to download the data instead of ./download_and_untar.sh2017-10-22T18:34:52ZAndré AnjosUse python script to download the data instead of ./download_and_untar.sh*Created by: khoury*
It would be better to write a python script to download the data and untar.
This will make it compatible to Windows users.*Created by: khoury*
It would be better to write a python script to download the data and untar.
This will make it compatible to Windows users.https://gitlab.idiap.ch/bob/bob.db.mnist/-/issues/3db.query(labels=0) returns all data2017-10-19T14:04:35ZAndré Anjosdb.query(labels=0) returns all data*Created by: siebenkopf*
When I query the database with:
>>> db = xbob.db.mnist.Database()
>>> training_targets = db.query("training", labels=0)[1]
>>> print (training_targets)
I get all possible targets, rather than only the target...*Created by: siebenkopf*
When I query the database with:
>>> db = xbob.db.mnist.Database()
>>> training_targets = db.query("training", labels=0)[1]
>>> print (training_targets)
I get all possible targets, rather than only the targets with label 0.
For all other labels, this work as expected.
I guess the problem is that the value ``0`` is special since ``0`` evaluates to ``False`` when tested, e.g., using ``if``. I will investigate.https://gitlab.idiap.ch/bob/bob.db.mnist/-/issues/2Package downloads M-NIST digit rec. DB at every iteration2017-10-19T14:04:35ZAndré AnjosPackage downloads M-NIST digit rec. DB at every iteration*Created by: anjos*
This package is downloading the M-NIST database from the respective URL (LeCun's site) at every iteration. The reason is that it has no way to know where it previously downloaded a copy (because it is using a tempora...*Created by: anjos*
This package is downloading the M-NIST database from the respective URL (LeCun's site) at every iteration. The reason is that it has no way to know where it previously downloaded a copy (because it is using a temporary directory to do so).
It would be more useful if the database was downloaded to a known directory.
I'd propose this database provided a "create" action that would allow it to be downloaded and installed within the package.https://gitlab.idiap.ch/bob/bob.db.mnist/-/issues/1Database is not (yet) part of the xbob.db.aggregator2017-10-19T14:04:35ZAndré AnjosDatabase is not (yet) part of the xbob.db.aggregator*Created by: laurentes*
We might consider to add it later on to run the test suite every night.*Created by: laurentes*
We might consider to add it later on to run the test suite every night.https://gitlab.idiap.ch/bob/bob.db.cuhk_cufs/-/issues/1Wrong namespace handling messes up installation2018-06-05T07:33:21ZAndré AnjosWrong namespace handling messes up installation*Created by: siebenkopf*
This package declares namespaces the old way. When I install the package together with other bob packages, I am not able to import any of the other packages.*Created by: siebenkopf*
This package declares namespaces the old way. When I install the package together with other bob packages, I am not able to import any of the other packages.https://gitlab.idiap.ch/bob/bob.db.iris/-/issues/2The requiremnets are rather much for a database2017-10-22T03:49:17ZAndré AnjosThe requiremnets are rather much for a database*Created by: 183amir*
This requirements are too much for a database:
```
setuptools
bob.io.base
bob.measure
bob.learn.linear
bob.db.base
matplotlib
```
Can we move some code/documentation somewhere else?
This database is part ...*Created by: 183amir*
This requirements are too much for a database:
```
setuptools
bob.io.base
bob.measure
bob.learn.linear
bob.db.base
matplotlib
```
Can we move some code/documentation somewhere else?
This database is part of bob core packages.Tiago de Freitas PereiraTiago de Freitas Pereirahttps://gitlab.idiap.ch/bob/bob.db.gbu/-/issues/1verbosity on database creation needs fixing2017-08-09T13:58:22ZAndré Anjosverbosity on database creation needs fixing*Created by: anjos*
There is a small error on the way verbosity is counted on https://github.com/bioidiap/xbob.db.gbu/blob/master/xbob/db/gbu/create.py, line 253. You should replace:
```python
parser.add_argument('--verbose', action=...*Created by: anjos*
There is a small error on the way verbosity is counted on https://github.com/bioidiap/xbob.db.gbu/blob/master/xbob/db/gbu/create.py, line 253. You should replace:
```python
parser.add_argument('--verbose', action='store_true', default=False,
help="Do SQL operations in a verbose way")
```
with
```python
parser.add_argument('-v', '--verbose', action='count',
help="Do SQL operations in a verbose way")
```
This would allow multiple levels of verbosity to be taken into account correctly.
Also, double-check other modules you maintain do this correctly.https://gitlab.idiap.ch/bob/bob.db.casia_fasd/-/issues/3Face annotations are not shipped on PyPI2017-10-24T05:59:01ZAndré AnjosFace annotations are not shipped on PyPI*Created by: tiagofrepereira2012*
Basically the annotations are not marked to be shipped in the file MANIFEST.in
The annotations has 2.1MB, so it is not an issue for PyPI.
Weird that no one saw this after 5 releases.*Created by: tiagofrepereira2012*
Basically the annotations are not marked to be shipped in the file MANIFEST.in
The annotations has 2.1MB, so it is not an issue for PyPI.
Weird that no one saw this after 5 releases.https://gitlab.idiap.ch/bob/bob.db.casia_fasd/-/issues/1Problem with the cross_valid_foldobjects method2017-10-24T05:59:01ZAndré AnjosProblem with the cross_valid_foldobjects method*Created by: tiagofrepereira2012*
There is a problem when you try to fetch the data using the method cross_valid_foldobjects with the argument types=None (the default value provided). The line above makes the script stop. This method on...*Created by: tiagofrepereira2012*
There is a problem when you try to fetch the data using the method cross_valid_foldobjects with the argument types=None (the default value provided). The line above makes the script stop. This method only accepts a tuple in the "type" argument.
import xbob.db.casia_fasd
db = xbob.db.casia_fasd.Database()
a,b = db.cross_valid_foldobjects(cls='attack', types=None, fold_no=1)
This method should work similar to the method "objects"m which accepts None in the "types" argument.
https://gitlab.idiap.ch/bob/bob.db.base/-/issues/5No test for bob.db.base2017-09-30T18:11:14ZAndré AnjosNo test for bob.db.base*Created by: teodorseglitis*
There is no test for bob.db.base*Created by: teodorseglitis*
There is no test for bob.db.basehttps://gitlab.idiap.ch/bob/bob.db.base/-/issues/3Database upload breaks if the file already exists at destination2017-09-30T18:11:14ZAndré AnjosDatabase upload breaks if the file already exists at destination*Created by: pkorshunov*
if the file for database 'dbname' already exists at /idiap/group/torch5spro/databases/latest, the command:
bob_dbmanage.py dbname upload
will break with an error 'Operation not permitted'. Once the database fi...*Created by: pkorshunov*
if the file for database 'dbname' already exists at /idiap/group/torch5spro/databases/latest, the command:
bob_dbmanage.py dbname upload
will break with an error 'Operation not permitted'. Once the database file is manually deleted from the destination, the command 'bob_dbmanage.py dbname upload' will work correctly.Manuel Günthersiebenkopf@googlemail.comManuel Günthersiebenkopf@googlemail.comhttps://gitlab.idiap.ch/bob/bob.db.banca/-/issues/2`bob_dbmanage.py banca dumplist` does not work2020-04-24T07:38:51ZAndré Anjos`bob_dbmanage.py banca dumplist` does not work*Created by: anjos*
I just downloaded the latest version on PyPI for this database and realized that the output of `dumplist` is totally blank. How to reproduce:
1. Use the latest on PyPI (xbob.db.banca-1.2.1)
2. Issue: `bob_dbman...*Created by: anjos*
I just downloaded the latest version on PyPI for this database and realized that the output of `dumplist` is totally blank. How to reproduce:
1. Use the latest on PyPI (xbob.db.banca-1.2.1)
2. Issue: `bob_dbmanage.py banca dumplist`
Result: nothing is printed
Expected: a file list is printed.
N.B.: Selecting protocols or the search does not change the output. The command above works as expected for other databases. E.g. `xm2vts`.
N.B.: We should have a test unit for this command. I'm surprised the output is not checked.https://gitlab.idiap.ch/bob/bob.db.banca/-/issues/1Data organization2020-04-24T07:38:35ZAndré AnjosData organization*Created by: laurentes*
There are two distinct problems:
1. The current API only allows the user to deal with still images of the English part.
2. The current API assumes that the data of the BANCA database is stored in a single directo...*Created by: laurentes*
There are two distinct problems:
1. The current API only allows the user to deal with still images of the English part.
2. The current API assumes that the data of the BANCA database is stored in a single directory. It would be better to organize data in subdirectories, in the same way as it is currently shipped.
To solve both problems, this would require me to have the original CDs/DVDs of the database or at least to know the directory structure and the files contained in each subdirectory. Unfortunately, this is not the case, as the data we have at Idiap have very likely been reorganized over the years.
Wrt. still images, the data shipped might be organized into the following directories:
en_video_sc1_1/
en_video_sc1_2/
en_video_sc1_3/
en_video_sc1_4/
en_video_sc2_1/
en_video_sc2_2/
en_video_sc2_3/
en_video_sc2_4/
en_video_sc3_1/
en_video_sc3_2/
en_video_sc3_3/
en_video_sc3_4/
en_video_wm_sc1/
en_video_wm_sc2/
en_video_wm_sc3/
Could anyone provides me the file hierarchy for both image and/or audio data, in order to fix this issue?
Thanks in advance.https://gitlab.idiap.ch/bob/bob.db.asvspoof/-/issues/1Please drop support for bob.db.verification.utils and antispoofing.utils2017-11-15T05:40:21ZAndré AnjosPlease drop support for bob.db.verification.utils and antispoofing.utils*Created by: 183amir*
*Created by: 183amir*
Pavel KORSHUNOVPavel KORSHUNOVhttps://gitlab.idiap.ch/bob/bob.bio.spear/-/issues/12Failure in running baseline experiments2017-10-25T00:08:37ZAndré AnjosFailure in running baseline experiments*Created by: suzinia*
Hello,
I am running the baseline experiments with voxforge in the link;
https://pythonhosted.org/bob.bio.spear/baselines.html
I was able to run the first baseline experiment which was
$ bin/verify.py -d vo...*Created by: suzinia*
Hello,
I am running the baseline experiments with voxforge in the link;
https://pythonhosted.org/bob.bio.spear/baselines.html
I was able to run the first baseline experiment which was
$ bin/verify.py -d voxforge -p energy-2gauss -e mfcc-60 -a gmm-voxforge -s ubm_gmm --groups {dev,eval}
However, the others failed with the following error message.
$ bin/verify.py -d voxforge -p energy-2gauss -e mfcc-60 -a ivec-plda-voxforge -s ivec-plda --groups {dev,eval} -g grid
bob.bio.base@2016-06-23 21:09:38,763 -- ERROR: During the execution, an exception was raised: [Errno 2] No such file or directory
Traceback (most recent call last):
File "bin/verify.py", line 34, in <module>
sys.exit(bob.bio.base.script.verify.main())
File "/home/soo/work/eggs/bob.bio.base-2.0.9-py2.7.egg/bob/bio/base/script/verify.py", line 446, in main
verify(args, command_line_parameters)
File "/home/soo/work/eggs/bob.bio.base-2.0.9-py2.7.egg/bob/bio/base/script/verify.py", line 399, in verify
retval = add_jobs(args, submitter)
File "/home/soo/work/eggs/bob.bio.base-2.0.9-py2.7.egg/bob/bio/base/script/verify.py", line 57, in add_jobs
**args.grid.preprocessing_queue)
File "/home/soo/work/eggs/bob.bio.base-2.0.9-py2.7.egg/bob/bio/base/tools/grid.py", line 111, in submit
**kwargs
File "/home/soo/work/eggs/gridtk-1.3.0-py2.7.egg/gridtk/sge.py", line 98, in submit
job_id = self._submit_to_grid(job, name, array, dependencies, log_dir, verbosity, **kwargs)
File "/home/soo/work/eggs/gridtk-1.3.0-py2.7.egg/gridtk/sge.py", line 64, in _submit_to_grid
grid_id = qsub(command, context=self.context, name=name, deps=deps, array=q_array, stdout=log_dir, stderr=log_dir, **kwargs)
File "/home/soo/work/eggs/gridtk-1.3.0-py2.7.egg/gridtk/tools.py", line 255, in qsub
jobid = str_(sexec(context, scmd))
File "/home/soo/work/eggs/gridtk-1.3.0-py2.7.egg/gridtk/setshell.py", line 104, in sexec
stderr=subprocess.STDOUT, env=E)
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Thank you!https://gitlab.idiap.ch/bob/bob.bio.spear/-/issues/11buildout failure on OS X El Capitan2017-10-25T00:08:37ZAndré Anjosbuildout failure on OS X El Capitan*Created by: zhaoyue-zephyrus*
Hi all,
I am trying to install bob.bio.spear on OS X El Capitan but meet some problems.
I am used to Anaconda so I created a conda environment following [https://github.com/idiap/bob/wiki/Installati...*Created by: zhaoyue-zephyrus*
Hi all,
I am trying to install bob.bio.spear on OS X El Capitan but meet some problems.
I am used to Anaconda so I created a conda environment following [https://github.com/idiap/bob/wiki/Installation-with-conda](url). Then in the newly created environment, I cloned this repo and run "python bootstrap-buildout.py" and "./bin/buildout". The log looks like
...
Develop: '/Users/zhaoyue/workspace/bob.bio.spear/src/bob.core'
bob.buildout.tools: taking requirement `setuptools' (23.0.0) from `/Users/zhaoyue/workspace/bob.bio.spear/eggs/setuptools-23.0.0-py2.7.egg'
bob.buildout.tools: taking requirement `bob.extension' (2.2.1b0) from `/Users/zhaoyue/workspace/bob.bio.spear/src/bob.extension'
bob.buildout.tools: taking requirement `bob.blitz' (2.0.9b0) from `/Users/zhaoyue/workspace/bob.bio.spear/src/bob.blitz'
Traceback (most recent call last):
File "/var/folders/rr/wl535zcx1bnbl0vs3b8h14l00000gp/T/tmppanFll", line 14, in <module>
exec(compile(open('/Users/zhaoyue/workspace/bob.bio.spear/src/bob.core/setup.py').read(), '/Users/zhaoyue/workspace/bob.bio.spear/src/bob.core/setup.py', 'exec'))
File "/Users/zhaoyue/workspace/bob.bio.spear/src/bob.core/setup.py", line 8, in <module>
from bob.blitz.extension import Extension, Library, build_ext
File "/Users/zhaoyue/workspace/bob.bio.spear/src/bob.blitz/bob/blitz/__init__.py", line 6, in <module>
from ._library import array, as_blitz
ImportError: dlopen(/Users/zhaoyue/workspace/bob.bio.spear/src/bob.blitz/bob/blitz/_library.so, 2): Library not loaded: @rpath/libblitz.0.dylib
Referenced from: /Users/zhaoyue/workspace/bob.bio.spear/src/bob.blitz/bob/blitz/_library.so
Reason: image not found
While:
Installing.
Processing develop directory '/Users/zhaoyue/workspace/bob.bio.spear/src/bob.core'.
An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
File "/Users/zhaoyue/workspace/bob.bio.spear/eggs/zc.buildout-2.5.2-py2.7.egg/zc/buildout/buildout.py", line 1995, in main
getattr(buildout, command)(args)
File "/Users/zhaoyue/workspace/bob.bio.spear/eggs/zc.buildout-2.5.2-py2.7.egg/zc/buildout/buildout.py", line 528, in install
installed_develop_eggs = self._develop()
File "/Users/zhaoyue/workspace/bob.bio.spear/eggs/zc.buildout-2.5.2-py2.7.egg/zc/buildout/buildout.py", line 770, in _develop
zc.buildout.easy_install.develop(setup, dest)
File "/Users/zhaoyue/workspace/bob.bio.spear/eggs/bob.buildout-2.0.11-py2.7.egg/bob/buildout/extension.py", line 213, in develop
zc.buildout.easy_install.call_subprocess(args)
File "/Users/zhaoyue/workspace/bob.bio.spear/eggs/zc.buildout-2.5.2-py2.7.egg/zc/buildout/easy_install.py", line 160, in call_subprocess
% repr(args)[1:-1])
Exception: Failed to run command:
'/Users/zhaoyue/anaconda/envs/bob_env_py27/bin/python', '/var/folders/rr/wl535zcx1bnbl0vs3b8h14l00000gp/T/tmppanFll', '-v', 'develop', '-mxN', '-d', '/Users/zhaoyue/workspace/bob.bio.spear/develop-eggs/tmphtwg0Lbuild'
Seems like some libraries are missing? Can anyone offer some advice? Thanks in advance!https://gitlab.idiap.ch/bob/bob.db.atnt/-/issues/1Broken links in PyPI2018-09-23T22:29:59ZAndré AnjosBroken links in PyPI*Created by: tiagofrepereira2012*
There are two broken links in the PyPI web page.
The first one links to (https://github.com/bioidiap/xbob.db.nuaa)
The second one, in the "Home Page" sub item links to (https://github.com/bioidiap...*Created by: tiagofrepereira2012*
There are two broken links in the PyPI web page.
The first one links to (https://github.com/bioidiap/xbob.db.nuaa)
The second one, in the "Home Page" sub item links to (https://github.com/bioidiap/bob.db.nuaa)https://gitlab.idiap.ch/bob/bob.bio.base/-/issues/28Baseline-style python configuration2018-06-03T12:14:16ZAndré AnjosBaseline-style python configuration*Created by: anjos*
I'm trying to revive/port an old package (was called `bob.fingervein`), based on the old facereclib.
One of the tasks I have is to try and revive baselines on a paper. Though this package provides a somewhat easy ...*Created by: anjos*
I'm trying to revive/port an old package (was called `bob.fingervein`), based on the old facereclib.
One of the tasks I have is to try and revive baselines on a paper. Though this package provides a somewhat easy way to re-run baselines, I think we could slightly improve it by introducing a "configuration script"-style way to run baselines.
Here is what could be the logic behind it:
1. The user defines a python-syntax "config" file, which matches the flexibility of `verify.py` in terms of options. It could be something like this:
```python
import bob.db.vera
from bob.bio.base.database import DatabaseBob
database = DatabaseBob(database = bob.db.vera.Database(...))
protocol = 'NOM' #select here the protocol you want to run against
groups = ('dev',) #select here the subsets inside the protocol to generate scores for
from bob.bio.vein.preprocessors import FingerCrop
# this the preprocessing step for this baseline
preprocessor = FingerCrop()
skip_preprocessing = False # set the following flag to True to skip the preprocessing step
# more options for 'extrator' and 'algorithm' will follow
# setup the grid processing options
from bob.bio.base.grid import Grid
grid = Grid(...)
```
2. The command line then, *may* become as simple as:
```sh
$ ./bin/verify.py -vv config.py
```
3. Options on the command line **override** those in the script. So, the following should work (e.g., to override the grid processing options):
```sh
$ ./bin/verify.py -vv config.py --parallel=4
```
4. Optionally, concatenating multiple configuration files, make it override previously set options:
```sh
$ ./bin/verify.py -vv config1.py config2.py
```
5. Config files may be also hooked on the resources/python-entry-point system:
```
$ ./bin/verify.py vera-baseline1-btas2016
```
6. The changes are done in a backward-compatible way, so current use of `verify.py` is not affected
This would allow us to manage single files and even exchange baselines with people with full configurations and comments. All lives inside a single, while flexible file and provides a full pythonic way to describe a baseline, that is easy to run with a simple command line.
People around the office here claimed that is possible if we do something like in this test:
https://github.com/bioidiap/bob.bio.base/blob/master/bob/bio/base/test/test_scripts.py#L106
While this would be an alternative, this is not a clean option. Imports would have to be handled in special way and the final script would look very counter-intuitive.
Am I overlooking something?
https://gitlab.idiap.ch/bob/bob.bio.spear/-/issues/9banca and timit need to be in separate packages2018-04-16T14:59:55ZAndré Anjosbanca and timit need to be in separate packages*Created by: 183amir*
Right now they are just lists in <https://github.com/bioidiap/bob.bio.spear/tree/master/bob/bio/spear/config/database>*Created by: 183amir*
Right now they are just lists in <https://github.com/bioidiap/bob.bio.spear/tree/master/bob/bio/spear/config/database>Amir MOHAMMADIAmir MOHAMMADIhttps://gitlab.idiap.ch/bob/bob.db.arface/-/issues/1Probe samples may vary for a given protocol2018-07-10T19:03:32ZAndré AnjosProbe samples may vary for a given protocol*Created by: laurentes*
As previously discussed, I'm currently refactoring this database, making a better usage of the classes from models.py.
There are currently 5 protocols:
- 'all'
- 'expression'
- 'illumination'
- 'occlusion'...*Created by: laurentes*
As previously discussed, I'm currently refactoring this database, making a better usage of the classes from models.py.
There are currently 5 protocols:
- 'all'
- 'expression'
- 'illumination'
- 'occlusion'
- 'occlusion_and_illumination'
However, it seems that depending on the parameters 'sessions', 'expressions', 'illuminations', 'occlusions', 'genders', the list of probe files will change (and the one of training files as well which is fine).
To my mind, this is a bad idea. We should define more specific protocols, for which enrollment and probe lists are fixed, whatever the parameters are.
I propose to make these parameters world related. In this case, we would need to define more protocols to keep similar features. Which ones would you like?
The second question is what should be the default world data for each protocol.