bob issueshttps://gitlab.idiap.ch/groups/bob/-/issues2021-06-16T15:49:14Zhttps://gitlab.idiap.ch/bob/bob.bio.face/-/issues/52memory_demanding needs to be an argument in baseline load functions2021-06-16T15:49:14ZHatef OTROSHImemory_demanding needs to be an argument in baseline load functionsHi,
I was using `bob.bio.face.config.baseline` to load baslines with `load()` function implemented in each baseline. However, the `load()` functions implemented in the baselines do not get `memory_demanding` as argument. This becomes pr...Hi,
I was using `bob.bio.face.config.baseline` to load baslines with `load()` function implemented in each baseline. However, the `load()` functions implemented in the baselines do not get `memory_demanding` as argument. This becomes problematic when using big datasets.https://gitlab.idiap.ch/bob/bob.bio.face/-/issues/51Nightlies failling because of this one2021-10-29T15:34:57ZTiago de Freitas PereiraNightlies failling because of this oneBasically the databases are broken because of this https://gitlab.idiap.ch/bob/bob.bio.base/-/merge_requests/247
I'll fix on this one !112Basically the databases are broken because of this https://gitlab.idiap.ch/bob/bob.bio.base/-/merge_requests/247
I'll fix on this one !112https://gitlab.idiap.ch/bob/bob.pad.face/-/issues/41Convert list to dictionary2021-06-07T13:01:14ZAnjith GEORGEanjith.george@idiap.chConvert list to dictionaryhttps://gitlab.idiap.ch/bob/bob.pad.face/-/blob/master/bob/pad/face/transformer/VideoToFrames.py#L17
Annotations seems to be list rather than a dictionary.
Also it failes when `video` is `None`https://gitlab.idiap.ch/bob/bob.pad.face/-/blob/master/bob/pad/face/transformer/VideoToFrames.py#L17
Annotations seems to be list rather than a dictionary.
Also it failes when `video` is `None`https://gitlab.idiap.ch/bob/docs/-/issues/11No such file or directory: 'bob/docs/doc/plot/default_crops.py'2021-06-07T12:50:27ZAmir MOHAMMADINo such file or directory: 'bob/docs/doc/plot/default_crops.py'Job [#234026](https://gitlab.idiap.ch/bob/docs/-/jobs/234026) failed for dfa36353f01c890beb477777ca005cda08cb7325:Job [#234026](https://gitlab.idiap.ch/bob/docs/-/jobs/234026) failed for dfa36353f01c890beb477777ca005cda08cb7325:Laurent COLBOISLaurent COLBOIShttps://gitlab.idiap.ch/bob/bob.pad.base/-/issues/39Scoring when using `VideoWrapper`2022-06-02T08:42:11ZAnjith GEORGEanjith.george@idiap.chScoring when using `VideoWrapper`Is frame-wise scoring already implemented, when using video samples?Is frame-wise scoring already implemented, when using video samples?https://gitlab.idiap.ch/bob/bob.extension/-/issues/78getfile and unzip2021-05-28T07:51:51ZTiago de Freitas Pereiragetfile and unzipWe need to make `download_and_unzip` from https://gitlab.idiap.ch/bob/bob.extension/-/blob/master/bob/extension/download.py#L289 use `get_file` function.We need to make `download_and_unzip` from https://gitlab.idiap.ch/bob/bob.extension/-/blob/master/bob/extension/download.py#L289 use `get_file` function.Tiago de Freitas PereiraTiago de Freitas Pereirahttps://gitlab.idiap.ch/bob/bob.pipelines/-/issues/32Handling preprocessor/extractor failures2021-10-29T15:34:56ZAnjith GEORGEanjith.george@idiap.chHandling preprocessor/extractor failuresCurrently, I couldn't find a clean way to handle preprocessor or extractor failures in the pipelines.
What is the best way to emulate the `--allow-missing-files` flag in the previous `spoof.py` in bob9?.
This is a blocking issue in port...Currently, I couldn't find a clean way to handle preprocessor or extractor failures in the pipelines.
What is the best way to emulate the `--allow-missing-files` flag in the previous `spoof.py` in bob9?.
This is a blocking issue in porting some of the examples from previous bob version.https://gitlab.idiap.ch/bob/bob.bio.base/-/issues/154BioAlgorithm.score is never used (?)2021-10-29T15:34:56ZLaurent COLBOISBioAlgorithm.score is never used (?)Hi,
I believe that following [this commit](https://gitlab.idiap.ch/bob/bob.bio.base/-/commit/54b3600e337843120e7d36db1cdac9f2e36dfb97), the `BioAlgorithm.score` might never be explicitly called (scoring is always passing through `BioAlg...Hi,
I believe that following [this commit](https://gitlab.idiap.ch/bob/bob.bio.base/-/commit/54b3600e337843120e7d36db1cdac9f2e36dfb97), the `BioAlgorithm.score` might never be explicitly called (scoring is always passing through `BioAlgorithm.score_multiple_biometric_references`). This is unless there is some usage I am not aware of, but I think scoring in `vanilla-biometrics` is always done through `BioAlgorithm.score_samples`, which itself never calls `score`.
This might become confusing for users as the doc only mention the `BioAlgorithm.score` (which moreover is abstract), while the main thing to implement in a `BioAlgorithm` is actually the `BioAlgorithm.score_multiple_biometric_references` (which moreover is not abstract).
ping @amohammadi , this is related to the first question in issue https://gitlab.idiap.ch/bob/bob.bio.base/-/issues/153. But I think it's better that I open a separate issue for clarity.
ping @hotroshi Amir MOHAMMADIAmir MOHAMMADIhttps://gitlab.idiap.ch/bob/bob.devtools/-/issues/75inter-sphinx sources not picked up for private packages in the nightlies2021-10-29T15:34:56ZVincent POLLETinter-sphinx sources not picked up for private packages in the nightliesSphinx doesn't pick up the private packages as sources in the nightlies, see for instance this [MR](https://gitlab.idiap.ch/bob/nightlies/-/merge_requests/45#note_62708)Sphinx doesn't pick up the private packages as sources in the nightlies, see for instance this [MR](https://gitlab.idiap.ch/bob/nightlies/-/merge_requests/45#note_62708)Amir MOHAMMADIAmir MOHAMMADIhttps://gitlab.idiap.ch/bob/bob.bio.base/-/issues/153The docs for creating a custom pipeline are confusing2021-10-29T15:34:56ZAmir MOHAMMADIThe docs for creating a custom pipeline are confusingSee
* https://groups.google.com/d/msgid/bob-devel/89dc9a68-a4bc-4849-a9b9-f3a4d79974e3n%40googlegroups.com
* https://groups.google.com/d/msgid/bob-devel/1d82d1f1-3c21-4b41-a844-3a937c086f3fn%40googlegroups.comSee
* https://groups.google.com/d/msgid/bob-devel/89dc9a68-a4bc-4849-a9b9-f3a4d79974e3n%40googlegroups.com
* https://groups.google.com/d/msgid/bob-devel/1d82d1f1-3c21-4b41-a844-3a937c086f3fn%40googlegroups.comAmir MOHAMMADIAmir MOHAMMADIhttps://gitlab.idiap.ch/bob/bob.bio.face/-/issues/49all_samples() in IJBC2021-10-29T15:34:57ZHatef OTROSHIall_samples() in IJBCHi,
When trying to get `all_samples()` for ijbc dataset, I face with the following error:
```python
>> from bob.bio.face.config.database.ijbc import database
>> database.all_samples()
--------------------------------------------------...Hi,
When trying to get `all_samples()` for ijbc dataset, I face with the following error:
```python
>> from bob.bio.face.config.database.ijbc import database
>> database.all_samples()
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-11-9f954791c55f> in <module>
----> 1 database.all_samples()
AttributeError: 'IJBCDatabase' object has no attribute 'all_samples'
```https://gitlab.idiap.ch/bob/bob.bio.base/-/issues/152`bob bio pipelines vanilla-biometrics` should have an option `--memory` inste...2021-12-15T08:02:00ZTiago de Freitas Pereira`bob bio pipelines vanilla-biometrics` should have an option `--memory` instead `--checkpoint``bob bio pipelines vanilla-biometrics` should checkpoint by default instead of running everything on memory, not on the other way around.
If someone is not aware of what this command does and runs it in a big dataset, the program might ...`bob bio pipelines vanilla-biometrics` should checkpoint by default instead of running everything on memory, not on the other way around.
If someone is not aware of what this command does and runs it in a big dataset, the program might crashes because of OOM.Tiago de Freitas PereiraTiago de Freitas Pereirahttps://gitlab.idiap.ch/bob/bob.devtools/-/issues/74If no pip packages to install, `bdt create` crashes at pip installation phase2021-10-29T15:34:56ZAndré AnjosIf no pip packages to install, `bdt create` crashes at pip installation phaseAndré AnjosAndré Anjoshttps://gitlab.idiap.ch/bob/bob/-/issues/268Are we adopting flake ?2021-05-04T15:40:35ZTiago de Freitas PereiraAre we adopting flake ?Hi guys,
I've seen that some repos contains a pre-commit files where, among other things, code style is checked via `flake`.
First, are we adopting this? Second, why this was never discussed?
Cheers
TiagoHi guys,
I've seen that some repos contains a pre-commit files where, among other things, code style is checked via `flake`.
First, are we adopting this? Second, why this was never discussed?
Cheers
Tiagohttps://gitlab.idiap.ch/bob/bob.devtools/-/issues/73index error when fetching package previous tags and there aren't any2021-10-29T15:34:56ZVincent POLLETindex error when fetching package previous tags and there aren't anyIndex error when taking the latest tag [here](https://gitlab.idiap.ch/bob/bob.devtools/-/blob/99b1e2ffbc54251338571177893d5fb9434d6e46/bob/devtools/release.py#L144)Index error when taking the latest tag [here](https://gitlab.idiap.ch/bob/bob.devtools/-/blob/99b1e2ffbc54251338571177893d5fb9434d6e46/bob/devtools/release.py#L144)https://gitlab.idiap.ch/bob/bob.bio.face/-/issues/48images are assumed to be between 0 and 255 irrespective of their dtype2021-07-09T12:29:50ZAmir MOHAMMADIimages are assumed to be between 0 and 255 irrespective of their dtypeUsually, it is conventional that the dtype of the image determines the range of an image.
For example, when
* dtype is `uint8` image is assumed to be 0 and 255 and:
* `uint16` -> [0,65535]
* `float` -> [0,1]
This is expected in many Py...Usually, it is conventional that the dtype of the image determines the range of an image.
For example, when
* dtype is `uint8` image is assumed to be 0 and 255 and:
* `uint16` -> [0,65535]
* `float` -> [0,1]
This is expected in many Python libraries such as matplotlib and tensorflow.
However, in bob.bio.face, it is assumed that images are between 0 and 255 irrespective of their type:
- https://gitlab.idiap.ch/bob/bob.bio.face/-/blob/8c50e1ee70d866b6c39d7c228cdf1df475a63822/bob/bio/face/database/pola_thermal.py#L103
- https://gitlab.idiap.ch/bob/bob.bio.face/-/blob/8c50e1ee70d866b6c39d7c228cdf1df475a63822/bob/bio/face/embeddings/resnet50.py#L138
- https://gitlab.idiap.ch/bob/bob.bio.face/-/blob/8c50e1ee70d866b6c39d7c228cdf1df475a63822/bob/bio/face/embeddings/tf2_inception_resnet.py#L19
- https://gitlab.idiap.ch/bob/bob.bio.face/-/blob/8c50e1ee70d866b6c39d7c228cdf1df475a63822/bob/bio/face/embeddings/mobilenet_v2.py#L68
I think this problem has arisen due to unconventional conversion of the image dtype in:
https://gitlab.idiap.ch/bob/bob.bio.face/-/blob/8c50e1ee70d866b6c39d7c228cdf1df475a63822/bob/bio/face/preprocessor/Base.py#L102
where the range of the image is not changed during the conversion.
I think it is worth the effort to refactor the code and respect conventional image value ranges in bob.bio.face;
a function similar to https://www.tensorflow.org/api_docs/python/tf/image/convert_image_dtype?hl=en
could alleviate this problem.Amir MOHAMMADIAmir MOHAMMADIhttps://gitlab.idiap.ch/bob/bob.bio.face/-/issues/47Checkpoint cropped face images in .png files (by default) instead of .h5 files2021-07-09T12:30:44ZAmir MOHAMMADICheckpoint cropped face images in .png files (by default) instead of .h5 filesThe checkpoint files are basically .png images but saving them in .h5 files makes them inaccessible for opening and viewing.The checkpoint files are basically .png images but saving them in .h5 files makes them inaccessible for opening and viewing.Bob 9.0.0Amir MOHAMMADIAmir MOHAMMADIhttps://gitlab.idiap.ch/bob/bob.pipelines/-/issues/31Checkpointwrapper sometimes fails due to temporary disk issues2021-10-29T15:34:56ZAmir MOHAMMADICheckpointwrapper sometimes fails due to temporary disk issuesIt's a good idea to retry a couple of times when saving and loadingIt's a good idea to retry a couple of times when saving and loadingTiago de Freitas PereiraTiago de Freitas Pereirahttps://gitlab.idiap.ch/bob/bob.devtools/-/issues/72conda-forge migration2022-03-30T09:33:02ZAmir MOHAMMADIconda-forge migrationIt might be in our interest to base our builds based on conda-forge.
Here is what comes to my mind to enable the migration:
* [x] Cache conda-forge recent (and needed) packages from linux-64 and osx-64 and osx-arm64 builds
* [x] Vince...It might be in our interest to base our builds based on conda-forge.
Here is what comes to my mind to enable the migration:
* [x] Cache conda-forge recent (and needed) packages from linux-64 and osx-64 and osx-arm64 builds
* [x] Vincent: update [libblitz-feedstock](https://github.com/conda-forge/libblitz-feedstock/blob/master/recipe/meta.yaml) to match [ours](https://gitlab.idiap.ch/bob/conda/-/blob/master/conda/libblitz/meta.yaml)
* [x] Tiago: remove vlfeat dependency from bob.ip.base ~~Fix and merge https://github.com/conda-forge/vlfeat-feedstock/pull/9~~
* [x] Laurent: Submit [zc.buildout](https://gitlab.idiap.ch/bob/conda/-/tree/master/conda/zc.buildout) to conda-forge
* [x] Laurent: Submit [zc.recipe.egg](https://gitlab.idiap.ch/bob/conda/-/tree/master/conda/zc.recipe.egg) to conda-forge
* [x] Amir: We need to use conda-forge docker image(s), their compilers, and mac requirements
* [x] Remove `deps` from bob/bob.devtools>
* [x] Start building bob/bob.devtools> based on conda-forge
* [x] Update pin versions in bob.devtools
* [x] Archive bob/conda>
* [x] Amir: We need to delist packages in our channel that are already in conda-forge using metadata patches
* [x] Delete all the beta packages
* [x] Start building bob packages based on conda-forge
* [x] Use https://github.com/conda-forge/miniforge/ instead of miniconda
* [x] We might need to support `yum-requirements.txt` to support `pyopengl` which needs `mesa-libGL-devel` package installed. See: https://gitlab.idiap.ch/bob/bob.devtools/-/blob/5cd514f64181dd0ee834aaf61ebb189c0257e9f8/.gitlab-ci.yml#L71 https://gitlab.idiap.ch/bob/bob.ip.view uses pyopenglhttps://gitlab.idiap.ch/bob/bob.bio.face/-/issues/46Cleanup face cropping helpers2021-10-29T15:34:57ZLaurent COLBOISCleanup face cropping helpersThe available embedding extractors expect various types of cropping (various cropped image size, and more or less tight).
Currently those defaults are provided through some helpers functions (https://gitlab.idiap.ch/bob/bob.bio.face/-/bl...The available embedding extractors expect various types of cropping (various cropped image size, and more or less tight).
Currently those defaults are provided through some helpers functions (https://gitlab.idiap.ch/bob/bob.bio.face/-/blob/master/bob/bio/face/config/baseline/helpers.py) that are not well documented and confusing to follow. The aim is to cleanup and document better the face cropping, mainly :
1. Baselines cleanup
* [x] Hard code specific cropped positions for available baselines directly in the associated config file
* [x] Set the correct annotator that should be used with each extractor (-> the same one than during training)
2. Helpers cleanup
* [x] Refactor to provide only few, general purpose, default cropped positions (e.g. wide & tight crops)
* [x] Document the available default crops
I'll be working on that.Laurent COLBOISLaurent COLBOIS