Comments (3)
Hi @kaipo-chang
Are you changing any of the hyperparameters during training? Are you initializing with the pretrained model? Are you running the filter_and_get_scores
function? Are you using the coco-caption i indicated in the readme?
I recommend you first use the checkpoint I provided and see if you can get the scores reported in the paper. Or you can directly provide the json output result I provided. If you do not get the correct scores, then there is probably a different coco-caption you are using?
from nlxgpt.
Thank you for your rapid reply. After your kindly reminder, I found that I forget to set finetuned_pretrained
to True. Therefore, the distilGPT2 is initialized from Huggingface. Sorry for making this stupid error.
On the other hand, I would like to ask you why the clip-vit encoder would be fixed during finetuning. Do you have done the related experiments?
from nlxgpt.
@kaipo-chang finetuning clip is not that safe and easy as you expect. You need to follow carefully very specific guides and hyperparameters in order for it to work. And above all that it may not work at the end. You can find these guides and hyperparameters somewhere in one of the issues of the clip github repo i think. I remember following them, and it ended up not working at all. Also, I think keeping a strong modality featurizer fixed (e.g., image features) and training the other (text) has a good impact (topic of the popular LiT paper published also in CVPR 2022). Also, training becomes much faster in this case. You may try finetuning CLIP, and would love to hear from you if you could make it work!
Feel free to open this issue again if you still face any problems!
Regards
from nlxgpt.
Related Issues (13)
- How to run pretrained model VQA-X with single image in Google Colab HOT 8
- question about visual attention map HOT 8
- VQA_X finetuning HOT 2
- For help HOT 1
- No such file or directory: 'cococaption/annotations/vqaX_test_annot_exp.json' HOT 6
- Pre-training step HOT 8
- 'prepare_data' folder and README incomplete HOT 3
- How do I get the results of the VCR dataset stated in the appendix by running the source code
- Google driver link is invalid HOT 3
- GPU and Train time HOT 1
- best checkpoint HOT 1
- the link is broken 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 nlxgpt.