Giter Club home page Giter Club logo

Comments (10)

xhuvom avatar xhuvom commented on May 24, 2024 1

What is your Batch size and sub-divisions? Reduce the numbers according to your GPU capacity. Also you may try with OPENCV=0 for training.

from faceid.

xhuvom avatar xhuvom commented on May 24, 2024

With adequate confidence level (threshold), the DNN simply won't detect the face, let alone recognition. Can u try this to validate?

from faceid.

arasharchor avatar arasharchor commented on May 24, 2024

thanks for your reply.
I understood your point, but I am still stuck in training step. I followed all the steps that you have mentioned in README file, but I am getting the following problem that IOUs are zero in the beginning and afterwards nan. I am now training only by my own images.

nvidia@tegra-ubuntu:~/projects/face-recognition/darknetFaceID-master$ ./net detector train cfg/face.data cfg/face.cfg model/darknet19_448.conv.23
train: Using default '/home/nvidia/projects/face-recognition/darknetFaceID-master/data/train.list'
backup: Using default '/backup/'
face
layer     filters    size              input                output
    0 Crop Layer: 448 x 448 -> 448 x 448 x 3 image
shift: Using default '0.000000'
    1 conv     16  3 x 3 / 1   448 x 448 x   3   ->   448 x 448 x  16
    2 max          2 x 2 / 2   448 x 448 x  16   ->   224 x 224 x  16
    3 conv     32  3 x 3 / 1   224 x 224 x  16   ->   224 x 224 x  32
    4 max          2 x 2 / 2   224 x 224 x  32   ->   112 x 112 x  32
    5 conv     64  3 x 3 / 1   112 x 112 x  32   ->   112 x 112 x  64
    6 max          2 x 2 / 2   112 x 112 x  64   ->    56 x  56 x  64
    7 conv    128  3 x 3 / 1    56 x  56 x  64   ->    56 x  56 x 128
    8 max          2 x 2 / 2    56 x  56 x 128   ->    28 x  28 x 128
    9 conv    256  3 x 3 / 1    28 x  28 x 128   ->    28 x  28 x 256
   10 max          2 x 2 / 2    28 x  28 x 256   ->    14 x  14 x 256
   11 conv    512  3 x 3 / 1    14 x  14 x 256   ->    14 x  14 x 512
   12 max          2 x 2 / 2    14 x  14 x 512   ->     7 x   7 x 512
   13 conv   1024  3 x 3 / 1     7 x   7 x 512   ->     7 x   7 x1024
   14 conv   1024  3 x 3 / 1     7 x   7 x1024   ->     7 x   7 x1024
   15 conv   1024  3 x 3 / 1     7 x   7 x1024   ->     7 x   7 x1024
   16 connected                            50176  ->   256
   17 connected                             256  ->  4096
   18 dropout       p = 0.50               4096  ->  4096
   19 connected                            4096  ->  1331
   20 Detection Layer
forced: Using default '0'
Loading weights from model/darknet19_448.conv.23...Done!
Learning Rate: 1e-05, Momentum: 0.9, Decayyy: 0.0005
Loaded: 5.695009 seconds
Detection Avg IOU: 0.000000, Pos Cat: 1048.564819, All Cat: -205.399353, Pos Obj: -1195.625977, Any Obj: -1075.994385, count: 16
Detection Avg IOU: 0.000000, Pos Cat: -1342.778687, All Cat: 192.991531, Pos Obj: -1763.723511, Any Obj: 834.437134, count: 15
Detection Avg IOU: 0.000000, Pos Cat: -10280.240234, All Cat: -11229.700195, Pos Obj: -2302.824951, Any Obj: -573.928589, count: 15
Detection Avg IOU: 0.000000, Pos Cat: 12332.845703, All Cat: 10360.833008, Pos Obj: 5746.290039, Any Obj: -425.699585, count: 15
Detection Avg IOU: 0.000000, Pos Cat: -2597.537598, All Cat: -2660.349365, Pos Obj: 3509.388184, Any Obj: 115.368294, count: 15
Detection Avg IOU: 0.000000, Pos Cat: 3079.934570, All Cat: 3388.939209, Pos Obj: 3681.912109, Any Obj: 86.926262, count: 15
Detection Avg IOU: 0.000000, Pos Cat: -741.271912, All Cat: -1420.767578, Pos Obj: -2079.367676, Any Obj: -211.482681, count: 15
Detection Avg IOU: 0.000000, Pos Cat: -1240.980835, All Cat: -2002.131226, Pos Obj: -2604.826416, Any Obj: -853.737793, count: 15
Detection Avg IOU: 0.000000, Pos Cat: 4689.715820, All Cat: 4517.876953, Pos Obj: -442.605225, Any Obj: 112.949478, count: 15
Detection Avg IOU: 0.000000, Pos Cat: -149.117462, All Cat: 957.300781, Pos Obj: 1015.198181, Any Obj: -648.257874, count: 15
Detection Avg IOU: 0.000000, Pos Cat: -66.843460, All Cat: -2539.687256, Pos Obj: 3192.937500, Any Obj: 283.131775, count: 15
Detection Avg IOU: 0.000000, Pos Cat: 323.466766, All Cat: 1278.957764, Pos Obj: -2628.843018, Any Obj: -371.485901, count: 15
Detection Avg IOU: 0.000000, Pos Cat: -6295.822754, All Cat: -4574.437988, Pos Obj: -2180.460449, Any Obj: -839.463074, count: 15
Detection Avg IOU: 0.000000, Pos Cat: -623.742737, All Cat: -3475.410645, Pos Obj: 4349.583984, Any Obj: -801.761780, count: 15
Detection Avg IOU: 0.000000, Pos Cat: 1387.049683, All Cat: -224.514130, Pos Obj: -681.502258, Any Obj: -12.304327, count: 15
Detection Avg IOU: 0.000000, Pos Cat: -3377.054443, All Cat: -4108.574219, Pos Obj: -2428.955811, Any Obj: -435.953918, count: 15
Detection Avg IOU: 0.000000, Pos Cat: -3495.503906, All Cat: -4256.576172, Pos Obj: 7753.472168, Any Obj: 15.175406, count: 15
Detection Avg IOU: 0.000000, Pos Cat: -1589.234009, All Cat: 357.427155, Pos Obj: 4501.778320, Any Obj: -815.269653, count: 15
Detection Avg IOU: 0.000000, Pos Cat: -688.722168, All Cat: -3655.057861, Pos Obj: 1723.111084, Any Obj: -594.035828, count: 15
Detection Avg IOU: 0.000000, Pos Cat: -1626.552002, All Cat: -3789.950928, Pos Obj: -4377.216309, Any Obj: -1774.306763, count: 15
Detection Avg IOU: 0.000000, Pos Cat: 814.298157, All Cat: -836.576416, Pos Obj: 2216.262695, Any Obj: 55.070320, count: 15
Detection Avg IOU: 0.000000, Pos Cat: 878.744446, All Cat: -189.383820, Pos Obj: 1198.857666, Any Obj: 170.082138, count: 15
Detection Avg IOU: 0.000000, Pos Cat: 2128.258545, All Cat: -7697.350586, Pos Obj: -4773.541016, Any Obj: -910.934753, count: 15
Detection Avg IOU: 0.000000, Pos Cat: -17.051434, All Cat: -1416.687744, Pos Obj: -1601.734619, Any Obj: -541.619568, count: 15
Detection Avg IOU: 0.000000, Pos Cat: -3811.817871, All Cat: -2728.891113, Pos Obj: 8890.609375, Any Obj: 130.886383, count: 15
Detection Avg IOU: 0.000000, Pos Cat: -361.712555, All Cat: 1591.130615, Pos Obj: 3852.223633, Any Obj: 1252.586792, count: 15
Detection Avg IOU: 0.000000, Pos Cat: -5003.283691, All Cat: -6064.705078, Pos Obj: 1851.044312, Any Obj: -141.111542, count: 15
Detection Avg IOU: 0.000000, Pos Cat: 1253.618042, All Cat: 1562.568970, Pos Obj: 760.225586, Any Obj: -1345.209351, count: 15
Detection Avg IOU: 0.000000, Pos Cat: -799.379700, All Cat: -1105.232056, Pos Obj: 758.553711, Any Obj: -1691.856689, count: 15
Detection Avg IOU: 0.000000, Pos Cat: 2665.985107, All Cat: 2290.895264, Pos Obj: -836.994324, Any Obj: 347.236938, count: 15
Detection Avg IOU: 0.000000, Pos Cat: -4065.906982, All Cat: -3784.095215, Pos Obj: -856.769043, Any Obj: -2425.250732, count: 15
Detection Avg IOU: 0.000000, Pos Cat: -9551.544922, All Cat: -10439.979492, Pos Obj: 8610.076172, Any Obj: 492.010254, count: 15
Detection Avg IOU: 0.000000, Pos Cat: 1658.131836, All Cat: -3194.989502, Pos Obj: -1332.215698, Any Obj: 32.533146, count: 15
Detection Avg IOU: 0.000000, Pos Cat: 1288.777954, All Cat: 1126.973145, Pos Obj: -2180.958984, Any Obj: -402.385040, count: 15
Detection Avg IOU: 0.000000, Pos Cat: 5702.699707, All Cat: 4412.544922, Pos Obj: 5744.388672, Any Obj: -299.322144, count: 15
Detection Avg IOU: 0.000000, Pos Cat: 6128.572266, All Cat: 4571.741211, Pos Obj: 6677.694824, Any Obj: 219.208145, count: 15
Detection Avg IOU: 0.000000, Pos Cat: -644.862000, All Cat: -1750.898926, Pos Obj: 8266.898438, Any Obj: -796.069031, count: 15
Detection Avg IOU: 0.000000, Pos Cat: 1513.686890, All Cat: 132.072159, Pos Obj: -1234.455322, Any Obj: -630.214783, count: 15
Detection Avg IOU: 0.000000, Pos Cat: 1393.174561, All Cat: -3810.343018, Pos Obj: 1708.879028, Any Obj: 34.697193, count: 15
Detection Avg IOU: 0.000000, Pos Cat: 4440.463867, All Cat: 3796.204590, Pos Obj: 10204.658203, Any Obj: -1392.354614, count: 15
Detection Avg IOU: 0.000000, Pos Cat: 5438.951172, All Cat: 4499.134277, Pos Obj: 2686.078125, Any Obj: -1235.942017, count: 15
Detection Avg IOU: 0.000000, Pos Cat: 1629.380249, All Cat: 677.622681, Pos Obj: 2215.798096, Any Obj: -732.446533, count: 15
Detection Avg IOU: 0.000000, Pos Cat: 2041.200928, All Cat: -1765.528442, Pos Obj: 2481.882568, Any Obj: -419.952698, count: 15
Detection Avg IOU: 0.000000, Pos Cat: 772.103760, All Cat: -2549.760986, Pos Obj: 6993.724121, Any Obj: -1378.496948, count: 15
Detection Avg IOU: 0.000000, Pos Cat: -1209.634644, All Cat: -2571.700195, Pos Obj: 4190.250000, Any Obj: -12.237290, count: 15
Detection Avg IOU: 0.000000, Pos Cat: -618.549744, All Cat: -3516.176758, Pos Obj: -1013.326599, Any Obj: -572.876404, count: 15
Detection Avg IOU: 0.000000, Pos Cat: 2004.422241, All Cat: 1730.838745, Pos Obj: -4306.950195, Any Obj: 217.788971, count: 15
Detection Avg IOU: 0.000000, Pos Cat: -1681.392334, All Cat: 32.218182, Pos Obj: -1437.147583, Any Obj: -829.122925, count: 15
Detection Avg IOU: 0.000000, Pos Cat: 2562.368896, All Cat: 1880.238281, Pos Obj: -5773.557129, Any Obj: 106.359352, count: 15
Detection Avg IOU: 0.000000, Pos Cat: -3224.379639, All Cat: -5640.271484, Pos Obj: -1409.625610, Any Obj: -362.085205, count: 15
Detection Avg IOU: 0.000000, Pos Cat: -1542.555054, All Cat: -2627.768066, Pos Obj: -370.803680, Any Obj: 103.039032, count: 15
Detection Avg IOU: 0.000000, Pos Cat: 308.189362, All Cat: -57.191635, Pos Obj: -370.873932, Any Obj: -136.892273, count: 15
Detection Avg IOU: 0.000000, Pos Cat: 1300.372803, All Cat: 543.050049, Pos Obj: 3789.279297, Any Obj: 280.477783, count: 15
Detection Avg IOU: 0.000000, Pos Cat: -2443.751953, All Cat: -3218.016846, Pos Obj: 4533.931641, Any Obj: 67.891571, count: 15
Detection Avg IOU: 0.000000, Pos Cat: -219.394547, All Cat: 1103.177368, Pos Obj: 1447.561035, Any Obj: -316.026978, count: 15
Detection Avg IOU: 0.000000, Pos Cat: -1111.488037, All Cat: -4688.905762, Pos Obj: 1765.938477, Any Obj: -488.697235, count: 15
Detection Avg IOU: 0.000000, Pos Cat: -2022.611450, All Cat: -5050.279785, Pos Obj: 2746.851562, Any Obj: -245.821609, count: 15
Detection Avg IOU: 0.000000, Pos Cat: 46.535061, All Cat: 178.984802, Pos Obj: 85.112442, Any Obj: 78.406937, count: 15
Detection Avg IOU: 0.000000, Pos Cat: 803.297302, All Cat: -570.098938, Pos Obj: 2383.409912, Any Obj: -242.648788, count: 15
Detection Avg IOU: 0.000000, Pos Cat: 300.132446, All Cat: -771.283752, Pos Obj: -1571.226685, Any Obj: -188.813553, count: 15
Detection Avg IOU: 0.000000, Pos Cat: -5728.143066, All Cat: -5661.891602, Pos Obj: -5436.281738, Any Obj: 716.114258, count: 15
Detection Avg IOU: 0.000000, Pos Cat: 2921.186035, All Cat: 2267.868164, Pos Obj: 185.823441, Any Obj: -422.676392, count: 15
Detection Avg IOU: 0.000000, Pos Cat: -263.929321, All Cat: 841.467590, Pos Obj: 7976.604492, Any Obj: -594.785339, count: 15
Detection Avg IOU: 0.000000, Pos Cat: -3431.744873, All Cat: -5752.180176, Pos Obj: -7023.792480, Any Obj: -2.156036, count: 15
1: nan, nan avg, 0.000010 rate, 12.342976 seconds, 128 images
Loaded: 0.000069 seconds
Detection Avg IOU: nan, Pos Cat: 817754351454912512.000000, All Cat: 949825832757493760.000000, Pos Obj: -298586779252948992.000000, Any Obj: 53072842157195264.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 1383843685451431936.000000, All Cat: 1522665549673267200.000000, Pos Obj: -324100053222293504.000000, Any Obj: 67216036318937088.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 581934739661783040.000000, All Cat: 799907559749189632.000000, Pos Obj: -445181606567608320.000000, Any Obj: 70473360991059968.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 3124061904331341824.000000, All Cat: 3279028172661719040.000000, Pos Obj: -454216912088334336.000000, Any Obj: 108557274091356160.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 2646806237911449600.000000, All Cat: 2802426440782446592.000000, Pos Obj: -433435283329908736.000000, Any Obj: 102075850614112256.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 1825579766174973952.000000, All Cat: 1985065027295510528.000000, Pos Obj: -408288043653398528.000000, Any Obj: 84152178993790976.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 1791624373208088576.000000, All Cat: 1963077818396966912.000000, Pos Obj: -419159567952248832.000000, Any Obj: 86993729356824576.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 1614733705580904448.000000, All Cat: 1789453937254858752.000000, Pos Obj: -417826616262000640.000000, Any Obj: 83449290415931392.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 2451798504876539904.000000, All Cat: 2581943298209873920.000000, Pos Obj: -360594493415620608.000000, Any Obj: 89102575479029760.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 3202320469072019456.000000, All Cat: 3333751416131944448.000000, Pos Obj: -387180134819430400.000000, Any Obj: 106232184955731968.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 2226016540891807744.000000, All Cat: 2362305405201154048.000000, Pos Obj: -364469000593211392.000000, Any Obj: 84953645661028352.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 2039920624477929472.000000, All Cat: 2148215785305145344.000000, Pos Obj: -299376606558814208.000000, Any Obj: 75890285413924864.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 2878708358494289920.000000, All Cat: 3041080387393552384.000000, Pos Obj: -454767801773588480.000000, Any Obj: 106242999683383296.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 2010738761243033600.000000, All Cat: 2138765207986503680.000000, Pos Obj: -341496904154087424.000000, Any Obj: 79988740776263680.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 1718267018987175936.000000, All Cat: 1953367893773123584.000000, Pos Obj: -540226621487972352.000000, Any Obj: 99564050660196352.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 1890132781036470272.000000, All Cat: 2174874819110109184.000000, Pos Obj: -642905751798415360.000000, Any Obj: 114710141160390656.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 972488622831828992.000000, All Cat: 1092102706111184896.000000, Pos Obj: -278286633508274176.000000, Any Obj: 53034110142119936.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 3291932590881112064.000000, All Cat: 3543845548211568640.000000, Pos Obj: -634912714581344256.000000, Any Obj: 143119657606316032.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 2864657699402940416.000000, All Cat: 2995807996119875584.000000, Pos Obj: -380416420321689600.000000, Any Obj: 98458087991541760.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 1981339744461651968.000000, All Cat: 2082433653882748928.000000, Pos Obj: -285504291689463808.000000, Any Obj: 70477724677832704.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 1629793716346552320.000000, All Cat: 1868858055672725504.000000, Pos Obj: -544888413350789120.000000, Any Obj: 101678883966812160.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 1941321781818163200.000000, All Cat: 2005357476458790912.000000, Pos Obj: -215340726689464320.000000, Any Obj: 59499144024162304.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 1456126954250960896.000000, All Cat: 1627293289466036224.000000, Pos Obj: -410275960676417536.000000, Any Obj: 79484631874797568.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 2309080521201680384.000000, All Cat: 2465282640601677824.000000, Pos Obj: -409333885369843712.000000, Any Obj: 93955682365079552.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 2284019627547688960.000000, All Cat: 2457301560573558784.000000, Pos Obj: -447576858288979968.000000, Any Obj: 95908707073785856.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 1601644569408045056.000000, All Cat: 1706554883689152512.000000, Pos Obj: -265589645029408768.000000, Any Obj: 62890497445724160.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 1574861290789142528.000000, All Cat: 1743051522905735168.000000, Pos Obj: -387733498405847040.000000, Any Obj: 81566136235196416.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 2613126547485229056.000000, All Cat: 2748273294091223040.000000, Pos Obj: -393283523865214976.000000, Any Obj: 94198210578350080.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 1974085166741585920.000000, All Cat: 2141265909744926720.000000, Pos Obj: -416459201754169344.000000, Any Obj: 89705588887388160.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 2196536160249970688.000000, All Cat: 2437791551372394496.000000, Pos Obj: -586425694905434112.000000, Any Obj: 112463649926283264.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 3497968425542615040.000000, All Cat: 3688391744845512704.000000, Pos Obj: -539025027077505024.000000, Any Obj: 129552817990926336.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 2866336378780647424.000000, All Cat: 3014231687832797184.000000, Pos Obj: -405331422526570496.000000, Any Obj: 102958861530431488.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 1912711527190757376.000000, All Cat: 2027717969554964480.000000, Pos Obj: -302592712429797376.000000, Any Obj: 71320272707256320.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 2221840870607421440.000000, All Cat: 2366438194532057088.000000, Pos Obj: -382506282688446464.000000, Any Obj: 88350397856481280.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 3659601032872198144.000000, All Cat: 3822428534463266816.000000, Pos Obj: -507889228600836096.000000, Any Obj: 123110117938823168.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 3175710088656584704.000000, All Cat: 3284941895951712256.000000, Pos Obj: -348449150536253440.000000, Any Obj: 102313740262703104.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 1686597373255483392.000000, All Cat: 1815869429234270208.000000, Pos Obj: -326505956462559232.000000, Any Obj: 72109580322078720.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 2567717541891801088.000000, All Cat: 2704791732381286400.000000, Pos Obj: -390649471962185728.000000, Any Obj: 92252710652346368.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 2378768667681751040.000000, All Cat: 2482527655849623552.000000, Pos Obj: -304781359044362240.000000, Any Obj: 81169521775214592.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 2213137411439853568.000000, All Cat: 2377157608269152256.000000, Pos Obj: -421132332330647552.000000, Any Obj: 92519024394502144.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 1222248736395100160.000000, All Cat: 1286588995756621824.000000, Pos Obj: -180779365376720896.000000, Any Obj: 44675502488682496.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 1814029259086233600.000000, All Cat: 1992402618143473664.000000, Pos Obj: -426890680883740672.000000, Any Obj: 86998471000719360.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 1232630874940375040.000000, All Cat: 1463737361421565952.000000, Pos Obj: -504889520362094592.000000, Any Obj: 91216455302905856.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 2778117613081853952.000000, All Cat: 3009586800961257472.000000, Pos Obj: -588366539086888960.000000, Any Obj: 126784737338458112.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 3197546389584216064.000000, All Cat: 3445121498665189376.000000, Pos Obj: -626696339064881152.000000, Any Obj: 138596533057617920.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 2230466264449417216.000000, All Cat: 2380357187105980416.000000, Pos Obj: -391962804241825792.000000, Any Obj: 89305169086382080.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 1737653608008122368.000000, All Cat: 1864738597920309248.000000, Pos Obj: -329766558194728960.000000, Any Obj: 74495735302717440.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 2158969833658515456.000000, All Cat: 2296987542563586048.000000, Pos Obj: -372428365266681856.000000, Any Obj: 83505374098882560.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 1801698923375493120.000000, All Cat: 1978961913127632896.000000, Pos Obj: -431463962060521472.000000, Any Obj: 86847073403535360.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 1838179482234519552.000000, All Cat: 2050533523026083840.000000, Pos Obj: -501568204972228608.000000, Any Obj: 95938651585773568.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 1186238356195901440.000000, All Cat: 1258946036483751936.000000, Pos Obj: -204118045864493056.000000, Any Obj: 46372942283538432.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 1780178594601893888.000000, All Cat: 1925749673511878656.000000, Pos Obj: -359028823217405952.000000, Any Obj: 79504216925667328.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 1166761607221477376.000000, All Cat: 1308309435646476288.000000, Pos Obj: -323219378768183296.000000, Any Obj: 64577526239854592.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 1628583978678091776.000000, All Cat: 1859984721958666240.000000, Pos Obj: -538615355916943360.000000, Any Obj: 99661211410366464.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 1797059534062092288.000000, All Cat: 1989843092512964608.000000, Pos Obj: -463884436795031552.000000, Any Obj: 92643071639945216.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 1411891814759137280.000000, All Cat: 1538226387985367040.000000, Pos Obj: -310817437362683904.000000, Any Obj: 65446660116840448.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 704502660929159168.000000, All Cat: 904903910815170560.000000, Pos Obj: -416892100097867776.000000, Any Obj: 68723393746173952.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 1231263082475421696.000000, All Cat: 1324412470630023168.000000, Pos Obj: -239980438670540800.000000, Any Obj: 52950908035661824.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 1956622585630294016.000000, All Cat: 2085519158388195328.000000, Pos Obj: -337451491637854208.000000, Any Obj: 79261053057236992.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 1728310507951095808.000000, All Cat: 1856836132973576192.000000, Pos Obj: -327325230064205824.000000, Any Obj: 72263846957416448.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 1825399858584879104.000000, All Cat: 1982518833243488256.000000, Pos Obj: -386361376613859328.000000, Any Obj: 83680875052531712.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 1488182116247142400.000000, All Cat: 1633915785439084544.000000, Pos Obj: -366271443748519936.000000, Any Obj: 73852357791711232.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 2248403697144954880.000000, All Cat: 2395356449854193664.000000, Pos Obj: -374708305706090496.000000, Any Obj: 89657691412103168.000000, count: 15
Detection Avg IOU: nan, Pos Cat: 1771068453571002368.000000, All Cat: 1902523727325691904.000000, Pos Obj: -331722555020804096.000000, Any Obj: 75126571509219328.000000, count: 15
2: nan, nan avg, 0.000010 rate, 12.563115 seconds, 256 images
Loaded: 0.000117 seconds
Detection Avg IOU: nan, Pos Cat: nan, All Cat: nan, Pos Obj: nan, Any Obj: nan, count: 15
Detection Avg IOU: nan, Pos Cat: nan, All Cat: nan, Pos Obj: nan, Any Obj: nan, count: 15
Detection Avg IOU: nan, Pos Cat: nan, All Cat: nan, Pos Obj: nan, Any Obj: nan, count: 15
^C

from faceid.

xhuvom avatar xhuvom commented on May 24, 2024

The cfg file doesn't seem to be 30 layers (or 15 layers for tiny) . Check the .cfg file, it should be like this
`[net]
batch=1
subdivisions=1
width=416
height=416
channels=3
momentum=0.9
decay=0.0005
angle=0
saturation = 1.5
exposure = 1.5
hue=.1

learning_rate=0.001
max_batches = 120000
policy=steps
steps=-1,100,80000,100000
scales=.1,10,.1,.1

[convolutional]
batch_normalize=1
filters=32
size=3
stride=1
pad=1
activation=leaky

[maxpool]
size=2
stride=2

[convolutional]
batch_normalize=1
filters=64
size=3
stride=1
pad=1
activation=leaky

[maxpool]
size=2
stride=2

[convolutional]
batch_normalize=1
filters=128
size=3
stride=1
pad=1
activation=leaky

[convolutional]
batch_normalize=1
filters=64
size=1
stride=1
pad=1
activation=leaky

[convolutional]
batch_normalize=1
filters=128
size=3
stride=1
pad=1
activation=leaky

[maxpool]
size=2
stride=2

[convolutional]
batch_normalize=1
filters=256
size=3
stride=1
pad=1
activation=leaky

[convolutional]
batch_normalize=1
filters=128
size=1
stride=1
pad=1
activation=leaky

[convolutional]
batch_normalize=1
filters=256
size=3
stride=1
pad=1
activation=leaky

[maxpool]
size=2
stride=2

[convolutional]
batch_normalize=1
filters=512
size=3
stride=1
pad=1
activation=leaky

[convolutional]
batch_normalize=1
filters=256
size=1
stride=1
pad=1
activation=leaky

[convolutional]
batch_normalize=1
filters=512
size=3
stride=1
pad=1
activation=leaky

[convolutional]
batch_normalize=1
filters=256
size=1
stride=1
pad=1
activation=leaky

[convolutional]
batch_normalize=1
filters=512
size=3
stride=1
pad=1
activation=leaky

[maxpool]
size=2
stride=2

[convolutional]
batch_normalize=1
filters=1024
size=3
stride=1
pad=1
activation=leaky

[convolutional]
batch_normalize=1
filters=512
size=1
stride=1
pad=1
activation=leaky

[convolutional]
batch_normalize=1
filters=1024
size=3
stride=1
pad=1
activation=leaky

[convolutional]
batch_normalize=1
filters=512
size=1
stride=1
pad=1
activation=leaky

[convolutional]
batch_normalize=1
filters=1024
size=3
stride=1
pad=1
activation=leaky

#######

[convolutional]
batch_normalize=1
size=3
stride=1
pad=1
filters=1024
activation=leaky

[convolutional]
batch_normalize=1
size=3
stride=1
pad=1
filters=1024
activation=leaky

[route]
layers=-9

[reorg]
stride=2

[route]
layers=-1,-3

[convolutional]
batch_normalize=1
size=3
stride=1
pad=1
filters=1024
activation=leaky

[convolutional]
size=1
stride=1
pad=1
filters=425
activation=linear

[region]
anchors = 0.738768,0.874946, 2.42204,2.65704, 4.30971,7.04493, 10.246,4.59428, 12.6868,11.8741
bias_match=1
classes=80
coords=4
num=5
softmax=1
jitter=.2
rescore=1

object_scale=5
noobject_scale=1
class_scale=1
coord_scale=1

absolute=1
thresh = .6
random=0`

from faceid.

akshay71297 avatar akshay71297 commented on May 24, 2024

Hey, good job
I had a problem, I don't know what i have to change ion src/yolo.c
(I changes the array with classes with my only one class name)
I am getting "Segmentation fault (core dumped)"

Working with GPU and CUDA enabled and also opencv installed

from faceid.

akshay71297 avatar akshay71297 commented on May 24, 2024

I set both to 1

from faceid.

akshay71297 avatar akshay71297 commented on May 24, 2024

just trying with opencv 0

If you may help I followed other tutorials to retrain yolo but whenever I train I get and avg error of 200 or more...
You know why?

from faceid.

xhuvom avatar xhuvom commented on May 24, 2024

Which GPU are you using?

from faceid.

akshay71297 avatar akshay71297 commented on May 24, 2024

im on nvidia geforce 920MX

from faceid.

akshay71297 avatar akshay71297 commented on May 24, 2024

Thank you for your help bro, it worked...
I believe opencv isn't working properly

from faceid.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.