Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Coding PaliGemma from scratch using pytorch for inference.

License

Notifications You must be signed in to change notification settings

eljandoubi/PaliGemma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coding PaliGemma from scratch using pytorch for inference.

Setup environment

  • Clone the repository and Go to PaliGemma directory.
git clone https://github.com/eljandoubi/PaliGemma.git && cd PaliGemma
  • Build environment.
make build

Run inference

  • Default test case.
make run
  • Costumized tests You can change these variables: PROMPT and IMAGE_FILE_PATH in order to run on your own test case.
make run PROMPT="this building is " IMAGE_FILE_PATH="sample/EiffelTower.jpg"

Clean environment

make clean

About

Coding PaliGemma from scratch using pytorch for inference.

Topics

Resources

License

Stars

Watchers

Forks