Coding PaliGemma from scratch using pytorch for inference.
- Clone the repository and Go to PaliGemma directory.
git clone https://github.com/eljandoubi/PaliGemma.git && cd PaliGemma
- Build environment.
make build
- Default test case.
make run
- Costumized tests
You can change these variables:
PROMPT
andIMAGE_FILE_PATH
in order to run on your own test case.
make run PROMPT="this building is " IMAGE_FILE_PATH="sample/EiffelTower.jpg"
make clean