Comments (2)
Thanks for your interest in our work.
Lines 138 to 143 in https://github.com/sarahESL/PubMedCLIP/blob/main/QCR_PubMedCLIP/lib/BAN/multi_level_model.py shows an example of how you can load the pre-trained PubmedCLIP models.
Once the model is loaded, you can simply encode your images by model.encode_image(image)
, similar to what described in the README at https://github.com/openai/CLIP .
from pubmedclip.
Thank you for the response.
from pubmedclip.
Related Issues (16)
- Cannot access trained models on GDrive HOT 2
- Issues with lib/utils/run.sh for input files HOT 6
- Validation set & test/train answer differences HOT 1
- How to save a model in local machine ? HOT 1
- why can run.sh create datasets files? HOT 4
- No such operator image::read_file HOT 3
- VQA_RAC preprocessing dictionary dimension HOT 2
- Issue with VQA RAD training HOT 2
- Question about answer+"#" HOT 3
- Validation Set for SLAKE dataset
- Questions about reproducibility
- imgid2idx.json HOT 1
- pretrained_ae.pth HOT 2
- embed_tfidf_weights
- No such file or directory:radiologytraindata.csv HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pubmedclip.