bob.learn.pytorch issues
https://gitlab.idiap.ch/bob/bob.learn.pytorch/-/issues
2020-12-15T11:35:24Z
https://gitlab.idiap.ch/bob/bob.learn.pytorch/-/issues/27
Bizzare Conda recipe
2020-12-15T11:35:24Z
Tiago de Freitas Pereira
Bizzare Conda recipe
The conda recipe of this package says that is linux only
```
{% set name = 'bob.learn.pytorch' %}
{% set project_dir = environ.get('RECIPE_DIR') + '/..' %}
package:
name: {{ name }}
version: {{ environ.get('BOB_PACKAGE_VERSION', '0...
The conda recipe of this package says that is linux only
```
{% set name = 'bob.learn.pytorch' %}
{% set project_dir = environ.get('RECIPE_DIR') + '/..' %}
package:
name: {{ name }}
version: {{ environ.get('BOB_PACKAGE_VERSION', '0.0.1') }}
build:
skip: true # [not linux]
entry_points:
- train_cnn.py = bob.learn.pytorch.scripts.train_cnn:main
```
However, even if this OS should be skipped, it still tries to resolve its dependencies
Check, https://gitlab.idiap.ch/bob/bob.learn.pytorch/-/jobs/220183
Is it a bug?
https://gitlab.idiap.ch/bob/bob.learn.pytorch/-/issues/26
Question, Why bob.pad.base is a dependency ?
2020-10-28T09:33:57Z
Tiago de Freitas Pereira
Question, Why bob.pad.base is a dependency ?
`bob.pad.base` is a dependency of this package, but not used.
Thanks for any feedback
`bob.pad.base` is a dependency of this package, but not used.
Thanks for any feedback
https://gitlab.idiap.ch/bob/bob.learn.pytorch/-/issues/25
Logging is wrong in some architectures
2019-10-07T11:58:33Z
Guillaume HEUSCH
Logging is wrong in some architectures
The logging level is not set properly at the moment:
there is a ``verbosity_level`` option in the ``__init__`` function of some model, which expects an ``int``.
But since the used logger is not the bob one but the python one, the verbo...
The logging level is not set properly at the moment:
there is a ``verbosity_level`` option in the ``__init__`` function of some model, which expects an ``int``.
But since the used logger is not the bob one but the python one, the verbosity is not set properly.
Indeed, verbosity level on the python logging module should be expressed as
```python
logging.DEBUG,
logging.INFO,
logging.WARNING,
logging.ERROR,
logging.CRITICAL
```
which, using the bob logger corresponds to:
```python
log_level = {
0: logging.ERROR,
1: logging.WARNING,
2: logging.INFO,
3: logging.DEBUG
}
```
Check https://gitlab.idiap.ch/bob/bob.extension/blob/master/bob/extension/log.py
Guillaume HEUSCH
Guillaume HEUSCH
https://gitlab.idiap.ch/bob/bob.learn.pytorch/-/issues/24
Nightlies are failing because of this one
2019-09-17T15:31:17Z
Tiago de Freitas Pereira
Nightlies are failing because of this one
Check it out https://gitlab.idiap.ch/bob/bob.nightlies/-/jobs/173437
```
======================================================================
ERROR: test for the DltResNet architecture
-------------------------------------------------...
Check it out https://gitlab.idiap.ch/bob/bob.nightlies/-/jobs/173437
```
======================================================================
ERROR: test for the DltResNet architecture
----------------------------------------------------------------------
Traceback (most recent call last):
File "/scratch/builds/bob/bob.nightlies/miniconda/conda-bld/bob.learn.pytorch_1568687631902/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/scratch/builds/bob/bob.nightlies/miniconda/conda-bld/bob.learn.pytorch_1568687631902/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.7/site-packages/bob/learn/pytorch/test/test_audio_extractor.py", line 19, in test_drn
from bob.learn.pytorch.preprocessor.audio import DltResNetExtractor
File "/scratch/builds/bob/bob.nightlies/miniconda/conda-bld/bob.learn.pytorch_1568687631902/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.7/site-packages/bob/learn/pytorch/preprocessor/audio/__init__.py", line 1, in <module>
from .DltResNet import DltResNetExtractor
File "/scratch/builds/bob/bob.nightlies/miniconda/conda-bld/bob.learn.pytorch_1568687631902/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.7/site-packages/bob/learn/pytorch/preprocessor/audio/DltResNet.py", line 151
input_var = torch.autograd.Variable(torch.Tensor(in_batch).unsqueeze(1).cuda(async=True))
^
SyntaxError: invalid syntax
======================================================================
ERROR: test for the ResNet architecture
----------------------------------------------------------------------
Traceback (most recent call last):
File "/scratch/builds/bob/bob.nightlies/miniconda/conda-bld/bob.learn.pytorch_1568687631902/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/scratch/builds/bob/bob.nightlies/miniconda/conda-bld/bob.learn.pytorch_1568687631902/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.7/site-packages/bob/learn/pytorch/test/test_audio_extractor.py", line 35, in test_rn
from bob.learn.pytorch.preprocessor.audio import DltResNetExtractor
File "/scratch/builds/bob/bob.nightlies/miniconda/conda-bld/bob.learn.pytorch_1568687631902/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.7/site-packages/bob/learn/pytorch/preprocessor/audio/__init__.py", line 1, in <module>
from .DltResNet import DltResNetExtractor
File "/scratch/builds/bob/bob.nightlies/miniconda/conda-bld/bob.learn.pytorch_1568687631902/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.7/site-packages/bob/learn/pytorch/preprocessor/audio/DltResNet.py", line 151
input_var = torch.autograd.Variable(torch.Tensor(in_batch).unsqueeze(1).cuda(async=True))
^
SyntaxError: invalid syntax
```
Can someone have a look at it, please? ping @heusch @ageorge
Thanks
https://gitlab.idiap.ch/bob/bob.learn.pytorch/-/issues/22
Job Failed #170881
2019-08-27T07:18:12Z
Anjith GEORGE
anjith.george@idiap.ch
Job Failed #170881
Seems the tests are failing on master, can you take a look @heusch . Would need it for BATL ST4 next week.
Job [#170881](https://gitlab.idiap.ch/bob/bob.learn.pytorch/-/jobs/170881) failed for d25aaf5f7bcd229f12aeeab35481fed29c4305d4:
Seems the tests are failing on master, can you take a look @heusch . Would need it for BATL ST4 next week.
Job [#170881](https://gitlab.idiap.ch/bob/bob.learn.pytorch/-/jobs/170881) failed for d25aaf5f7bcd229f12aeeab35481fed29c4305d4:
Guillaume HEUSCH
Guillaume HEUSCH
https://gitlab.idiap.ch/bob/bob.learn.pytorch/-/issues/21
Docs are missing in bob/docs
2019-09-27T13:41:50Z
Amir MOHAMMADI
Docs are missing in bob/docs
Please add this package to `bob/docs`. It should be in `bob/nightlies` and `bob/bob` as well but I haven't checked that.
Please add this package to `bob/docs`. It should be in `bob/nightlies` and `bob/bob` as well but I haven't checked that.
Guillaume HEUSCH
Guillaume HEUSCH
https://gitlab.idiap.ch/bob/bob.learn.pytorch/-/issues/20
Pipelines failing
2019-04-26T07:41:19Z
Anjith GEORGE
anjith.george@idiap.ch
Pipelines failing
The pipelines seems to be failing in master branch. can you check.
Thanks
The pipelines seems to be failing in master branch. can you check.
Thanks
Guillaume HEUSCH
Guillaume HEUSCH
https://gitlab.idiap.ch/bob/bob.learn.pytorch/-/issues/19
Dataset handling
2021-08-31T15:50:53Z
Guillaume HEUSCH
Dataset handling
Find a way to properly handle data loading and preprocessing ...
This issue deprecates is (loosely) related to #10
Find a way to properly handle data loading and preprocessing ...
This issue deprecates is (loosely) related to #10
Guillaume HEUSCH
Guillaume HEUSCH
https://gitlab.idiap.ch/bob/bob.learn.pytorch/-/issues/18
Tests take forever to run
2019-03-25T12:53:11Z
Guillaume HEUSCH
Tests take forever to run
The CI seems a bit too long to run (~1h30) - mostly due to the download of the pretrained FASNet (also, it pollutes the CI log). A solution to this would be great ! Any idea @ageorge ?
The CI seems a bit too long to run (~1h30) - mostly due to the download of the pretrained FASNet (also, it pollutes the CI log). A solution to this would be great ! Any idea @ageorge ?
https://gitlab.idiap.ch/bob/bob.learn.pytorch/-/issues/17
Upgrade to pytorch-1.0.1
2019-05-03T12:43:18Z
André Anjos
Upgrade to pytorch-1.0.1
We (@tlaibacher and myself) just realised this project is using an older version of pytorch (0.4.1). As we may be doing some work on this, it would be nice to get it upgraded to the latest stable on conda defaults (1.0.1). BTW, I check...
We (@tlaibacher and myself) just realised this project is using an older version of pytorch (0.4.1). As we may be doing some work on this, it would be nice to get it upgraded to the latest stable on conda defaults (1.0.1). BTW, I checked and macOS builds are still not supported for pytorch... I wonder if the packages they build in pytorch.org are compatible with the defaults channel and if we could just re-distribute those in our stable channel for this purpose.
@heusch: could you please check what it would take for this package?
Base work on bob/bob.conda **and** bob/bob.devtools needs to be done to update these before your package can actually be tested against it.
Guillaume HEUSCH
Guillaume HEUSCH
https://gitlab.idiap.ch/bob/bob.learn.pytorch/-/issues/16
MC-CNN requires pytorch >= 0.4.1
2019-03-15T13:06:08Z
Guillaume HEUSCH
MC-CNN requires pytorch >= 0.4.1
It appears that the current implementation of MC-CNN requires PyTorch version 0.4.1 (or above, I guess).
Anyway, this is easy to solve and I will update the requirements and conda recipe accordingly.
@ageorge @ssarfjoo, since you are co...
It appears that the current implementation of MC-CNN requires PyTorch version 0.4.1 (or above, I guess).
Anyway, this is easy to solve and I will update the requirements and conda recipe accordingly.
@ageorge @ssarfjoo, since you are contributing to the package, be sure to keep that in mind when adding code (i.e. update the requirements and conda recipe as well in your MR).
Thanks !
Guillaume HEUSCH
Guillaume HEUSCH
https://gitlab.idiap.ch/bob/bob.learn.pytorch/-/issues/15
Refactor train_network.py (and related stuff)
2019-03-25T10:12:09Z
Guillaume HEUSCH
Refactor train_network.py (and related stuff)
The goal here is to refactor this script and all related implementations, to make them compliant to the current framework
The goal here is to refactor this script and all related implementations, to make them compliant to the current framework
https://gitlab.idiap.ch/bob/bob.learn.pytorch/-/issues/14
check verbosity with MLP
2019-03-25T13:13:28Z
Guillaume HEUSCH
check verbosity with MLP
If the verbosity level is set to more than 1 when using MLP, the `train_network.py` script will try to save images, and fail.
If the verbosity level is set to more than 1 when using MLP, the `train_network.py` script will try to save images, and fail.
https://gitlab.idiap.ch/bob/bob.learn.pytorch/-/issues/13
Remove unecessary stuff in train_network script
2019-03-25T10:12:35Z
Guillaume HEUSCH
Remove unecessary stuff in train_network script
It looks like this line is not needed:
https://gitlab.idiap.ch/bob/bob.learn.pytorch/blob/master/bob/learn/pytorch/scripts/train_network.py#L322
It looks like this line is not needed:
https://gitlab.idiap.ch/bob/bob.learn.pytorch/blob/master/bob/learn/pytorch/scripts/train_network.py#L322
Olegs NIKISINS
Olegs NIKISINS
https://gitlab.idiap.ch/bob/bob.learn.pytorch/-/issues/12
Config files should be removed from the package
2019-03-26T15:34:22Z
Guillaume HEUSCH
Config files should be removed from the package
Examples should be given in the doc (user guide)
Examples should be given in the doc (user guide)
Guillaume HEUSCH
Guillaume HEUSCH
https://gitlab.idiap.ch/bob/bob.learn.pytorch/-/issues/11
Find a mechanism to handle cross-validation
2019-03-13T10:23:30Z
Guillaume HEUSCH
Find a mechanism to handle cross-validation
https://gitlab.idiap.ch/bob/bob.learn.pytorch/-/issues/10
Scripts should not handle (too much) of data
2019-03-26T14:52:28Z
Guillaume HEUSCH
Scripts should not handle (too much) of data
Scripts should not take care of dealing with data more than necessaty (i.e. define dataloader). Config files and `bob/learn/pytorch/datasets` are meant for this purpose.
Scripts should not take care of dealing with data more than necessaty (i.e. define dataloader). Config files and `bob/learn/pytorch/datasets` are meant for this purpose.
https://gitlab.idiap.ch/bob/bob.learn.pytorch/-/issues/9
pkgutil.extend_path should only be used in files that are shared with other B...
2019-02-12T08:35:11Z
Amir MOHAMMADI
pkgutil.extend_path should only be used in files that are shared with other Bob packages
@ssarfjoo pointed out there are these two lines in some `__init__.py` of this package:
```
# see https://docs.python.org/3/library/pkgutil.html
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
```
These lines mu...
@ssarfjoo pointed out there are these two lines in some `__init__.py` of this package:
```
# see https://docs.python.org/3/library/pkgutil.html
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
```
These lines must only be put in `__init__.py` files which are shared with other Bob packages.
For example for this package, it means that only `bob/__init__.py` and `bob/learn/__init__.py` must contain these two lines.
Because theses files are shared with other Bob packages. It must not be in other `__init__.py` files so it should be removed from https://gitlab.idiap.ch/bob/bob.learn.pytorch/blob/f1fe9f47c7d42b34e6d660952201ea4288a07f10/bob/learn/pytorch/__init__.py and https://gitlab.idiap.ch/bob/bob.learn.pytorch/blob/f1fe9f47c7d42b34e6d660952201ea4288a07f10/bob/learn/pytorch/extractor/__init__.py because these files only exist in `bob.learn.pytorch` and not somewhere else.
Saeed SARFJOO
Saeed SARFJOO
https://gitlab.idiap.ch/bob/bob.learn.pytorch/-/issues/8
Job Failed #156455
2019-02-07T13:25:38Z
Olegs NIKISINS
Job Failed #156455
Hey @andre.anjos ,
For some reason MAC builds are failing due to user write permissions. Do you have any ideas why is it happening? Thanks!
Job [#156455](https://gitlab.idiap.ch/bob/bob.learn.pytorch/-/jobs/156455) failed for bd5110419...
Hey @andre.anjos ,
For some reason MAC builds are failing due to user write permissions. Do you have any ideas why is it happening? Thanks!
Job [#156455](https://gitlab.idiap.ch/bob/bob.learn.pytorch/-/jobs/156455) failed for bd511041909a7e4bc8a42a5982c99061476fc4c7:
https://gitlab.idiap.ch/bob/bob.learn.pytorch/-/issues/7
Improve docstrings for LightCNN architectures (in utils too)
2021-08-31T15:50:58Z
Guillaume HEUSCH
Improve docstrings for LightCNN architectures (in utils too)
Guillaume HEUSCH
Guillaume HEUSCH