aboutsummaryrefslogtreecommitdiff
path: root/db2pc.py
diff options
context:
space:
mode:
authornavanchauhan <navanchauhan@gmail.com>2022-05-21 11:00:41 -0600
committernavanchauhan <navanchauhan@gmail.com>2022-05-21 11:01:07 -0600
commit49243b46358c03234873327e2f8a54b872d04ba0 (patch)
tree321c6c00e06ec6a07d4064b9a11ac90970a262af /db2pc.py
parent5da0be5eb1ee2af647413f481eccdfbcd2e3ccf5 (diff)
fixed numpy ndarray to list conversion
Diffstat (limited to 'db2pc.py')
-rw-r--r--db2pc.py2
1 files changed, 1 insertions, 1 deletions
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)