Comments (3)
Hi @MenSanYan,
Thank you for your interest in our work. The SAM weights can be downloaded from their official GiTHub repository using the following link,
https://dl.fbaipublicfiles.com/segment_anything/sam_vit_h_4b8939.pth
from groundinglmm.
Hi @mmaaz60 ! As I can read in the paper and after checking the code you fine-tuned those weights, correct? Could you provide the fine-tuned SAM weights? Or are these loaded automatically when running GLaMMForCausalLM.from_pretrained(...)
? That would mean that we should actually pass --vision_pretrained None
if we actually want to use the fine-tuned weights, right? Thank you!
from groundinglmm.
Hi @ekazakos,
The SAM encoder - referred to as the grounding encoder in the paper is frozen.
During pretraining: we freeze the Grounding encoder here.
When we finetune (when you use from_pretrained
) set gad False here. As you can see in this line, we do not set grad True for the grounding_encoder
.
Hope this helps.
from groundinglmm.
Related Issues (20)
- Online Demo Down HOT 1
- Fine-tuning Grounded Conversation Generation (GCG) Task HOT 4
- token_positives HOT 2
- assertion error cur_len == total_len HOT 1
- can not install mmcv HOT 2
- Can not find file for glamm_conda_env.zip in the given Google Drive Link HOT 4
- Training on New Data HOT 2
- training V-L and L-P projection layer HOT 1
- Can not download the train.json file for visual genome
- How can I let the model receive multiple images at once HOT 1
- How should I train on the GranD dataset
- How can I finetune on combined tasks?
- Confusing referring segmentation results. HOT 1
- mmcv failed to install HOT 1
- AssertionError when running a demo
- Offline demo error
- Why is it that during the computation of segmentation results, the model() function is used instead of model.generate()? Wouldn't this mean that when predicting the next token, the information viewed is from the actual token rather than the predicted one? HOT 1
- What are the ‘categories’ in the dataset used for? When would I use them?
- How to Construct a Ground-Truth Test Dataset
- Question about eval pipeline on RefCOCO (doing sampling during evaluation).
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 groundinglmm.