The -num denotes the number of images you have. That is why you have an error on positives.dat(109) since the program is looking for 109th image but it doesn't exist. Set your -num to 108 and it will work.