Help to run baseline face recognition algorithms using bob

96 views
Skip to first unread message

mb

unread,
Oct 10, 2016, 4:58:43 AM10/10/16
to bob-devel
I installed the bob library from anaconda distribution. I am getting started on face recognition research. My objective is to run and test the baseline algorithms for face recognition. If I understood well, I need to use the https://github.com/bioidiap/bob.bio.face package as mentioned in your documentation. I cloned this repository on github from bioidiap/bob.bio.face. But I faced some issues while building this library using the buildout method. Hence, I created an in issue on github https://github.com/bioidiap/bob.bio.face/issues/7. As you can see, the issue was closed redirecting me to idiap.ch/software/bob.Can I get the bob.bio.face package directly using conda? If not, could you please suggest me a standard way to obtain the necesary packages to run the face recognition algorithms.

André Anjos

unread,
Oct 10, 2016, 5:07:50 AM10/10/16
to bob-...@googlegroups.com
Hello,

You should install the binaries of bob (base packages) through conda as per explanation here:


Then, you should "pip install bob.bio.face" over that environment.

Best, Andre

On Mon, Oct 10, 2016 at 10:58 AM, mb <mani....@gmail.com> wrote:
I installed the bob library from anaconda distribution. I am getting started on face recognition research. My objective is to run and test the baseline algorithms for face recognition. If I understood well, I need to use the https://github.com/bioidiap/bob.bio.face package as mentioned in your documentation. I cloned this repository on github from bioidiap/bob.bio.face. But I faced some issues while building this library using the buildout method. Hence, I created an in issue on github https://github.com/bioidiap/bob.bio.face/issues/7. As you can see, the issue was closed redirecting me to idiap.ch/software/bob.Can I get the bob.bio.face package directly using conda? If not, could you please suggest me a standard way to obtain the necesary packages to run the face recognition algorithms.

--
-- You received this message because you are subscribed to the Google Groups bob-devel group. To post to this group, send email to bob-...@googlegroups.com. To unsubscribe from this group, send email to bob-devel+unsubscribe@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/bob-devel or directly the project website at http://idiap.github.com/bob/
---
You received this message because you are subscribed to the Google Groups "bob-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bob-devel+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Dr. André Anjos
Idiap Research Institute
Centre du Parc - rue Marconi 19
CH-1920 Martigny, Suisse
Phone: +41 27 721 7763
Fax: +41 27 721 7712
http://andreanjos.org

mb

unread,
Oct 10, 2016, 5:28:16 AM10/10/16
to bob-devel
Thanks Andre. I tried installing from gitlab. I get the following output: Seems to be an issue with gridtk. 

Collecting bob.bio.face
  Downloading bob.bio.face-3.0.0.zip (2.2MB)
    100% |████████████████████████████████| 2.2MB 423kB/s 
Requirement already satisfied (use --upgrade to upgrade): setuptools in ./miniconda3/envs/bob_env_py27/lib/python2.7/site-packages (from bob.bio.face)
Requirement already satisfied (use --upgrade to upgrade): bob.extension in ./miniconda3/envs/bob_env_py27/lib/python2.7/site-packages (from bob.bio.face)
Requirement already satisfied (use --upgrade to upgrade): bob.blitz in ./miniconda3/envs/bob_env_py27/lib/python2.7/site-packages (from bob.bio.face)
Requirement already satisfied (use --upgrade to upgrade): bob.core in ./miniconda3/envs/bob_env_py27/lib/python2.7/site-packages (from bob.bio.face)
Requirement already satisfied (use --upgrade to upgrade): bob.io.base in ./miniconda3/envs/bob_env_py27/lib/python2.7/site-packages (from bob.bio.face)
Requirement already satisfied (use --upgrade to upgrade): bob.io.image in ./miniconda3/envs/bob_env_py27/lib/python2.7/site-packages (from bob.bio.face)
Requirement already satisfied (use --upgrade to upgrade): bob.learn.activation in ./miniconda3/envs/bob_env_py27/lib/python2.7/site-packages (from bob.bio.face)
Requirement already satisfied (use --upgrade to upgrade): bob.math in ./miniconda3/envs/bob_env_py27/lib/python2.7/site-packages (from bob.bio.face)
Requirement already satisfied (use --upgrade to upgrade): bob.sp in ./miniconda3/envs/bob_env_py27/lib/python2.7/site-packages (from bob.bio.face)
Requirement already satisfied (use --upgrade to upgrade): bob.ip.base in ./miniconda3/envs/bob_env_py27/lib/python2.7/site-packages (from bob.bio.face)
Requirement already satisfied (use --upgrade to upgrade): bob.ip.color in ./miniconda3/envs/bob_env_py27/lib/python2.7/site-packages (from bob.bio.face)
Requirement already satisfied (use --upgrade to upgrade): bob.ip.draw in ./miniconda3/envs/bob_env_py27/lib/python2.7/site-packages (from bob.bio.face)
Requirement already satisfied (use --upgrade to upgrade): bob.ip.gabor in ./miniconda3/envs/bob_env_py27/lib/python2.7/site-packages (from bob.bio.face)
Requirement already satisfied (use --upgrade to upgrade): bob.learn.linear in ./miniconda3/envs/bob_env_py27/lib/python2.7/site-packages (from bob.bio.face)
Requirement already satisfied (use --upgrade to upgrade): bob.learn.em in ./miniconda3/envs/bob_env_py27/lib/python2.7/site-packages (from bob.bio.face)
Requirement already satisfied (use --upgrade to upgrade): bob.measure in ./miniconda3/envs/bob_env_py27/lib/python2.7/site-packages (from bob.bio.face)
Requirement already satisfied (use --upgrade to upgrade): bob.db.base in ./miniconda3/envs/bob_env_py27/lib/python2.7/site-packages (from bob.bio.face)
Requirement already satisfied (use --upgrade to upgrade): bob.db.atnt in ./miniconda3/envs/bob_env_py27/lib/python2.7/site-packages (from bob.bio.face)
Collecting bob.bio.base (from bob.bio.face)
  Downloading bob.bio.base-3.0.0.zip (316kB)
    100% |████████████████████████████████| 317kB 2.0MB/s 
Requirement already satisfied (use --upgrade to upgrade): bob.learn.boosting in ./miniconda3/envs/bob_env_py27/lib/python2.7/site-packages (from bob.bio.face)
Requirement already satisfied (use --upgrade to upgrade): bob.ip.facedetect in ./miniconda3/envs/bob_env_py27/lib/python2.7/site-packages (from bob.bio.face)
Requirement already satisfied (use --upgrade to upgrade): bob.ip.flandmark in ./miniconda3/envs/bob_env_py27/lib/python2.7/site-packages (from bob.bio.face)
Requirement already satisfied (use --upgrade to upgrade): matplotlib in ./.local/lib/python2.7/site-packages (from bob.bio.face)
Collecting gridtk (from bob.bio.face)
  Downloading gridtk-1.4.0.zip (47kB)
    100% |████████████████████████████████| 51kB 5.7MB/s 
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-FA3qc3/gridtk/setup.py", line 6, in <module>
        requirements = [k.strip() for k in open("requirements.txt").read().split()]
    IOError: [Errno 2] No such file or directory: 'requirements.txt'


Should I create an issue on gitlab perhaps?

Thanks,
Mani

On Monday, 10 October 2016 11:07:50 UTC+2, André Anjos wrote:
Hello,

You should install the binaries of bob (base packages) through conda as per explanation here:


Then, you should "pip install bob.bio.face" over that environment.

Best, Andre
On Mon, Oct 10, 2016 at 10:58 AM, mb <mani....@gmail.com> wrote:
I installed the bob library from anaconda distribution. I am getting started on face recognition research. My objective is to run and test the baseline algorithms for face recognition. If I understood well, I need to use the https://github.com/bioidiap/bob.bio.face package as mentioned in your documentation. I cloned this repository on github from bioidiap/bob.bio.face. But I faced some issues while building this library using the buildout method. Hence, I created an in issue on github https://github.com/bioidiap/bob.bio.face/issues/7. As you can see, the issue was closed redirecting me to idiap.ch/software/bob.Can I get the bob.bio.face package directly using conda? If not, could you please suggest me a standard way to obtain the necesary packages to run the face recognition algorithms.

--
-- You received this message because you are subscribed to the Google Groups bob-devel group. To post to this group, send email to bob-...@googlegroups.com. To unsubscribe from this group, send email to bob-devel+...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/bob-devel or directly the project website at http://idiap.github.com/bob/

---
You received this message because you are subscribed to the Google Groups "bob-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bob-devel+...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

André Anjos

unread,
Oct 10, 2016, 5:58:51 AM10/10/16
to bob-...@googlegroups.com
Congratulations - you hit a bug with gridtk ;-)

Will fix it soon and upload a new version to PyPI. Once there, it should run fine. I'll let you know.

Thanks for this report, Andre

--
-- You received this message because you are subscribed to the Google Groups bob-devel group. To post to this group, send email to bob-...@googlegroups.com. To unsubscribe from this group, send email to bob-devel+unsubscribe@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/bob-devel or directly the project website at http://idiap.github.com/bob/

---
You received this message because you are subscribed to the Google Groups "bob-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bob-devel+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

mb

unread,
Oct 10, 2016, 7:54:32 AM10/10/16
to bob-devel
Hi André,

Perfect. Thanks for your quick responses. And I will definitely see if I can contribute to your excellent software. 

Thanks,
Mani

André Anjos

unread,
Oct 11, 2016, 3:11:43 AM10/11/16
to bob-devel
This should now be fixed, Mani. Could you please retry the same steps as per above and let us know if you now can install the required software w/o problems?

Thanks for reporting back, André

mb

unread,
Oct 28, 2016, 11:28:30 AM10/28/16
to bob-devel
Hi André,

Apologies for the late response. 

After your fix,  'pip install bob.bio.face' works perfectly now without the gridtk issue. I confirm I have tested this on both my OSX and linux64bit. (Before issuing the pip install, I installed "bob" first through conda, following the instructions at https://gitlab.idiap.ch/bob/bob/wikis/Installation). If not, it again fails. I guess this is normal though). Thanks a lot for your fix. 

Thanks,
Mani
Reply all
Reply to author
Forward
0 new messages