From 49243b46358c03234873327e2f8a54b872d04ba0 Mon Sep 17 00:00:00 2001 From: navanchauhan Date: Sat, 21 May 2022 11:00:41 -0600 Subject: fixed numpy ndarray to list conversion --- db2pc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db2pc.py b/db2pc.py index 557462e..caf0ae7 100644 --- a/db2pc.py +++ b/db2pc.py @@ -32,7 +32,7 @@ for x in tqdm(range(0,len(df),batch_size)): for idx, value in enumerate(trakt_ids): to_send.append( { - value: embeddings[idx] + value: embeddings[idx].tolist() }) print(to_send) -- cgit v1.2.3