Giter Site home page Giter Site logo

Comments (6)

rom1504 avatar rom1504 commented on June 3, 2024

from clip-retrieval.

Maxwells-Demons avatar Maxwells-Demons commented on June 3, 2024

But I indeed specified clip_model in the command:
clip-retrieval back --port 1234 --indices-paths indices_paths.json --enable_hdf5 True --enableaiss_memory_mapping True --use_jit False --clip_model ViT-L/14 --use_arrow True
Or the clip_model should be specified in somewhere else?

from clip-retrieval.

rom1504 avatar rom1504 commented on June 3, 2024

What commands did you use to build the embeddings and index ?

from clip-retrieval.

Maxwells-Demons avatar Maxwells-Demons commented on June 3, 2024

Inference:
time clip-retrieval inference --input_dataset="/public_bme/data/xiedian/laion400m/laion400m-data/{00000..41407}.tar" --output_folder="/public_bme/data/xiedian/laion400m/laion400m-embeds" --input_format "webdataset" --enable_metadata=True --write_batch_size=1000000 --batch_size=4096 --cache_path=None --num_prepro_workers=8
Indexing:
time clip-retrieval index --embeddings_folder="laion400m-embeds" --index_folder="index_folder" --max_index_memory_usage="160G" --current_memory_available="180G" --copy_metadata True --nb_cores 32

from clip-retrieval.

rom1504 avatar rom1504 commented on June 3, 2024

from clip-retrieval.

Maxwells-Demons avatar Maxwells-Demons commented on June 3, 2024

Problem solved, thanks for your generous help!

from clip-retrieval.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.