installing BEE for the FRGC

87 views
Skip to first unread message

hulijo

unread,
Jul 6, 2009, 11:49:16 AM7/6/09
to Face Recognition Research Community
Hi all!
I am wondering if anyone has worked with the BEE environment for the
FRGC. I am trying to install the BEE, but have no luck. I was trying
to install it under Cygwin and Linux but always have troubles (some
warnings thrown). I would really need help on this matter. If anyone
has expirience with that, please contact me.

Regards,

Vito

Jamie Cook

unread,
Jul 8, 2009, 5:21:37 PM7/8/09
to Face Recognition Research Community
Vito, I have installed it under fedora linux with minimal problems ...
had to work through my fair share to get there... what in particular
is your problem.

Jamie

hulijo

unread,
Jul 9, 2009, 7:18:08 AM7/9/09
to Face Recognition Research Community
Hi Jamie. I tried to install the BEE environment and got through the
first part (i have sucessfully compiled the software packages needed:
the jpeg library, the tiff library, xerces, xalan, java, ...), with
much work though. It seems that the install script always requires a
certain version of each library even though a had newer versions of
the same libraries already installed. After that I have problems with
the "hface" package. I get the following error when trying to compile
it:

../hface_api/FileListDataSet.h:74: error 'categories' not declared in
this scope

After that some similar errors get thrown. Like a bunch of variables
is undeclared. Any idea? I relly appriciate any input you may have.

Thanks!

Vito
> > Vito- Hide quoted text -
>
> - Show quoted text -

Jamie Cook

unread,
Jul 12, 2009, 6:17:28 PM7/12/09
to Face Recognition Research Community
That sounds like a straight out compilation error... you might have to
go searching for where categories is used and see if the code actually
makes sense. You'd typically get that type of error in two scenarios

1)
int main(void)
{
categrories.initialise(); // variable hasn't been declared
}

2)
// #include "Categegories.h" // note: commented out #include
int main(void)
{
Categories categories; // compiler doesn't know about the
Categories type and throws error here
categrories.initialise(); // variable hasn't been declared because
of previous error
}

I'd say it's more likely the second... maybe the include path hasn't
been set up properly and it can't find the header to include...

When I compiled it I had a bunch of problems too.... just took some
time to work through and get it working, couldn't have got my thesis
finished in time if I'd had to write all that code myself.


Jamie

童灿

unread,
Jul 13, 2009, 2:10:16 AM7/13/09
to face-rec
Dear Jamie,
I have installed the BEE, but I have met with problems, woule you please give me some advise?
Thanks a lot.
 
First, the install of java has some error, which said that:
The download file appears to be corrupted.  Please refer
to the Troubleshooting section of the Installation
Instructions on the download page for more information.

Then I replaced the Java files with other similar files downloaded from the internet and complete the installation.
But when I try the Experiments provided in the database, there are still some errors:
Errors reading the following modules:
Preprocessing:/usr/local/bin/hface_preprocessing
Preprocessing:/usr/local/bin/hface_preprocessing
Preprocessing:/usr/local/bin/hface_preprocessing
BioBox:/usr/local/bin/hface_biobox
SimNorm:/usr/local/bin/hface_simnormer
SimNorm:/usr/local/bin/hface_simnormer
SimNorm:/usr/local/bin/hface_simnormer
Error: Missing executables.
Fix above errors and try again.

And when I check the files mentioned above, I found that:
[super_zw@localhost hface]$ ./configure   it is ok! But
[super_zw@localhost hface]$ make  Error is appealed as follows:

TMatrix.inl: In constructor 'TMatrix<TYPE, ALLOCATOR>::TMatrix(const TMatrix<TYPE, ALLOCATOR>&, const TMatrix<TYPE, ALLOCATOR>&, const TMatrix<TYPE, ALLOCATOR>::cmatmultop&)':



 

--
TONG Can
Tel:+81-080-3992-6328
Graduation of Information, Production and Systems, Waseda University
2-6-218 Hibikino, Wakamatsu-ku, Kitakyushu-shi,Fukuoka 808-0135, Japan
E-Mail:ton...@toki.waseda.jp

200万种商品,最低价格,疯狂诱惑你

hulijo

unread,
Jul 13, 2009, 5:11:55 AM7/13/09
to Face Recognition Research Community
Jamie,
I agree that is seems like an compiler error. However, I checked all
files both in the hface package (using grep) as well as all BEE
directories and neither a header file called "categories.h" nor a
variable called "categories" is declared anywhere in the code. The
same goes for the next error thrown regarding the variable
"totalNumImages" (a counter). A checked all dependecies with no luck?
Could a file be missing?

Regards,

Vito
> E-Mail:tong...@toki.waseda.jp
>
> 在2009-07-13,"Jamie Cook" <jimi.c...@gmail.com> 写道:
>
>
>
>
>
> >That sounds like a straight out compilation error... you might have to
> >go searching for where categories is used and see if the code actually
> >makes sense. You'd typically get that type of error in two scenarios
>
> >1)
> >int main(void)
> >{
> > categrories.initialise(); // variable hasn't been declared
> >}
>
> >2)
> >// #include "Categegories.h" // note: commented out #include
> >int main(void)
> >{
> > Categories categories; // compiler doesn't know about the
> >Categories type and throws error here
> > categrories.initialise(); // variable hasn't been declared because
> >of previous error
> >}
>
> >I'd say it's more likely the second... maybe the include path hasn't
> >been set up properly and it can't find the header to include...
>
> >When I compiled it I had a bunch of problems too.... just took some
> >time to work through and get it working, couldn't have got my thesis
> >finished in time if I'd had to write all that code myself.
>
> >Jamie
>
> >On Jul 9, 9:18?pm, hulijo <vitost...@gmail.com> wrote:
> >> Hi Jamie. I tried to install the BEE environment and got through the
> >> first part (i have sucessfully compiled the software packages needed:
> >> the jpeg library, the tiff library, xerces, xalan, java, ...), with
> >> much work though. It seems that the install script always requires a
> >> certain version of each library even though a had newer versions of
> >> the same libraries already installed. After that I have problems with
> >> the "hface" package. I get the following error when trying to compile
> >> it:
>
> >> ../hface_api/FileListDataSet.h:74: error 'categories' not declared in
> >> this scope
>
> >> After that some similar errors get thrown. Like a bunch of variables
> >> is undeclared. Any idea? I relly appriciate any input you may have.
>
> >> Thanks!
>
> >> Vito
>
> >> On Jul 8, 11:21?pm, Jamie Cook <jimi.c...@gmail.com> wrote:
>
> >> > Vito, I have installed it under fedora linux with minimal problems ...
> >> > had to work through my fair share to get there... what in particular
> >> > is your problem.
>
> >> > Jamie
>
> >> > On Jul 7, 1:49?am, hulijo <vitost...@gmail.com> wrote:
>
> >> > > Hi all!
> >> > > I am wondering if anyone has worked with the BEE environment for the
> >> > > FRGC. I am trying to install the BEE, but have no luck. I was trying
> >> > > to install it under Cygwin and Linux but always have troubles (some
> >> > > warnings thrown). I would really need help on this matter. If anyone
> >> > > has expirience with that, please contact me.
>
> >> > > Regards,
>
> >> > > Vito- Hide quoted text -
>
> >> > - Show quoted text -- Hide quoted text -

Jamie Cook

unread,
Jul 13, 2009, 5:49:10 PM7/13/09
to Face Recognition Research Community
Vito,

I don't actually have the installation of BEE anymore so I was just
guessing that the file *might* be called categories.h. If you go to
line 74 of ../hface_api/FileListDataSet.h you will see a variable
named categories... somewhere in the preceding 73 lines of code this
variable will have been declared - when you find out what type it is
declared as you can begin to unravel the problem.

1) find the type, X, of the variable categories
2) Use grep on the *entire* source tree to find the header, X.h, in
which X is defined
3) Make sure that FileListDataSet.h includes X.h
4) If it does, make sure that the folder in which X.h lives is on the
include search path (check the make file)

Jamie

Jamie Cook

unread,
Jul 13, 2009, 5:50:33 PM7/13/09
to Face Recognition Research Community
You need to compile the executables for your particular platform. I
can't give you any help with the compile error you are having as you
haven't put up *any* details whatsoever, put up the important details
and I'd be willing to help you.

Jamie
> E-Mail:tong...@toki.waseda.jp
>
> 在2009-07-13,"Jamie Cook" <jimi.c...@gmail.com> 写道:
>
>
>
> >That sounds like a straight out compilation error... you might have to
> >go searching for where categories is used and see if the code actually
> >makes sense. You'd typically get that type of error in two scenarios
>
> >1)
> >int main(void)
> >{
> > categrories.initialise(); // variable hasn't been declared
> >}
>
> >2)
> >// #include "Categegories.h" // note: commented out #include
> >int main(void)
> >{
> > Categories categories; // compiler doesn't know about the
> >Categories type and throws error here
> > categrories.initialise(); // variable hasn't been declared because
> >of previous error
> >}
>
> >I'd say it's more likely the second... maybe the include path hasn't
> >been set up properly and it can't find the header to include...
>
> >When I compiled it I had a bunch of problems too.... just took some
> >time to work through and get it working, couldn't have got my thesis
> >finished in time if I'd had to write all that code myself.
>
> >Jamie
>
> >On Jul 9, 9:18?pm, hulijo <vitost...@gmail.com> wrote:
> >> Hi Jamie. I tried to install the BEE environment and got through the
> >> first part (i have sucessfully compiled the software packages needed:
> >> the jpeg library, the tiff library, xerces, xalan, java, ...), with
> >> much work though. It seems that the install script always requires a
> >> certain version of each library even though a had newer versions of
> >> the same libraries already installed. After that I have problems with
> >> the "hface" package. I get the following error when trying to compile
> >> it:
>
> >> ../hface_api/FileListDataSet.h:74: error 'categories' not declared in
> >> this scope
>
> >> After that some similar errors get thrown. Like a bunch of variables
> >> is undeclared. Any idea? I relly appriciate any input you may have.
>
> >> Thanks!
>
> >> Vito
>
> >> On Jul 8, 11:21?pm, Jamie Cook <jimi.c...@gmail.com> wrote:
>
> >> > Vito, I have installed it under fedora linux with minimal problems ...
> >> > had to work through my fair share to get there... what in particular
> >> > is your problem.
>
> >> > Jamie
>

hulijo

unread,
Jul 14, 2009, 4:38:05 AM7/14/09
to Face Recognition Research Community
Jamie,
I have already checked the entire source tree for any declaration of
the variable "categories". The only entry of this variable is in the
header file called "FileListDataSet.h" and even here it is never
declared. It is just used in the code like some kind of global
variable. If I check (grep -r "categories" *) the source tree for the
term "categories" only the following text is returned:

FileListDataSet.h: if (!refToGet.Load(directory
+ categories[lCategoryIndex].images[lImageIndex].c_str()))
FileListDataSet.h: return (refToSet.Save
(directory + categories[lCategoryIndex].images[lImageIndex].c_str()));
FileListDataSet.h: categories.resize
(lNumCategories);
FileListDataSet.h: categories
[i].categoryName = strCurrentLine;
FileListDataSet.h: inImageListFile.open(categories
[i].categoryName.c_str());
FileListDataSet.h: categories[i].categoryName;
FileListDataSet.h: std::string msg = "LoadList():
Invalid Image Number; Category " + categories[i].categoryName;
FileListDataSet.h: categories
[i].images.resize(lNumImages);
FileListDataSet.h: categories
[i].images[j] = strCurrentLine;

As you can see, there is no declaration of the variable nowhere in the
code. My best guess is that some file is missing. I am really puzzled.

Vito
> > >> > - Show quoted text -- Hide quoted text -

Jim Wormold

unread,
Jul 14, 2009, 5:17:13 AM7/14/09
to Face Recognition Research Community
Jamie,

After seeing your issues I decided to try the install myself (I only
downloaded it recently and don't need to use it as yet!). I ran into
exactly the same issue as you wrt installing java. However I found the
following instructions which by following I was able to install the
correct version of java:

http://johanlouwers.blogspot.com/2008/09/install-java-j2re-14204-on-ubuntu.html

After that, the rest of the install seems to work (there were some
warnings IIRC) - at least I can get the drone and the RunManager
working. I'd suggest getting rid of your java install and following
johan's instructions (including inserting the -n on the tail
instructions which I missed!).

I haven't tried the experiments yet as I'm using a shared folder
through virtualbox and I can't create symlinks in those directories to
point to the nd1 folder and I really don't fancy coping 65GB of data
(again!), but I'll reorganise shortly and let you know if it works
(but that's completely different issue)!

Good luck,

Mark

Jim Wormold

unread,
Jul 14, 2009, 5:18:34 AM7/14/09
to Face Recognition Research Community
Sorry I should have pointed out that my install was on ubuntu 9.04
running in virtualbox on xp.

On Jul 14, 10:17 am, Jim Wormold <markfhan...@gmail.com> wrote:
> Jamie,
>
> After seeing your issues I decided to try the install myself (I only
> downloaded it recently and don't need to use it as yet!). I ran into
> exactly the same issue as you wrt installing java. However I found the
> following instructions which by following I was able to install the
> correct version of java:
>
> http://johanlouwers.blogspot.com/2008/09/install-java-j2re-14204-on-u...

hulijo

unread,
Jul 14, 2009, 3:00:01 PM7/14/09
to Face Recognition Research Community
Jim,
so you succeeded in actually installing the BEE on your ubuntu linux
without any errors? If so I would really need some advice. Are you
willing to help?

Regards,

Vito

Jamie Cook

unread,
Jul 14, 2009, 5:55:37 PM7/14/09
to Face Recognition Research Community
Missing file could be the problem, I'd check that the tar ball you
downloaded has the right checksum and then re-extract it. The only
other things I can think of is that you have maybe accidentally
deleted the line with the declaration (in which case reextracting the
downloaded tarball will help) or that you aren't searching high enough
up the tree, maybe go to the root directory and search from there with
your grep command.

Alternately if you can provide me with a login (via personal email not
on the mailing list) I can log in and have a look at the code for
you.

Jamie

Jim Wormold

unread,
Jul 20, 2009, 9:13:16 AM7/20/09
to Face Recognition Research Community
Any luck with fixing the java install via johan's suggested method,
vito?

As I said, my install says it has worked fine. However when I run an
experiment, I get the following (after a few minutes):

cvc-elt.1: Cannot find the declaration of element 'Bee-WS'.
Workspace is not completely valid. Fix workspace and try again.

Does anyone have any ideas? Is this something to do with the version
of xalan and xerces?

Mark

Jim Wormold

unread,
Jul 20, 2009, 9:18:24 AM7/20/09
to Face Recognition Research Community
Any luck with fixing the java install via johan's suggested method,
vito?

As I said, my install says it has worked fine. However when I run an
experiment, I get the following (after a few minutes):

cvc-elt.1: Cannot find the declaration of element 'Bee-WS'.
Workspace is not completely valid. Fix workspace and try again.

Does anyone have any ideas? Is this something to do with the version
of xalan and xerces?

Mark

On 14 July, 22:55, Jamie Cook <jimi.c...@gmail.com> wrote:

hulijo

unread,
Jul 21, 2009, 7:53:19 AM7/21/09
to Face Recognition Research Community
I believe I have solved my problem with the BEE installation. It was
not related to the JAVA install. As far as I can tell now, the "hface"
package contains the same code as the "bee" package, only that the
former is written in c/c++, while the latter is written in Java. So,
there is actually no need to compile the "hface" package - i still
believe that at least one file declaring a few global variables is
missing. I was able to succesfully compile 4 out of seven tools
contained in the "hface" package. I still believe I won't need them
though.

I have to revise one of my papers for TPAMI at the end of August (that
is what i need the BEE for) and then I will do some tests with the BEE
and the FRGC v2.0. For now things will be left as they are, as it
seems that the installation of the Java part of BEE was ok. I will
happily go into more details and post more info then. It may well be
that I run into the same problem as you Jim.

Regards,

Vito

Jim Wormold

unread,
Jul 28, 2009, 8:12:25 AM7/28/09
to Face Recognition Research Community
How wrong was I! I encountered the same problem as TONG Can mentioned
about missing executables, so I thought I should check the install log
files... all sorts of problems. The first error appears to be the
same as TONG Can encountered:

TMatrix.inl: In constructor 'TMatrix<TYPE, ALLOCATOR>::TMatrix(const
TMatrix<TYPE, ALLOCATOR>&, const TMatrix<TYPE, ALLOCATOR>&, const
TMatrix<TYPE, ALLOCATOR>::cmatmultop&)':
TMatrix.inl:236: error: 'CblasRowMajor' was not declared in this scope
TMatrix.inl:236: error: 'CblasNoTrans' was not declared in this scope

Is this likely to be related Ubuntu, or updates in software
dependencies? If it's OS related which flavour of linux have people
had success in? If it's a software version issue, could you point me
to a guide of how to "install" the versions that came with the FRGC
distribution? I'm quite new to linux...

My "cvc-elt.1: Cannot find the declaration of element 'Bee-WS'.
problem was caused by a proxy issue. I just downloaded the file,
stored it locally and amended the xsi:schemaLocation elements in the
xml files.

Many thanks,

Mark

On Jul 21, 12:53 pm, hulijo <vitost...@gmail.com> wrote:
> I believe I have solved my problem with the BEE installation. It was
> not related to the JAVA install. As far as I can tell now, the "hface"
> package contains the same code as the "bee" package, only that the
> former is written in c/c++, while the latter is written in Java. So,
> there is actually no need to compile the "hface" package - i still
> believe that at least one file declaring a few global variables is
> missing. I was able to succesfully compile 4 out of seven tools
> contained in the "hface" package. I still believe I won't need them
> though.
>
> I have to revise one of my papers for TPAMI at the end of August (that
> is what i need the BEE for) and then I will do some tests with the BEE
> and theFRGCv2.0. For now things will be left as they are, as it

hulijo

unread,
Jul 29, 2009, 4:36:25 AM7/29/09
to Face Recognition Research Community
I actually solved this problem, or better said one of my coleggues who
is quite an expert of Linux and C++ programming solved it for me. As
far as I recall, he said that it is LAPACK related. I can give you
more details when he returns from his vacations.

Regards,

Vito
> ...
>
> read more >>- Hide quoted text -

Jim Wormold

unread,
Jul 29, 2009, 7:12:27 AM7/29/09
to Face Recognition Research Community
Vito, that would be awesome. I've installed the most likely looking
LAPACK packages but still no luck - presumably I have do update the
scripts to use them now which I have no idea about.

I look forward to your reply.

Regards,

Mark
> ...
>
> read more >>
Reply all
Reply to author
Forward
0 new messages