在使用jupyter notebook学习动手学深度学习时,出现以下错误:
%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”(很可能是循环导入造成的)文章来源:https://www.toymoban.com/news/detail-739512.html
解决:关闭所有的jupyter notebook,并重启文章来源地址https://www.toymoban.com/news/detail-739512.html
到了这里,关于AttributeError: partially initialized module ‘pandas‘ has no attribute ‘core‘的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!