bob issueshttps://gitlab.idiap.ch/groups/bob/-/issues2022-06-27T14:26:59Zhttps://gitlab.idiap.ch/bob/bob.devtools/-/issues/96Issue with dask distributed and click >=8.1.02022-06-27T14:26:59ZTiago de Freitas PereiraIssue with dask distributed and click >=8.1.0We need to bump our dask, distributed versions because of this issue.
https://github.com/dask/distributed/pull/6018
ping @hotroshiWe need to bump our dask, distributed versions because of this issue.
https://github.com/dask/distributed/pull/6018
ping @hotroshihttps://gitlab.idiap.ch/bob/bob.io.base/-/issues/23Drop ALL C++ code from this code.2022-04-25T15:23:49ZTiago de Freitas PereiraDrop ALL C++ code from this code.This package (**in practical terms, which means the features we use the most**) has three base functionalities.
1. With the support of `bob.io.image` it reads and writes images (bob.io.base.load and bob.io.base.save)
2. Reads and writes...This package (**in practical terms, which means the features we use the most**) has three base functionalities.
1. With the support of `bob.io.image` it reads and writes images (bob.io.base.load and bob.io.base.save)
2. Reads and writes HDF5 files with matrices with the command `bob.io.base.load` and `bob.io.base.save`.
3. Support to read and write complex HD5 files
I'll rewire the bob.io.base API to
1. use imageio for reading and writing image formats (solving 1);
2. use h5py for reading and writing hdf5 files (solving 2);
3. rewrite pieces of code that use the complex HD5 files using h5py (solving issue 3).
Sounds reasonable enough?
ping @amohammadi @ydayer @flavio.tarsetti @mguenther @lcolboisThe Great Deprecationhttps://gitlab.idiap.ch/bob/bob.fusion.base/-/issues/11Can we archive this package?2022-04-28T05:50:20ZTiago de Freitas PereiraCan we archive this package?The last activity here was in July 2020 (https://gitlab.idiap.ch/bob/bob.fusion.base/-/commit/1e3a80315285c13a1570615b919398d412e51edb).
All the other commits on top of this one were maintenance commits.
Is there any project benefiting ...The last activity here was in July 2020 (https://gitlab.idiap.ch/bob/bob.fusion.base/-/commit/1e3a80315285c13a1570615b919398d412e51edb).
All the other commits on top of this one were maintenance commits.
Is there any project benefiting from this?
Thankshttps://gitlab.idiap.ch/bob/bob.bio.base/-/issues/179Pass post_process_samples, biometric_references, and probe_samples together2022-05-25T07:04:24ZYu LinghuPass post_process_samples, biometric_references, and probe_samples togetherIt would be better to have a function that let the `post_processor` choose what samples it needs, i.e. pass `post_process_samples`, `biometric_references`, and `probe_samples` into the function together regardless of Z-norm or T-norm, in...It would be better to have a function that let the `post_processor` choose what samples it needs, i.e. pass `post_process_samples`, `biometric_references`, and `probe_samples` into the function together regardless of Z-norm or T-norm, instead of pass specific samples according to the `post_processor`.
![Screenshot_2022-04-13_095243](/uploads/c0723480507a0f31767228cd878014e5/Screenshot_2022-04-13_095243.png)Yu LinghuYu Linghuhttps://gitlab.idiap.ch/bob/bob.fusion.base/-/issues/10NIghtlies failing because of this one2022-04-14T14:23:53ZTiago de Freitas PereiraNIghtlies failing because of this onehttps://gitlab.idiap.ch/bob/nightlies/-/jobs/264456
Does anyone uses this package?https://gitlab.idiap.ch/bob/nightlies/-/jobs/264456
Does anyone uses this package?https://gitlab.idiap.ch/bob/bob.pad.face/-/issues/44Nightlies failing because of this one2022-04-12T18:10:12ZTiago de Freitas PereiraNightlies failing because of this one....... so much work....... so much workhttps://gitlab.idiap.ch/bob/nightlies/-/issues/60Nightlies failing because of this one2022-04-12T16:27:56ZTiago de Freitas PereiraNightlies failing because of this one....... so much work....... so much workhttps://gitlab.idiap.ch/bob/bob.bio.face/-/issues/79background samples in LFW2022-04-13T15:08:39ZHatef OTROSHIbackground samples in LFWHi,
As there is no background sample in LFW, it seems that the `background_model_samples` needs to be an empty list, but it is `[0]` now in [bob/bio/face/database/lfw.py#L339](https://gitlab.idiap.ch/bob/bob.bio.face/-/blob/master/bob/...Hi,
As there is no background sample in LFW, it seems that the `background_model_samples` needs to be an empty list, but it is `[0]` now in [bob/bio/face/database/lfw.py#L339](https://gitlab.idiap.ch/bob/bob.bio.face/-/blob/master/bob/bio/face/database/lfw.py#L339)
ping @tiago.pereiraTiago de Freitas PereiraTiago de Freitas Pereirahttps://gitlab.idiap.ch/bob/bob.pad.base/-/issues/42NIghtlies failing because of this one2022-04-12T07:39:58ZTiago de Freitas PereiraNIghtlies failing because of this onehttps://gitlab.idiap.ch/bob/nightlies/-/jobs/264177
It seems a sphinx error.https://gitlab.idiap.ch/bob/nightlies/-/jobs/264177
It seems a sphinx error.https://gitlab.idiap.ch/bob/bob.devtools/-/issues/95Issue with Twine + python 3.92022-04-10T15:33:16ZTiago de Freitas PereiraIssue with Twine + python 3.9The command `bdt ci readme ....` is consistently failing on linux with python 3.9
https://gitlab.idiap.ch/bob/bob.extension/-/jobs/264169
https://gitlab.idiap.ch/bob/bob.bio.video/-/jobs/264064
https://gitlab.idiap.ch/bob/bob.bio.face/-...The command `bdt ci readme ....` is consistently failing on linux with python 3.9
https://gitlab.idiap.ch/bob/bob.extension/-/jobs/264169
https://gitlab.idiap.ch/bob/bob.bio.video/-/jobs/264064
https://gitlab.idiap.ch/bob/bob.bio.face/-/jobs/264052
This command basically does a sanity check on the `long_description` field of the `setup.py`.
In our case, this field is filled with the content of README.rst.
For this check, the command uses a library called `readme_renderer`, which calls a function from `bleach`
Well, in short, there is an API issue `readme_renderer` and this breaks **all our builds**
```
File "/scratch/builds/bob/bob.bio.video/miniconda/lib/python3.9/site-packages/twine/commands/check.py", line 121, in check
warnings, is_ok = _check_file(filename, render_warning_stream)
File "/scratch/builds/bob/bob.bio.video/miniconda/lib/python3.9/site-packages/twine/commands/check.py", line 92, in _check_file
rendering_result = renderer.render(
File "/scratch/builds/bob/bob.bio.video/miniconda/lib/python3.9/site-packages/readme_renderer/rst.py", line 114, in render
return clean(rendered)
File "/scratch/builds/bob/bob.bio.video/miniconda/lib/python3.9/site-packages/readme_renderer/clean.py", line 72, in clean
cleaner = bleach.sanitizer.Cleaner(
TypeError: __init__() got an unexpected keyword argument 'styles'
```
There is wrong pinning of bleach on `readme_renderer`.
This can be solved by updating the `readme_renderer` version from `conda-forge`, which currently is 27.0, but they already have a tagged the version 34.0 (https://github.com/pypa/readme_renderer/releases/tag/34.0)https://gitlab.idiap.ch/bob/bob.bio.video/-/issues/23Nightlies failing because of this one2022-04-10T10:41:06ZTiago de Freitas PereiraNightlies failing because of this onehttps://gitlab.idiap.ch/bob/nightlies/-/jobs/263945https://gitlab.idiap.ch/bob/nightlies/-/jobs/263945Tiago de Freitas PereiraTiago de Freitas Pereirahttps://gitlab.idiap.ch/bob/bob.db.base/-/issues/29Moving this function `read_annotation_file` to bob.bio.base....2022-04-19T08:59:07ZTiago de Freitas PereiraMoving this function `read_annotation_file` to bob.bio.base....any objection?
https://gitlab.idiap.ch/bob/bob.db.base/-/blob/master/bob/db/base/annotations.py#L37
ping @amohammadi @ydayer
FYI: @mguenther
Another step to deprecate this package.any objection?
https://gitlab.idiap.ch/bob/bob.db.base/-/blob/master/bob/db/base/annotations.py#L37
ping @amohammadi @ydayer
FYI: @mguenther
Another step to deprecate this package.https://gitlab.idiap.ch/bob/bob.bio.spear/-/issues/39Follow-up from "Port GMM Voxforge baseline to dask pipelines"2022-04-05T09:39:20ZAmir MOHAMMADIFollow-up from "Port GMM Voxforge baseline to dask pipelines"The following discussion from !50 should be addressed:
- [ ] @amohammadi started a [discussion](https://gitlab.idiap.ch/bob/bob.bio.spear/-/merge_requests/50#note_72609):
> we need to write down why we cache audio files here. I do...The following discussion from !50 should be addressed:
- [ ] @amohammadi started a [discussion](https://gitlab.idiap.ch/bob/bob.bio.spear/-/merge_requests/50#note_72609):
> we need to write down why we cache audio files here. I don't remember anymore.Yannick DAYERYannick DAYERhttps://gitlab.idiap.ch/bob/bob.bio.spear/-/issues/38Follow-up from "Port GMM Voxforge baseline to dask pipelines"2022-04-05T09:39:20ZAmir MOHAMMADIFollow-up from "Port GMM Voxforge baseline to dask pipelines"The following discussion from !50 should be addressed:
- [ ] @amohammadi started a [discussion](https://gitlab.idiap.ch/bob/bob.bio.spear/-/merge_requests/50#note_72597):
> bob.db.atnt is deprecatedThe following discussion from !50 should be addressed:
- [ ] @amohammadi started a [discussion](https://gitlab.idiap.ch/bob/bob.bio.spear/-/merge_requests/50#note_72597):
> bob.db.atnt is deprecatedYannick DAYERYannick DAYERhttps://gitlab.idiap.ch/bob/bob.bio.face/-/issues/78Remove C++ code from our side2022-04-27T20:12:46ZTiago de Freitas PereiraRemove C++ code from our sideAs part of the milestone "The Great Deprecation ": https://gitlab.idiap.ch/groups/bob/-/milestones/4#tab-issues, we intend to remove from the bob "umbrella" some C++ dependencies we maintain.
With this we expect an easier maintenance an...As part of the milestone "The Great Deprecation ": https://gitlab.idiap.ch/groups/bob/-/milestones/4#tab-issues, we intend to remove from the bob "umbrella" some C++ dependencies we maintain.
With this we expect an easier maintenance and release cycle
We need to remove from this package traces of
- [x] bob.ip.gabor
- [x] bob.ip.base
- [x] bob.blitz
- [x] bob.core
ping @mguenther, @amohammadi, @flavio.tarsetti, @ydayer, @andre.anjosThe Great Deprecationhttps://gitlab.idiap.ch/bob/bob.extension/-/issues/87Nightlies failing because of this one2022-04-04T08:15:39ZTiago de Freitas PereiraNightlies failing because of this oneThere is one test breaking
`FAIL: bob.extension.test_click_helper.test_config_dump2`
https://gitlab.idiap.ch/bob/nightlies/-/jobs/263066There is one test breaking
`FAIL: bob.extension.test_click_helper.test_config_dump2`
https://gitlab.idiap.ch/bob/nightlies/-/jobs/263066Tiago de Freitas PereiraTiago de Freitas Pereirahttps://gitlab.idiap.ch/bob/bob.learn.em/-/issues/43Saving the state in HDF52022-03-31T12:02:24ZTiago de Freitas PereiraSaving the state in HDF5Hi @amohammadi and @ydayer,
Does it make sense to have functions to load and save the state of the objects (GMMMachine, KMeansMachine...) in HDF5?
Everything is picklable now, so, why bother with HDF5?
Thanks for the any clarification...Hi @amohammadi and @ydayer,
Does it make sense to have functions to load and save the state of the objects (GMMMachine, KMeansMachine...) in HDF5?
Everything is picklable now, so, why bother with HDF5?
Thanks for the any clarification?
Cheershttps://gitlab.idiap.ch/bob/bob.extension/-/issues/86Moving to Github and de-branding as a Bob package2022-11-23T08:31:30ZAndré AnjosMoving to Github and de-branding as a Bob packageThere is a general will to move software that can be used by a larger audience (that is not necessarily somebody at the @biometric group) to GitHub/conda-forge. This move would also de-brand this package as belonging to Bob.
To do this...There is a general will to move software that can be used by a larger audience (that is not necessarily somebody at the @biometric group) to GitHub/conda-forge. This move would also de-brand this package as belonging to Bob.
To do this, I propose we take on this task by first identifying the various bits in here that would be useful as standalone components. I find there are mainly 5 categories of functions:
- Build tools for C++: cmake, boost, pkgconfig, utils, __init__
- Helpers for Sphinx building: utils (`link_documentation`)
- Helpers to build CLIs: `scripts.click_helper`, `scripts.main_cli`
- Helpers for configuration: __init__, config, rc_config.py
- Helpers for logging: `log` (however some bits of it concern logging for C++)
I'm guessing that everything related to building other Bob packages (mostly the C++ code), can be considered deprecated once all C++ code has finally been ported to pure-Python alternatives. This then leaves us with the 4 other categories of helpers we have to somehow group (or not), to make packages.
Then, I propose we simply leave this package be (or archive it), and move the pieces of interest to a dedicated Python-only-builds GitHub project. We then ask each package going forward to make use of those specialised packages instead of bob.extension.https://gitlab.idiap.ch/bob/bob.bio.base/-/issues/177bob bio pipelines vanilla-biometrics is a bad name2022-04-03T11:24:27ZAmir MOHAMMADIbob bio pipelines vanilla-biometrics is a bad nameThis command line has a terrible name and there are several issues with it:
- It's too long!
- It has both `bio` and `biometrics` in its name, which point to the same thing
- The `biometrics` part matches with `metrics`. So every time i...This command line has a terrible name and there are several issues with it:
- It's too long!
- It has both `bio` and `biometrics` in its name, which point to the same thing
- The `biometrics` part matches with `metrics`. So every time in bash, I try to run the last `bob bio metrics` command, I type `metrics` in my search and instead I get this command.
- I cannot use the shorthand name of this command, i.e. typing `bob bio pip vanil atnt arcface`, because it matches this command and the `vanilla-biometrics-score-normalization` command.
I suggest renaming both this command and the score normalization one to:
```
$ bob bio pipeline vanilla
$ bob bio pipeline score-norm
```Amir MOHAMMADIAmir MOHAMMADIhttps://gitlab.idiap.ch/bob/bob.devtools/-/issues/94Recursive upload cannot hash files2022-03-29T11:49:36ZAndré AnjosRecursive upload cannot hash filesFor some reason, when using `bdt day upload <dir>`, the end filenames cannot be hashed such as it is the case when they are uploaded individually. Trace:
```
Traceback (most recent call last):
File "/remote/idiap.svm/user.active/aanj...For some reason, when using `bdt day upload <dir>`, the end filenames cannot be hashed such as it is the case when they are uploaded individually. Trace:
```
Traceback (most recent call last):
File "/remote/idiap.svm/user.active/aanjos/mamba/bin/bdt", line 11, in <module>
sys.exit(main())
File "/remote/idiap.svm/user.active/aanjos/mamba/lib/python3.9/site-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/remote/idiap.svm/user.active/aanjos/mamba/lib/python3.9/site-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/remote/idiap.svm/user.active/aanjos/mamba/lib/python3.9/site-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/remote/idiap.svm/user.active/aanjos/mamba/lib/python3.9/site-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/remote/idiap.svm/user.active/aanjos/mamba/lib/python3.9/site-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/remote/idiap.svm/user.active/aanjos/mamba/lib/python3.9/site-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/remote/idiap.svm/user.active/aanjos/mamba/lib/python3.9/site-packages/bob/devtools/scripts/bdt.py", line 43, in _decorator
value = view_func(*args, **kwargs)
File "/remote/idiap.svm/user.active/aanjos/mamba/lib/python3.9/site-packages/bob/devtools/scripts/dav.py", line 280, in upload
path_with_hash = augment_path_with_hash(k)
File "/remote/idiap.svm/user.active/aanjos/mamba/lib/python3.9/site-packages/bob/devtools/dav.py", line 72, in augment_path_with_hash
raise ValueError(
ValueError: Can only augment path to files with a hash. Got: optic-cup
```André AnjosAndré Anjos