وقتی که روش دوم را انجام دادم به خطای زیر رسیدم:
I0731 11:16:22.524452 6172 layer_factory.cpp:58] Creating layer data
I0731 11:16:22.579455 6172 net.cpp:84] Creating Layer data
I0731 11:16:22.580456 6172 net.cpp:380] data -> data
I0731 11:16:22.580456 6172 net.cpp:380] data -> label
> c:\users\mohsen\desktop\propozal\deeplearning\installcaffe\caffe-windows\semantic_segmentation\fcn_berkeleyvision_org-master\pascalcontext_layers.py(48)setup()
-> self.labels_400 = [label.replace(' ','') for idx, label in np.genfromtxt(self.context_dir + '/labels.txt', delimiter=':', dtype=None)]
(Pdb) c
Traceback (most recent call last):
File "C:\Users\mohsen\Desktop\Propozal\DeepLearning\InstallCaffe\caffe-windows\semantic_segmentation\fcn_berkeleyvision_org-master\pascalcontext-fcn8s\solve.py", line 20, in <module>
solver = caffe.SGDSolver('C:/Users/mohsen/Desktop/Propozal/DeepLearning/InstallCaffe/caffe-windows/semantic_segmentation/fcn_berkeleyvision_org-master/pascalcontext-fcn8s/solver.prototxt')
File "C:/Users/mohsen/Desktop/Propozal/DeepLearning/InstallCaffe/caffe-windows/semantic_segmentation/fcn_berkeleyvision_org-master\pascalcontext_layers.py", line 48, in setup
self.labels_400 = [label.replace(' ','') for idx, label in np.genfromtxt(self.context_dir + '/labels.txt', delimiter=':', dtype=None)]
File "C:\Users\mohsen\Anaconda3\envs\firstEnvironment\lib\site-packages\numpy\lib\npyio.py", line 1512, in genfromtxt
fhd = iter(np.lib._datasource.open(fname, 'rb'))
File "C:\Users\mohsen\Anaconda3\envs\firstEnvironment\lib\site-packages\numpy\lib\_datasource.py", line 151, in open
return ds.open(path, mode)
File "C:\Users\mohsen\Anaconda3\envs\firstEnvironment\lib\site-packages\numpy\lib\_datasource.py", line 501, in open
raise IOError("%s not found." % path)
OSError: ../../data/pascal-context/labels.txt not found.