mariolew / Deep-Alignment-Network-tensorflow

A re-implementation of Deep-Alignment-Network using TensorFlow
111 stars 30 forks source link

have problem in trainDAN.py #33

Closed ganlinzhang closed 5 years ago

ganlinzhang commented 5 years ago

你好,我在运行python trainDAN.py,会出现以下错误: Traceback (most recent call last): │ File "trainDAN.py", line 12, in │ trainSet = ImageServer.Load(datasetDir + "dataset_nimgs=40_perturbations=[0.2, 0.2, 20,│ 0.25]_size=[112, 112].npz") │ File "/home/zhanggl/dantf/DAN-TF/ImageServer.py", line 31, in Load │ arrays = np.load(filename) │ File "/home/zhanggl/anaconda3/envs/dantf/lib/python3.6/site-packages/numpy/lib/npyio.py",│ line 415, in load │ fid = open(os_fspath(file), "rb") │ FileNotFoundError: [Errno 2] No such file or directory: '../data/dataset_nimgs=40_perturbat│ ions=[0.2, 0.2, 20, 0.25]_size=[112, 112].npz'

请问这是我哪里出来问题?(我已经过运行TestSetPreparation.py 和 TrainingSetPreparation.py) 非常感谢。