Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minimal usage instruction #6

Open
rom1504 opened this issue May 29, 2022 · 2 comments
Open

minimal usage instruction #6

rom1504 opened this issue May 29, 2022 · 2 comments

Comments

@rom1504
Copy link
Contributor

rom1504 commented May 29, 2022

Install with pip install ClipClap

use with

import clipclap

model = clipclap.load_pretrained()
text = clipclap.generate(PIL.open("https://some/img"))

text = clipclap.generate(my_clip_embedding)

(this is an example, please tune the API as you like)

@rom1504
Copy link
Contributor Author

rom1504 commented May 29, 2022

https://github.com/UKPLab/EasyNMT#usage good example

@uu95
Copy link

uu95 commented May 30, 2023

Hello, @rom1504 do you have a pretrained model which I can use to perform audio captioning using this example?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants