Git Product home page Git Product logo

Comments (5)

jackroos avatar jackroos commented on June 19, 2024 1

Yes, you can fine-tune VL-BERT for you task by simply adding a classification head on top of the output feature of first token [CLS] and fine-tuning it together with VL-BERT.
For how to load data and conduct fine-tuning, you can follow our code for downstream tasks (e.g., VQA, RefCOCO+, etc.).

from vl-bert.

faizanahemad avatar faizanahemad commented on June 19, 2024 1

@jackroos Thanks Jack, I do have a pre-trained Faster RCNN setup. This is based on the same caffe model you have in the instructions. I generate 100 boxes with nms=0.5 and confidence_threshold = 0.2,
Q1. Would it be possible for you to post 1 image and it's generated boxes, features here so I can verify if my setup is runnable.

Q2. Also I believe I need to use the same FRCNN as you did in case I want to use pretrained models. changing the FRCNN to SSD or any other detector will not work without retrained.

from vl-bert.

faizanahemad avatar faizanahemad commented on June 19, 2024

@jackroos Would this work even if I have no precomputed features/boxes for the images. It peeked inside vqa/data//datasets/vqa.py and it seems we need to have precomputed stuff.

@webYFDT Did you make it work?

from vl-bert.

jackroos avatar jackroos commented on June 19, 2024

@faizanahemad We need precomputed boxes in our VL-BERT. You can use pre-trained Faster RCNN to compute the boxes, following our instructions on preparing Conceptual Captions dataset.

from vl-bert.

jackroos avatar jackroos commented on June 19, 2024

@faizanahemad Sorry for the late reply, for examples of the image and generated boxes, maybe you can refer to the caffe bottom-up-attention repo, there are pre-computed boxes and features for coco images. And for your second question, the answer is yes, you need to use the same detector to extract visual features while using the FRCNN in VL-BERT.

from vl-bert.

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.