rom1504 / clip-retrieval

Easily compute clip embeddings and build a clip retrieval system with them
https://rom1504.github.io/clip-retrieval/
MIT License
2.25k stars 203 forks source link

Front UI Error when deployed locally #357

Closed hawaiiansun closed 5 months ago

hawaiiansun commented 5 months ago

Hi Romain,

I am facing some problem with the Flask UI, and the error message looks like this:

<IP> - - [05/Feb/2024 19:43:07] "GET / HTTP/1.1" 304 -
<IP> - - [05/Feb/2024 19:43:07] "GET /vendor/webcomponents-loader.js HTTP/1.1" 404 -
<IP> - - [05/Feb/2024 19:43:07] "GET /vendor/custom-elements-es5-adapter.js HTTP/1.1" 404 -
<IP> - - [05/Feb/2024 19:43:07] "GET /main.6da1f410.js HTTP/1.1" 404 -

But I do have /vendor/webcomponents-loader.js, /vendor/custom-elements-es5-adapter.js, and /main.6da1f410.js in the right directory:

image

I installed the front end module using these command:

cd front
npm install
npm run build
cd ..
pip install -e .

And the command I am using to run the end2end image retrieval:

clip-retrieval end2end <parquet files directory> <embedding and index output path>

Could you help me resolve this error? I have been bugged for several days on this. Thank you!

hawaiiansun commented 5 months ago

Resolved

rom1504 commented 5 months ago

Hey what was the issue?

On Tue, Feb 6, 2024, 8:38 PM hawaiiansun @.***> wrote:

Closed #357 https://github.com/rom1504/clip-retrieval/issues/357 as completed.

— Reply to this email directly, view it on GitHub https://github.com/rom1504/clip-retrieval/issues/357#event-11723162861, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAR437SUS2KMJG7KW6Y6TILYSKBDNAVCNFSM6AAAAABC2YRWHCVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRG4ZDGMJWGI4DMMI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

hawaiiansun commented 3 weeks ago

Oh, never mind. I made a mistake on my server.