在使用jupyter notebook學(xué)習(xí)動手學(xué)深度學(xué)習(xí)時,出現(xiàn)以下錯誤:
%matplotlib inline
import math
import torch
from torch import nn
from torch.nn import functional as F
from d2l import torch as d2l
batch_size, num_steps = 32, 35
train_iter, vocab = d2l.load_data_time_machine(batch_size, num_steps)
部分初始化的模塊 "pandas "沒有屬性 “core”(很可能是循環(huán)導(dǎo)入造成的)文章來源:http://www.zghlxwxcb.cn/news/detail-739512.html
解決:關(guān)閉所有的jupyter notebook,并重啟文章來源地址http://www.zghlxwxcb.cn/news/detail-739512.html
到了這里,關(guān)于AttributeError: partially initialized module ‘pandas‘ has no attribute ‘core‘的文章就介紹完了。如果您還想了解更多內(nèi)容,請?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!