bug-gift
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-GIFT] height="" and other experiences


From: Georg Gogo. BERNHARD
Subject: [bug-GIFT] height="" and other experiences
Date: Sun, 17 Mar 2002 13:13:42 +0100

Dear, gift team!

I'm running gift-0.1.8 on a (very old) Pentium 90MHz under SuSE Linux 7.0. I
just thought it might be helpful to report some experiences I made:

When I try to connect to the server _before_ I add any collection it does a
segmentation fault. Since it's not likely that a lot of people want to run a
gift server without any collections this bug is maybe unimportant, but it
would be nice to catch the segmentation fault and print some useful error
statement.

Sometimes my server really seems to be too slow to react; Result sets are
sometimes just empty, if I try the same query again and again it works after
about 3 trys. This happens with both, Charmer0.2b and the online viper demo.
Maybe there are some timeout values I could adapt.

I encountered a little "bug" and I'm not sure if it's on the server side or
client side: When I connect to my own gift server
(gogo.bluedynamics.com:12789) with the online viper demo all images of the
result set have <img ... height="" ...> and aren't displayed correctly
though It works fine with Charmer0.2b. I just pasted the source code at the
end of this email. I don't know if my gift server suggests to use that
height, or if viper makes the mistake. The links are all okay, if I open the
images in a new browser window they are displayed right.

Uploading in the demo doesn't work. If this is on purpose I would suggest to
say something about it on the website, or disable the buttons. Otherwise you
might want to chmod the respective directories and allow uploading of
example images for everybody.

And finally I have two more questions:
Do you know if there is already a search engine that uses gift for searchng
images on the www?
Could you imagine to extend gift so it could search (grafical) t-fft's of
music or sounds as well?

Regards,
and thank you very very much
for your fantastic work!
address@hidden



8<------------------------
<html>
<!--
// PHP MRML Client to the GIFT system written by Nicolas Chabloz
// Copyright (C) 2002 CUI, University of Geneva
//
//  This program is free software; you can redistribute it and/or modify
//  it under the terms of the GNU General Public License as published by
//  the Free Software Foundation; either version 2 of the License, or
//  (at your option) any later version.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU General Public License for more details.
//
//  You should have received a copy of the GNU General Public License
//  along with this program; if not, write to the Free Software
//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
//  02111-1307  USA
-->
<head>
<title>Viper PHP demo interface</title>
</head>
<body bgcolor="#FFFFFF" background="http://viper.unige.ch/pics/viperbg.gif";>
<center>
<table width="50%" border="0"><tr><td><img
src="http://viper.unige.ch/pics/viperlogo.gif"; width="96" height="61"></td>
<td><div align="center"><font size="+3">Online Demo</font></div></td>
<td><div align="right"><img src="http://viper.unige.ch/pics/viperlogo.gif";
width="96" height="61"></div></td></tr>
<tr><td></td><td align="center">Read this <a
href="http://viper.unige.ch/disclaimer/"; target="new">disclaimer</a>
first</td><td></td></tr>
</table>
<hr>



 <A NAME="top"></A>
 <script language="JavaScript">
 <!--
 function submitTheForm() {
  document.Form.submit()
 }

 file://-->
 </script><form method="post" action="http://viper.unige.ch/demo.php";
name="Form" ENCTYPE="multipart/form-data" ><input type="hidden"
name="OldSubmit" value="Random"><input type="hidden" name="SessionId"
value="1"><center><font color=#ff0000 size=+2>Do not save this page (see <a
href=http://viper.unige.ch/demo/noSave.html>why</a>)</font></center><br/><br
/>  Collection (<a href="demo/localCollections.html"
target="new">details</a>): <input type="hidden" name="OldCollectionId"
value="c-9-42-23-16-2-102-6-74-0"><select name="CollectionId"><option
value="c-9-42-23-16-2-102-6-74-0">gogo</option></select> Algorithm: <input
type="hidden" name="OldAlgorithm" value="0"><select name="AlgorithmId"
ONCHANGE="submitTheForm()"><option value="a-cidf">Classical
IDF</option><option value="a-perl">Perl link</option><option
value="adefault">Separate Normalisation</option><option
value="sub1">sub1</option><option value="sub2">sub2</option><option
value="sub3">sub3</option><option value="sub4">sub4</option></select> Return
<select name="Return"><option value="10">10</option><option
value="20">20</option><option value="50">50</option><option
value="100">100</option><option value="140">140</option></select>
images<br><br>Algorithm options:<br>Modify default configuration: <input
type="hidden" name="NameAlgoOption0" value=""><select name="AlgoOption0"
ONCHANGE="submitTheForm()"><option value="no">no</option><option
value="yes">yes</option></select><br><br>Url of a relevant image:<input
type="text" name="url" maxlength="200"><br>Other relevant image: <INPUT
NAME="UserImage" TYPE="file">  <br><br><table width="50%" border="0">
        <tr>
         <td>
         <div align="center">
         <input type="submit" name="Submit" value="Random">
         <br>
         (fetch a random set of images)</div>
         </td>
         <td>
         <div align="center">
         <input type="submit" name="Submit" value="Query">
         <br>
         ( launch the query)</div>
         </td>
         <td>
         <div align="center">
         <input type="submit" name="Submit" value="Clear">
         <br>
         (Clear the query)</div>
         </td>
        </tr>
      </table>
  <br><input type="hidden" name="server"
value="gogo.bluedynamics.com"><input type="hidden" name="port"
value="12789"><input type="hidden" name="name" value="anonymous"><input
type="hidden" name="SessionId" value="1"><table border=1><tr
height="120"><td valign="bottom" width="120" height="120"><center><a
href="http://gogo.bluedynamics.com/photo/gogo/Image102.jpg";
target="new"><img src="http://gogo.bluedynamics.com/photo/gogo/Image102.jpg";
width="120" height="" alt="Image102.jpg"></a><br>Similarity: 1.000000<input
type="hidden" name="image_"
value="http://gogo.bluedynamics.com/photo/gogo/Image102.jpg";><input
type="hidden" name="thumb_img_"
value="http://gogo.bluedynamics.com/photo/gogo/Image102.jpg";><br><select
name="rel_img_"><option value="0">neutral</option><option
value="1">rel</option><option value="-1">non-rel</option></select><br><a
href="#top">top</a></center></td><td valign="bottom" width="120"
height="120"><center><a
href="http://gogo.bluedynamics.com/photo/gogo/Image14.jpg"; target="new"><img
src="http://gogo.bluedynamics.com/photo/gogo/Image14.jpg"; width="120"
height="" alt="Image14.jpg"></a><br>Similarity: 1.000000<input type="hidden"
name="image_1"
value="http://gogo.bluedynamics.com/photo/gogo/Image14.jpg";><input
type="hidden" name="thumb_img_1"
value="http://gogo.bluedynamics.com/photo/gogo/Image14.jpg";><br><select
name="rel_img_1"><option value="0">neutral</option><option
value="1">rel</option><option value="-1">non-rel</option></select><br><a
href="#top">top</a></center></td><td valign="bottom" width="120"
height="120"><center><a
href="http://gogo.bluedynamics.com/photo/gogo/Image25.jpg"; target="new"><img
src="http://gogo.bluedynamics.com/photo/gogo/Image25.jpg"; width="120"
height="" alt="Image25.jpg"></a><br>Similarity: 1.000000<input type="hidden"
name="image_2"
value="http://gogo.bluedynamics.com/photo/gogo/Image25.jpg";><input
type="hidden" name="thumb_img_2"
value="http://gogo.bluedynamics.com/photo/gogo/Image25.jpg";><br><select
name="rel_img_2"><option value="0">neutral</option><option
value="1">rel</option><option value="-1">non-rel</option></select><br><a
href="#top">top</a></center></td><td valign="bottom" width="120"
height="120"><center><a
href="http://gogo.bluedynamics.com/photo/gogo/Image34.jpg"; target="new"><img
src="http://gogo.bluedynamics.com/photo/gogo/Image34.jpg"; width="120"
height="" alt="Image34.jpg"></a><br>Similarity: 1.000000<input type="hidden"
name="image_3"
value="http://gogo.bluedynamics.com/photo/gogo/Image34.jpg";><input
type="hidden" name="thumb_img_3"
value="http://gogo.bluedynamics.com/photo/gogo/Image34.jpg";><br><select
name="rel_img_3"><option value="0">neutral</option><option
value="1">rel</option><option value="-1">non-rel</option></select><br><a
href="#top">top</a></center></td><td valign="bottom" width="120"
height="120"><center><a
href="http://gogo.bluedynamics.com/photo/gogo/Image41.jpg"; target="new"><img
src="http://gogo.bluedynamics.com/photo/gogo/Image41.jpg"; width="120"
height="" alt="Image41.jpg"></a><br>Similarity: 1.000000<input type="hidden"
name="image_4"
value="http://gogo.bluedynamics.com/photo/gogo/Image41.jpg";><input
type="hidden" name="thumb_img_4"
value="http://gogo.bluedynamics.com/photo/gogo/Image41.jpg";><br><select
name="rel_img_4"><option value="0">neutral</option><option
value="1">rel</option><option value="-1">non-rel</option></select><br><a
href="#top">top</a></center></td></tr><tr height="120"><td valign="bottom"
width="120" height="120"><center><a
href="http://gogo.bluedynamics.com/photo/gogo/Image5.jpg"; target="new"><img
src="http://gogo.bluedynamics.com/photo/gogo/Image5.jpg"; width="120"
height="" alt="Image5.jpg"></a><br>Similarity: 1.000000<input type="hidden"
name="image_5"
value="http://gogo.bluedynamics.com/photo/gogo/Image5.jpg";><input
type="hidden" name="thumb_img_5"
value="http://gogo.bluedynamics.com/photo/gogo/Image5.jpg";><br><select
name="rel_img_5"><option value="0">neutral</option><option
value="1">rel</option><option value="-1">non-rel</option></select><br><a
href="#top">top</a></center></td><td valign="bottom" width="120"
height="120"><center><a
href="http://gogo.bluedynamics.com/photo/gogo/Image50.jpg"; target="new"><img
src="http://gogo.bluedynamics.com/photo/gogo/Image50.jpg"; width="120"
height="" alt="Image50.jpg"></a><br>Similarity: 1.000000<input type="hidden"
name="image_6"
value="http://gogo.bluedynamics.com/photo/gogo/Image50.jpg";><input
type="hidden" name="thumb_img_6"
value="http://gogo.bluedynamics.com/photo/gogo/Image50.jpg";><br><select
name="rel_img_6"><option value="0">neutral</option><option
value="1">rel</option><option value="-1">non-rel</option></select><br><a
href="#top">top</a></center></td><td valign="bottom" width="120"
height="120"><center><a
href="http://gogo.bluedynamics.com/photo/gogo/Image67.jpg"; target="new"><img
src="http://gogo.bluedynamics.com/photo/gogo/Image67.jpg"; width="120"
height="" alt="Image67.jpg"></a><br>Similarity: 1.000000<input type="hidden"
name="image_7"
value="http://gogo.bluedynamics.com/photo/gogo/Image67.jpg";><input
type="hidden" name="thumb_img_7"
value="http://gogo.bluedynamics.com/photo/gogo/Image67.jpg";><br><select
name="rel_img_7"><option value="0">neutral</option><option
value="1">rel</option><option value="-1">non-rel</option></select><br><a
href="#top">top</a></center></td><td valign="bottom" width="120"
height="120"><center><a
href="http://gogo.bluedynamics.com/photo/gogo/Image76.jpg"; target="new"><img
src="http://gogo.bluedynamics.com/photo/gogo/Image76.jpg"; width="120"
height="" alt="Image76.jpg"></a><br>Similarity: 1.000000<input type="hidden"
name="image_8"
value="http://gogo.bluedynamics.com/photo/gogo/Image76.jpg";><input
type="hidden" name="thumb_img_8"
value="http://gogo.bluedynamics.com/photo/gogo/Image76.jpg";><br><select
name="rel_img_8"><option value="0">neutral</option><option
value="1">rel</option><option value="-1">non-rel</option></select><br><a
href="#top">top</a></center></td><td valign="bottom" width="120"
height="120"><center><a
href="http://gogo.bluedynamics.com/photo/gogo/Image77.jpg"; target="new"><img
src="http://gogo.bluedynamics.com/photo/gogo/Image77.jpg"; width="120"
height="" alt="Image77.jpg"></a><br>Similarity: 1.000000<input type="hidden"
name="image_9"
value="http://gogo.bluedynamics.com/photo/gogo/Image77.jpg";><input
type="hidden" name="thumb_img_9"
value="http://gogo.bluedynamics.com/photo/gogo/Image77.jpg";><br><select
name="rel_img_9"><option value="0">neutral</option><option
value="1">rel</option><option value="-1">non-rel</option></select><br><a
href="#top">top</a></center></td></tr></table></form>
      </center>

<hr>
<address>
Interface developped and maintained by <a
href="mailto:address@hidden";>Nicolas Chabloz</a> &copy; 2001 - <a
href="http://viper.unige.ch";>Viper</a>
 - <a href="http://viper.unige.ch/disclaimer/";>Disclaimer</a></address>
</body>
</html>
------------------------>8






reply via email to

[Prev in Thread] Current Thread [Next in Thread]