Open km5ar opened 1 year ago
这个问题搞定了了吗 请问
@HJL-echoandy to anyone who is facing this problem I sort of found a quick fix.... After struggling with this same issue on a MacBook Pro M2, according to what I found online, this error message was mostly related to how Jupyter handles multithreading, particularly pickle.
So this solution worked for me:
Note: You can refer to my notes in case of doubt.
Another thing to pay attention is that the only way I found to deal with this issue was to combine both lesson 15.3 and 15.4 in one notebook (i.e., dataset_word_embedding.ipynb), because I defined load_data_ptb locally.
AttributeError: Can't pickle local object 'load_data_ptb..PTBDataset'
can anyone help with this error?