|
楼主 |
发表于 2022-3-20 13:17:52
|
显示全部楼层
后来我用字典,内容如下:
{0: 'D:/PyCharm_project/mnist/try\\0.jpg', 1: 'D:/PyCharm_project/mnist/try\\1.jpg', 2: 'D:/PyCharm_project/mnist/try\\2.jpg', 3: 'D:/PyCharm_project/mnist/try\\3.jpg', 4: 'D:/PyCharm_project/mnist/try\\4.jpg', 5: 'D:/PyCharm_project/mnist/try\\5.jpg', 6: 'D:/PyCharm_project/mnist/try\\6.jpg', 7: 'D:/PyCharm_project/mnist/try\\7.jpg', 8: 'D:/PyCharm_project/mnist/try\\8.jpg', 9: 'D:/PyCharm_project/mnist/try\\9.jpg', 10: 'D:/PyCharm_project/mnist/try\\10.jpg', 11: 'D:/PyCharm_project/mnist/try\\11.jpg', 12: 'D:/PyCharm_project/mnist/try\\12.jpg', 13: 'D:/PyCharm_project/mnist/try\\13.jpg', 14: 'D:/PyCharm_project/mnist/try\\14.jpg'}
但是,用map不知道为啥不能显示 |
|