FileNotFoundError: [Errno 2] No such file or directory: ‘sample_weight.pkl‘《深度学习入门》3.6.2()

报错的意思是没有找到“sample_weight.pkl”这个文件的地址或者路径

解决方法:将本书的源代码文件夹改名为Deep learning from scratch code并存放至jupyter notebook存放文件的位置,再复制“sample_weight.pkl”这个文件的路径”D:\python-test\Deep learning from scratch code\ch03\sample_weight.pkl”,将“sample_weight.pkl”改为”D:\python-test\Deep learning from scratch code\ch03\sample_weight.pkl”

————————

报错的意思是没有找到“sample_weight.pkl”这个文件的地址或者路径

解决方法:将本书的源代码文件夹改名为Deep learning from scratch code并存放至jupyter notebook存放文件的位置,再复制“sample_weight.pkl”这个文件的路径”D:\python-test\Deep learning from scratch code\ch03\sample_weight.pkl”,将“sample_weight.pkl”改为”D:\python-test\Deep learning from scratch code\ch03\sample_weight.pkl”