Giter Site home page Giter Site logo

Comments (7)

firestonelib avatar firestonelib commented on June 10, 2024

You can try this: https://github.com/PaddlePaddle/PASSL/blob/main/docs/Train_CLIP_model.md
The link includes a demo which using texts to retrieve images.

from passl.

wamm0909 avatar wamm0909 commented on June 10, 2024

You can try this: https://github.com/PaddlePaddle/PASSL/blob/main/docs/Train_CLIP_model.md
The link includes a demo which using texts to retrieve images.

thanks, and i want to use paddlepaddle/moco v2 (https://github.com/PaddlePaddle/PASSL/blob/main/configs/moco/moco_v2_r50.yaml)to do image similarity matching experiments locally(linux or mac), can you give me some suggestions

from passl.

firestonelib avatar firestonelib commented on June 10, 2024

First of all, you can download paddle moco v2 model from this link .
Second, you should extract the moco v2 backbone weights following the step 2 in our MoCo doc .
Last but not least, you can run your image similarity matching experiments following our clip demo.

from passl.

firestonelib avatar firestonelib commented on June 10, 2024

AI Studio Project: https://aistudio.baidu.com/aistudio/projectdetail/2332016?_=1630569049096

from passl.

wamm0909 avatar wamm0909 commented on June 10, 2024

AI Studio Project: https://aistudio.baidu.com/aistudio/projectdetail/2332016?_=1630569049096

buddy, your update is very timely. I have been using the clip demo just now to encounter'' image_input.npy ''(github), which solved this, but it also prompted ValueError: paddle.load can not parse the file:ViT-B-32.pdparams .I am running on a mac.I just want to experiment with moco, it's too torturous

from passl.

wamm0909 avatar wamm0909 commented on June 10, 2024

AI Studio Project: https://aistudio.baidu.com/aistudio/projectdetail/2332016?_=1630569049096

buddy, your update is very timely. I have been using the clip demo just now to encounter'' image_input.npy ''(github), which solved this, but it also prompted ValueError: paddle.load can not parse the file:ViT-B-32.pdparams .I am running on a mac.I just want to experiment with moco, it's too torturous

paddle version:2.1.2

from passl.

firestonelib avatar firestonelib commented on June 10, 2024

Do you install passl correctively? or download vit-b-32 model?
Make sure the code bellow is running fluently:

pip install passl==0.0.4 -U -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install scikit-image -U -i https://pypi.tuna.tsinghua.edu.cn/simple
wget https://passl.bj.bcebos.com/models/ViT-B-32.pdparams

from passl.

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.