python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 8 -a ' -a 4871 -l 100 ' -s datou_current_4871 -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] process id : 1742320 load datou : 4871 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? load thcls load pdts Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec no input labels no input values updating current state to 1 we have a portfolio with more photos than limit : 216>100 please execute split_portfolio.py -i 20234215 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2547945'] with mtr_portfolio_ids : ['20234215'] and first list_photo_ids : [] new path : /proc/1742320/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! List Step Type Loaded in datou : blur_detection over limit max, limiting to limit_max 20 list_input_json : {} origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 20 ; length of list_pids : 20 ; length of list_args : 20 time to download the photos : 2.0007641315460205 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:blur_detection Wed Feb 5 02:37:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec inside step blur_detection methode: ratio et variance treat image : temp/1738719446_1742320_1334742845_28c95ab27bf562f28882726d0f9e5221.jpg resize: (1080, 1632) 1334742845 -6.169867556243296 treat image : temp/1738719446_1742320_1334742816_9536c960f243f410ae37c90627a3126e.jpg resize: (1080, 1632) 1334742816 -6.268716505377101 treat image : temp/1738719446_1742320_1334742764_9ee44a76d3d134afc4ddac99b20ba89d.jpg resize: (1080, 1632) 1334742764 -5.816796454536713 treat image : temp/1738719446_1742320_1334742688_81e6fa2656f004b3918a8cf0135b8736.jpg resize: (1080, 1632) 1334742688 -6.002984833200088 treat image : temp/1738719446_1742320_1334742650_1b692963205bcac536c552058a534b70.jpg resize: (1080, 1632) 1334742650 -5.751231006511724 treat image : temp/1738719446_1742320_1334742645_3aec0fe8a581786d487f9bac71bce316.jpg resize: (1080, 1632) 1334742645 -5.603347516530092 treat image : temp/1738719446_1742320_1334742620_9079b92b76398af87f5b55fd8b7091ab.jpg resize: (1080, 1632) 1334742620 -5.232387985468204 treat image : temp/1738719446_1742320_1334742612_9ab0fe95abe306203626df8f09aedbe6.jpg resize: (1080, 1632) 1334742612 -5.072825024349946 treat image : temp/1738719446_1742320_1334742607_7c67f4035ebb149e8644f8a09c713867.jpg resize: (1080, 1632) 1334742607 -3.942643127615046 treat image : temp/1738719446_1742320_1334742605_835eacb01cc0f4379e391d3976998f3e.jpg resize: (1080, 1632) 1334742605 -4.747909424042824 treat image : temp/1738719446_1742320_1334742604_1be49cf97963f96635b9ab5821408ab1.jpg resize: (1080, 1632) 1334742604 -2.336711650593907 treat image : temp/1738719446_1742320_1334742603_d39abd649b981fc136b3adf0f815feaa.jpg resize: (1080, 1632) 1334742603 -3.104202026174224 treat image : temp/1738719446_1742320_1334742523_410cc1a5b92db91b7bce64c72f0e0fe0.jpg resize: (1080, 1632) 1334742523 -2.578553499830283 treat image : temp/1738719446_1742320_1334742522_8276b7a7cff91d1c3e28e045a10b63d9.jpg resize: (1080, 1632) 1334742522 -4.752663446528439 treat image : temp/1738719446_1742320_1334742521_72081fda825052a40ee99838f2c2196b.jpg resize: (1080, 1632) 1334742521 -4.352060773119932 treat image : temp/1738719446_1742320_1334742520_fe39f0442eacf52444cfa67da06bf3dc.jpg resize: (1080, 1632) 1334742520 -6.014618833290598 treat image : temp/1738719446_1742320_1334742512_21709f8b533adcbfe853faaad88d15e9.jpg resize: (1080, 1632) 1334742512 -5.93536569999253 treat image : temp/1738719446_1742320_1334742510_f4ef8891194c58972d146218557ae673.jpg resize: (1080, 1632) 1334742510 -5.767952543260799 treat image : temp/1738719446_1742320_1334742507_17cfc3e26fa3e587b2a2836ec16f24ac.jpg resize: (1080, 1632) 1334742507 -6.209393471353478 treat image : temp/1738719446_1742320_1334742504_ef3ff3d312609f6494ba8915b7b6a967.jpg resize: (1080, 1632) 1334742504 -6.035306770994379 Inside saveOutput : final : True verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 20 time used for this insertion : 0.012710332870483398 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 20 time used for this insertion : 0.012038707733154297 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015947580337524414 save missing photos in datou_result : time spend for datou_step_exec : 12.658770322799683 time spend to save output : 0.045831918716430664 total time spend for step 1 : 12.704602241516113 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.49user 1.83system 0:16.71elapsed 91%CPU (0avgtext+0avgdata 139948maxresident)k 0inputs+10632outputs (21major+121821minor)pagefaults 0swaps