Pytorch出现错误AttributeError: module ‘torch‘ has no attribute ‘_six‘

Pytorch不断踩坑中,出现AttributeError: module 'torch' has no attribute '_six'这个错误,搜索了一下,网上的说法都是说在jupyter notebook中,重新启动内核(Kernel->Restart)就可以正常工作。

我试了一下并没有成功。

解决:

点菜单栏上的"不可信"按钮,转换为"可信"(Javascript enabled for notebook display)问题解决。

你可能感兴趣的:(Pytorch,pytorch,深度学习,人工智能)