Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

109
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!