Open Espenjt opened 7 years ago
Check 'imdb\cache\roidb_voc_2007_train_flip_easy', in my case it was empty, this means can not read the .xml file. Check the XML files format , for parsing the XML annotation files try to replace 'xml2struct.m' with http://www.stat.ucla.edu/~zyyao/data/backup/databaseProject/labelMe/xml2struct.m
Hello. After a week or so of trial and error i have to resort to you smart people to help me out in my attempt to fine-tune F-RCNN on one VOC class.
This issue regards running "script_faster_rcnn_VOC2007_ZF.m" but applies to any dataset. To replicate the original work, i use MATLAB 2014a with CUDA 6.5 on a gtx1080. To start off, i manage to train on the original dataset, with all classes without issues.
VOCopts.classes={... 'boat'};
and in .\models\fast_rcnn_prototxts\ZF_fc6\train_val.prototxt:
According to aforementioned issue 1, this should be sufficient to begin training. However, as the annotation-files still contain all classes, thus i run into this MATLAB error while building roidb cache:
I have also here tried to change .\datasets\VOCdevkit2007\VOC2007\ImageSets\Main\test.txt ..\trainval.txt ..\val.txt ..\train.txt to match what is contained in ..\boat_test.txt ..\boat_trainval.txt ..\boat_val.txt ..\boat_test.txt. As these images still contain all the other classes it is to no avail, and the error is still present.
To conquer this, i made a new set of annotations, where i removed all the
And here i am at a loss. Any help would be much appreciated