Passing pictures as arrays to the model (Pytorch or Numpy)

#73
by artyomboyko - opened

Good day. Thanks for the model to the Google team. Thank you for supporting OpenSource.

Is there any possibility to transfer to Gemma-3-it pictures as arrays from RAM (without saving them from the disc as jpg files)? If possible, please give an example of the code. I am interested in transferring say 10 or more pictures to the model. Thanks.

Sign up or log in to comment