fixed numpy ndarray to list conversion

This commit is contained in:
navanchauhan 2022-05-21 11:00:41 -06:00
parent 5da0be5eb1
commit 49243b4635
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ for x in tqdm(range(0,len(df),batch_size)):
for idx, value in enumerate(trakt_ids): for idx, value in enumerate(trakt_ids):
to_send.append( to_send.append(
{ {
value: embeddings[idx] value: embeddings[idx].tolist()
}) })
print(to_send) print(to_send)