0

我試圖從CNTK庫中訓練fastrCNN模塊。我已經在PARAMETERS.py文件中做了必要的修改。當我運行A1_GenerateROI.py時,它生成了ROI,但我收到了以下消息。CNTK fastrCNN - 培訓自定義圖像 - FileNotFoundError:[WinError 2]系統找不到指定的文件

Number of images in set train = 73 
Processing image set 'train', image 0 of 73 
wrote gt roidb to C:\local\CNTK-2-0-beta15-0-Windows-64bit-CPU-Only\cntk\Examples\Image\Detection\FastRCNN/proc/KYC_100/cntkFiles/train.cache_gt_roidb.pkl 
Only keeping the first 100 ROIs.. 
wrote ss roidb to C:\local\CNTK-2-0-beta15-0-Windows-64bit-CPU-Only\cntk\Examples\Image\Detection\FastRCNN/proc/KYC_100/cntkFiles/train.cache_selective_search_roidb.pkl 
Processing image set 'train', image 50 of 73 
Number of images in set test = 18 
Processing image set 'test', image 0 of 18 
wrote gt roidb to C:\local\CNTK-2-0-beta15-0-Windows-64bit-CPU-Only\cntk\Examples\Image\Detection\FastRCNN/proc/KYC_100/cntkFiles/test.cache_gt_roidb.pkl 
Only keeping the first 100 ROIs.. 
wrote ss roidb to C:\local\CNTK-2-0-beta15-0-Windows-64bit-CPU-Only\cntk\Examples\Image\Detection\FastRCNN/proc/KYC_100/cntkFiles/test.cache_selective_search_roidb.pkl 
DONE. 

現在,當我嘗試運行A2_RunCntk.py我gettting下面的錯誤消息。

(cntk-py35) C:\local\CNTK-2-0-beta15-0-Windows-64bit-CPU-Only\cntk\Examples\Image\Detection\FastRCNN>python A2_RunCntk.py 
-------------------------------------------------------------- 
2017-05-19 09:53:31 
PARAMETERS: datasetName = KYC 
PARAMETERS: cntk_nrRois = 100 
cntk.exe configFile=C:\local\CNTK-2-0-beta15-0-Windows-64bit-CPU-Only\cntk\Examples\Image\Detection\FastRCNN/proc/KYC_100/cntkFiles/fastrcnn.cntk currentDirectory=C:\local\CNTK-2-0-beta15-0-Windows-64bit-CPU-Only\cntk\Examples\Image\Detection\FastRCNN/proc/KYC_100/cntkFiles/ NumLabels=4 NumTrainROIs=100 TrainROIDim=400 TrainROILabelDim=400 NumTestROIs=100 TestROIDim=400 TestROILabelDim=400 
Traceback (most recent call last): 
    File "A2_RunCntk.py", line 41, in <module> 
    pid = subprocess.Popen(cmdStr, cwd = cntkFilesDir) 
    File "c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\cntk-py35\lib\subprocess.py", line 676, in __init__ 
    restore_signals, start_new_session) 
    File "c:\local\Anaconda3-4.1.1-Windows-x86_64\envs\cntk-py35\lib\subprocess.py", line 955, in _execute_child 
startupinfo) 
FileNotFoundError: [WinError 2] The system cannot find the file specified 

在這裏提到哪個文件,我無法弄清楚,我該怎麼做。當我嘗試運行Grocery圖像數據集時,我看不到同樣的錯誤。

感謝您的幫助。

+0

有沒有可能讓你嘗試用最新的RC2位攝製的問題。另外,您可以嘗試使用可能更易於調試的Python示例。 –

回答

相關問題