freesouls / face-alignment-at-3000fps

The project is an C++ implementation of Face Alignment at 3000fps via Regressing Local Binary Features
283 stars 145 forks source link

Illegal instruction (core dumped) #22

Open kycocotree opened 5 years ago

kycocotree commented 5 years ago

When i train using your source code, I got an error... -> Illegal instruction (core dumped)

I use this parameters: (RAM 8.0G)

local_featuresnum: 300 landmarks_num_perface: 68 regressorstages: 6 treedepth: 5 trees_num_perforest: 24 overlap_: 0.3 initialguess: 1 local_radius_bystages: 0.29 0.21 0.16 0.12 0.08 0.04


Loading training dataset... face detector loaded : 1 loading images... [ INFO:0] Initialize OpenCL runtime... 100 images loaded 200 images loaded 300 images loaded 400 images loaded 500 images loaded 600 images loaded 700 images loaded 800 images loaded 900 images loaded 1000 images loaded 1100 images loaded 1200 images loaded 1300 images loaded 1400 images loaded 1500 images loaded 1600 images loaded 1700 images loaded get 1798 faces in total

Loading validation dataset... face detector loaded : 1 loading images... 100 images loaded 200 images loaded get 219 faces in total Start training... augment data sets augmented size: 3596 training stage: 0 of 6 calculate regression targets train forest of stage:0 it will take some time to build the Random Forest, please be patient!!! landmark: landmark: landmark: 36landmark: 12 landmark: landmark: landmark: 53 landmark: build forest of landmark: 53 of stage: 0

42build forest of landmark: 12landmark: of stage: 0 58 build forest of landmark: 58 of stage: 0 48 build forest of landmark: 48 of stage: 0 63 18build forest of landmark: 42 of stage: 0 0 build forest of landmark: 0 of stage: 0 get pixel differences

get pixel differencesbuild forest of landmark: build forest of landmark: 18 of stage: 0 landmark: 30 get pixel differencesbuild forest of landmark: 30 of stage: 0 landmark: 24 build forest of landmark: 24 of stage: 0 landmark: build forest of landmark: 6 get pixel differencesbuild forest of landmark: 6 of stage: 0 36 of stage: 0 63 of stage: 0

get pixel differences get pixel differences get pixel differences

get pixel differencesget pixel differences

get pixel differences get pixel differences get pixel differences landmark: 43 build forest of landmark: 43 of stage: 0 get pixel differences landmark: 25 build forest of landmark: 25 of stage: 0 get pixel differences landmark: 54 build forest of landmark: 54 of stage: 0 get pixel differences landmark: 49 build forest of landmark: 49 of stage: 0 get pixel differences landmark: 13 build forest of landmark: 13 of stage: 0 get pixel differences landmark: 19 build forest of landmark: 19 of stage: 0 get pixel differences landmark: 37 build forest of landmark: 37 of stage: 0 get pixel differences landmark: 1 build forest of landmark: 1 of stage: 0 get pixel differences landmark: 59 build forest of landmark: 59 of stage: 0 get pixel differences landmark: 64 build forest of landmark: 64 of stage: 0 get pixel differences landmark: 31 build forest of landmark: 31 of stage: 0 get pixel differences landmark: 7 build forest of landmark: 7 of stage: 0 get pixel differences landmark: 44 build forest of landmark: 44 of stage: 0 get pixel differences landmark: 55 build forest of landmark: 55 of stage: 0 get pixel differences landmark: 26 build forest of landmark: 26 of stage: 0 get pixel differences landmark: 50 build forest of landmark: 50 of stage: 0 get pixel differences landmark: 20 build forest of landmark: 20 of stage: 0 get pixel differences landmark: 60 build forest of landmark: 60 of stage: 0 get pixel differences landmark: 2 build forest of landmark: 2 of stage: 0 get pixel differences landmark: 38 build forest of landmark: 38 of stage: 0 get pixel differences landmark: 65 build forest of landmark: 65 of stage: 0 get pixel differences landmark: 14 build forest of landmark: 14 of stage: 0 get pixel differences landmark: 8 build forest of landmark: 8 of stage: 0 get pixel differences landmark: 32 build forest of landmark: 32 of stage: 0 get pixel differences landmark: 45 build forest of landmark: 45 of stage: 0 get pixel differences landmark: 27 build forest of landmark: 27 of stage: 0 get pixel differences landmark: 61 build forest of landmark: 61 of stage: 0 get pixel differences landmark: 51 build forest of landmark: 51 of stage: 0 get pixel differences landmark: 56 build forest of landmark: 56 of stage: 0 get pixel differences landmark: 39 build forest of landmark: 39 of stage: 0 get pixel differences landmark: 21 build forest of landmark: 21 of stage: 0 get pixel differences landmark: 3 build forest of landmark: 3 of stage: 0 get pixel differences landmark: 66 build forest of landmark: 66 of stage: 0 get pixel differences landmark: 15 build forest of landmark: 15 of stage: 0 get pixel differences landmark: 9 build forest of landmark: 9 of stage: 0 get pixel differences landmark: 33 build forest of landmark: 33 of stage: 0 get pixel differences landmark: 46 build forest of landmark: 46 of stage: 0 get pixel differences landmark: 40 build forest of landmark: 40 of stage: 0 get pixel differences landmark: 62 build forest of landmark: 62 of stage: 0 get pixel differences landmark: 28 build forest of landmark: 28 of stage: 0 get pixel differences landmark: 52 build forest of landmark: 52 of stage: 0 get pixel differences landmark: 57 build forest of landmark: 57 of stage: 0 get pixel differences landmark: 22 build forest of landmark: 22 of stage: 0 get pixel differences landmark: 4 build forest of landmark: 4 of stage: 0 get pixel differences landmark: 67 build forest of landmark: 67 of stage: 0 get pixel differences landmark: 10 build forest of landmark: 10 of stage: 0 get pixel differences landmark: 34 build forest of landmark: 34 of stage: 0 get pixel differences landmark: 16 build forest of landmark: 16 of stage: 0 get pixel differences landmark: 41 build forest of landmark: 41 of stage: 0 get pixel differences landmark: 47 build forest of landmark: 47 of stage: 0 get pixel differences landmark: 23 build forest of landmark: 23 of stage: 0 get pixel differences landmark: 5 build forest of landmark: 5 of stage: 0 get pixel differences landmark: 29 build forest of landmark: 29 of stage: 0 get pixel differences landmark: 11 build forest of landmark: 11 of stage: 0 get pixel differences landmark: 17 build forest of landmark: 17 of stage: 0 get pixel differences landmark: 35 build forest of landmark: 35 of stage: 0 get pixel differences Get Global Binary Features

Global Regression of stage 0 it will take some time to do Linear Regression, please be patient!!! regressing ...regressing ...048 regressing ...24

regressing ...64 regressing ...8 regressing ...32 regressing ...56 regressing ...16 regressing ...40 predict regression targets update current shapes train regression error: 300.942, mean error: 0.0836881 Validation at stage: 0 Validation error: 21.8489, mean error: 0.0997666 training stage: 1 of 6 calculate regression targets train forest of stage:1 it will take some time to build the Random Forest, please be patient!!! landmark: landmark: 036 landmark: landmark: build forest of landmark: 36 of stage: landmark: 153 landmark: 12 build forest of landmark: 0build forest of landmark: of stage: 121 of stage: 18 1build forest of landmark: 18 of stage: 1

build forest of landmark: 53 of stage: 1 landmark: landmark: landmark: 6358

landmark: 24landmark:

build forest of landmark: 58 of stage: 1 48landmark: 30 get pixel differencesbuild forest of landmark: 48 of stage: get pixel differencesget pixel differences 6build forest of landmark: 30 of stage: 1 get pixel differences 42

1 build forest of landmark: 6 of stage: 1 build forest of landmark: 63 of stage: 1 get pixel differences

get pixel differencesbuild forest of landmark: 42 of stage: 1

get pixel differences get pixel differences build forest of landmark: 24 of stage: 1 get pixel differences get pixel differences get pixel differences get pixel differences landmark: 43 build forest of landmark: 43 of stage: 1 get pixel differences landmark: 1 build forest of landmark: 1 of stage: 1 get pixel differences landmark: 31 build forest of landmark: 31 of stage: 1 get pixel differences landmark: 25 build forest of landmark: 25 of stage: 1 get pixel differences landmark: 7 build forest of landmark: 7 of stage: 1 get pixel differences landmark: 64 build forest of landmark: 64 of stage: 1 get pixel differences landmark: 13 build forest of landmark: 13 of stage: 1 get pixel differences landmark: 54 build forest of landmark: 54 of stage: 1 get pixel differences landmark: 49 build forest of landmark: 49 of stage: 1 get pixel differences landmark: 59 build forest of landmark: 59 of stage: 1 get pixel differences landmark: 37 build forest of landmark: 37 of stage: 1 get pixel differences landmark: 19 build forest of landmark: 19 of stage: 1 get pixel differences Illegal instruction (core dumped)