bob.learn.mlp issueshttps://gitlab.idiap.ch/bob/bob.learn.mlp/-/issues2021-09-17T14:19:31Zhttps://gitlab.idiap.ch/bob/bob.learn.mlp/-/issues/11DEPRECATION2021-09-17T14:19:31ZTiago de Freitas PereiraDEPRECATIONThis package will be deprecated in favor of Tensorflow/PyTorchThis package will be deprecated in favor of Tensorflow/PyTorchBob 9.0.0Amir MOHAMMADIAmir MOHAMMADIhttps://gitlab.idiap.ch/bob/bob.learn.mlp/-/issues/10conda build is not using bob-devel2018-07-06T12:59:43ZTiago de Freitas Pereiraconda build is not using bob-develSame as in bob.measure#55
https://gitlab.idiap.ch/bob/bob.learn.mlp/-/jobs/142252
ping @andre.anjos @amohammadiSame as in bob.measure#55
https://gitlab.idiap.ch/bob/bob.learn.mlp/-/jobs/142252
ping @andre.anjos @amohammadihttps://gitlab.idiap.ch/bob/bob.learn.mlp/-/issues/9unchecked functions from `bob::math` are used2017-11-14T05:01:03ZManuel Günthersiebenkopf@googlemail.comunchecked functions from `bob::math` are usedsee bob/bob.math!13see bob/bob.math!13Manuel Günthersiebenkopf@googlemail.comManuel Günthersiebenkopf@googlemail.comhttps://gitlab.idiap.ch/bob/bob.learn.mlp/-/issues/8constness issue in nose tests2017-11-14T05:01:03ZAndré Anjosconstness issue in nose tests*Created by: siebenkopf*
With the new constness initiative (see: https://github.com/bioidiap/bob.blitz/issues/6) there are some nose tests failing:
https://travis-ci.org/bioidiap/bob.learn.mlp/builds/120843870
as they try to modify va...*Created by: siebenkopf*
With the new constness initiative (see: https://github.com/bioidiap/bob.blitz/issues/6) there are some nose tests failing:
https://travis-ci.org/bioidiap/bob.learn.mlp/builds/120843870
as they try to modify values that are ``const``. Please review both the tests and also whether these values must be returned as ``const`` arrays.https://gitlab.idiap.ch/bob/bob.learn.mlp/-/issues/5bob.learn.mlp.Machine.__repr__ crashes2017-11-14T05:01:03ZAndré Anjosbob.learn.mlp.Machine.__repr__ crashes*Created by: siebenkopf*
The ``__repr__`` method of ``bob.learn.mlp.Machine`` crashes, throughout. Try:
```python
>>> import bob.learn.mlp
>>> m = bob.learn.mlp.Machine((1,1,1))
>>> print (m)
```
The reason is that the ``PyBob...*Created by: siebenkopf*
The ``__repr__`` method of ``bob.learn.mlp.Machine`` crashes, throughout. Try:
```python
>>> import bob.learn.mlp
>>> m = bob.learn.mlp.Machine((1,1,1))
>>> print (m)
```
The reason is that the ``PyBobLearnMLPMachine_Repr`` method:
https://github.com/bioidiap/bob.learn.mlp/blob/master/bob/learn/mlp/machine.cpp#L702
expects the ``PyBobLearnMLPMachine_getWeights`` to return a ``PyBlitzArray_Object*``, while it actually returns a tuple:
https://github.com/bioidiap/bob.learn.mlp/blob/master/bob/learn/mlp/machine.cpp#L261
Hence, ``NULL`` is passed to ``make_safe``, which crashes with a SEGFAULT.https://gitlab.idiap.ch/bob/bob.learn.mlp/-/issues/4superfluous 'batch_size' parameter?2020-10-08T08:12:49ZAndré Anjossuperfluous 'batch_size' parameter?*Created by: siebenkopf*
I recently tried to use the ``bob.learn.mlp.RProp`` class to train a neural network. I came across the ``batch_size`` parameter that I need to set in the constructor (as well as in all other Trainer constructors...*Created by: siebenkopf*
I recently tried to use the ``bob.learn.mlp.RProp`` class to train a neural network. I came across the ``batch_size`` parameter that I need to set in the constructor (as well as in all other Trainer constructors). In the documentation, it is not clear, how to select a proper value, so I used 1 (for stochastic training).
Anyways, afterwards I wanted to train a network with several input values, which I had put into a list. However, when I called the ``train`` method, I got the error message:
```
RuntimeError: array dimensions do not match 1 != 1031
```
where 1031 is the number of training examples. So, I had a look into the code, and I found that the ``batch_size`` parameter has to match the number of training samples.
Now, my question is, why do we need to specify something obvious? Can't the code just assume that the ``batch_size`` is the same as the number of inputs?
The only place, where the code actually relies on the ``batch_size`` is during the initialization of the trainer, which resizes some buffers according to the number of training data (see: https://github.com/bioidiap/bob.learn.mlp/blob/master/bob/learn/mlp/cxx/trainer.cpp#L221) . Can't we simply resize these buffers, when we know the number of data? This would enable us to remove this superfluous parameter from the Trainer constructors...https://gitlab.idiap.ch/bob/bob.learn.mlp/-/issues/3Setting input_subtract and input_divide in bob.learn.mlp.Machine2017-11-14T05:01:03ZAndré AnjosSetting input_subtract and input_divide in bob.learn.mlp.Machine*Created by: ivana7c*
The PyNumber_Check seems to pass also for numpy.array, and returns an error when you try to use this setter with numpy.array:
https://github.com/bioidiap/bob.learn.mlp/blob/master/bob/learn/mlp/machine.cpp#L438
...*Created by: ivana7c*
The PyNumber_Check seems to pass also for numpy.array, and returns an error when you try to use this setter with numpy.array:
https://github.com/bioidiap/bob.learn.mlp/blob/master/bob/learn/mlp/machine.cpp#L438
The same applies for the input_divide setter.https://gitlab.idiap.ch/bob/bob.learn.mlp/-/issues/2Where is this module install to?2017-11-14T05:01:03ZAndré AnjosWhere is this module install to?*Created by: StevenLOL*
Where is this module install to?
Follow the readme:
$ python bootstrap.py
...
$ ./bin/buildout
And yet unalbe to find where it install to. Please help.
An so this is the error:
mlp = bob....*Created by: StevenLOL*
Where is this module install to?
Follow the readme:
$ python bootstrap.py
...
$ ./bin/buildout
And yet unalbe to find where it install to. Please help.
An so this is the error:
mlp = bob.learn.mlp.Machine((3, 3, 2, 1))
AttributeError: 'module' object has no attribute 'learn'
https://gitlab.idiap.ch/bob/bob.learn.mlp/-/issues/1Travis builds are not passing2017-11-14T05:01:03ZAndré AnjosTravis builds are not passing*Created by: siebenkopf*
Hi,
currently the Travis builds of this package are not passing:
https://travis-ci.org/bioidiap/bob.learn.mlp
It seems that there is an issue with the doctests. Unfortunately, I cannot reproduce this issue ...*Created by: siebenkopf*
Hi,
currently the Travis builds of this package are not passing:
https://travis-ci.org/bioidiap/bob.learn.mlp
It seems that there is an issue with the doctests. Unfortunately, I cannot reproduce this issue on my machine.
Please investigate!