You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry that I didn't do the change to fix the code: I don't know if I am allowed to commit changes to this repository or not!
The text was updated successfully, but these errors were encountered:
Soudeh-Jahanshahi
changed the title
Function load_numpy_file at line 75 of code [create_model.py](https://github.com/zbmed-semtec/hybrid-pre-doc2vec-doc-relevance/blob/main/code/embeddings/create_model.py) raises error AttributeError: 'list' object has no attribute 'tolist'
Code create_model.py raises error AttributeError: 'list' object has no attribute 'tolist'Dec 25, 2023
Function load_numpy_file at line 75 of code create_model.py raises error
AttributeError: 'list' object has no attribute 'tolist'
.To fix the error one can replace line 75 with
join_text = [list(doc[1]) + list(doc[2]) for doc in data]
Sorry that I didn't do the change to fix the code: I don't know if I am allowed to commit changes to this repository or not!
The text was updated successfully, but these errors were encountered: