Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

112
Vistas
Alternative to pickle for javascript

I'm working on a deep learning project and I got stucked: I have a jupiter notebook that processes a dataset of images and returns a list of tensors in python, which I pickle with pickle.dump(). Before, I was unpickling the list in pyhon, and then using it to train my model, so I had no issues... But now I need those pickled data loaded also in the browser (to be able to use them with tensorflow js). Do you know any good alternative to pickle? Obviously I could save my data in a different format in python, so that after I'd be able to load them in js... I just don't know which format is the best (JSON?).

To be clearer on the type of data, this is my data before pickling/after unpickling it in python:

tf.Tensor(
[[[[ 31.741358  36.196915  36.969135]
   [ 31.762732  40.762733  39.762733]
   [ 28.562115  38.562115  37.562115]
   ...
   [ 21.795372  27.795372  27.795372]
   [ 29.314323  33.314323  32.314323]
   [ 25.28419   29.28419   28.28419 ]]

  [[ 33.765278  39.765278  39.765278]
   [ 31.849304  40.849304  39.849304]
   [ 29.36111   39.36111   38.36111 ]
   ...

Thank you in advance!

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda