Giter Site home page Giter Site logo

Comments (8)

Naziyashaik09 avatar Naziyashaik09 commented on June 30, 2024

@sleepingcat4 Am also looking for the same have you got anything on this.
Please let me know if you got anything.

from big_vision.

sleepingcat4 avatar sleepingcat4 commented on June 30, 2024

@Naziyashaik09 I've actually solved this problem.

from big_vision.

Naziyashaik09 avatar Naziyashaik09 commented on June 30, 2024

@sleepingcat4 Please can you share me the code or the notebook link.

from big_vision.

akolesnikoff avatar akolesnikoff commented on June 30, 2024

The main colab has examples of how to tune the model and make predictions (aka inference): https://colab.research.google.com/github/google-research/big_vision/blob/main/big_vision/configs/proj/paligemma/finetune_paligemma.ipynb.

Is there something specific that is unclear?

from big_vision.

gadhane avatar gadhane commented on June 30, 2024

@Naziyashaik09 I've actually solved this problem.

Can you please share on how you address the issue? I tried the one provided on the original code, but it is not working. We would appreciate if you could give some ideas or if possible share the code. Thank you.

from big_vision.

sleepingcat4 avatar sleepingcat4 commented on June 30, 2024

It's not difficult. Change the model and tokenizer paths to your trained model and tokenizer path in the beginning and done. Although if you want to just keep the inference code that's slightly tricky. Since, PaliGemma uses Jax sharding which needs to be kept unless you can load the entire model on your GPU or Colab. @gadhane @Naziyashaik09

from big_vision.

sleepingcat4 avatar sleepingcat4 commented on June 30, 2024

@akolesnikoff actually no. Unfortunately, off-the boat it is not apparent we just need to change the model and tokenizer paths LOL!

from big_vision.

EtremelyKeep avatar EtremelyKeep commented on June 30, 2024

The main colab has examples of how to tune the model and make predictions (aka inference): https://colab.research.google.com/github/google-research/big_vision/blob/main/big_vision/configs/proj/paligemma/finetune_paligemma.ipynb.

Is there something specific that is unclear?

the dataset of fine-tuning paligemma is missing, and the longcap100 dataset is now inaccessible from kaggle.

from big_vision.

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.