Skip to content

Latest commit

 

History

History
41 lines (34 loc) · 1.12 KB

README.md

File metadata and controls

41 lines (34 loc) · 1.12 KB

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