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 : 1967223 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 : 1659>100 please execute split_portfolio.py -i 23145313 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2900260'] with mtr_portfolio_ids : ['23145313'] and first list_photo_ids : [] new path : /proc/1967223/ 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.2635374069213867 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 Tue May 20 11:22:30 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/1747732948_1967223_1359796252_b12fa63fac85bc5f23b18de602ec9104.jpg resize: (1080, 1632) 1359796252 -4.7686956040957496 treat image : temp/1747732948_1967223_1359796248_d988139892752d5a5e70c66fd324350b.jpg resize: (1080, 1632) 1359796248 -4.652772859056194 treat image : temp/1747732948_1967223_1359796245_7ef177d1204d2da544fe30df60163d88.jpg resize: (1080, 1632) 1359796245 -1.3243723559733216 treat image : temp/1747732948_1967223_1359796225_33436747c25c480b22472ffde0aab889.jpg resize: (1080, 1632) 1359796225 -4.829578494613433 treat image : temp/1747732948_1967223_1359796223_e60c12c0edd1230e095891a584def494.jpg resize: (1080, 1632) 1359796223 -5.723172766811401 treat image : temp/1747732948_1967223_1359796220_980436ced524acd0a2bfbd8eba75bc10.jpg resize: (1080, 1632) 1359796220 -5.767981709683439 treat image : temp/1747732948_1967223_1359796217_39c16162fc5c14532333f07d69413abb.jpg resize: (1080, 1632) 1359796217 -4.224924786268697 treat image : temp/1747732948_1967223_1359796214_1965e856bd2f455dbaf1a52f6fb8c279.jpg resize: (1080, 1632) 1359796214 -5.083045345946355 treat image : temp/1747732948_1967223_1359796211_a9d256ca5933baa5471ab1482aaddea1.jpg resize: (1080, 1632) 1359796211 -5.005183772473801 treat image : temp/1747732948_1967223_1359796174_77444bf1d06d2359302a790f6625b044.jpg resize: (1080, 1632) 1359796174 -1.88645275935193 treat image : temp/1747732948_1967223_1359796170_3396bb0b136ed8d3d7ee7cb0d7895c82.jpg resize: (1080, 1632) 1359796170 -2.9357497059967432 treat image : temp/1747732948_1967223_1359796166_12694f26540fe420c31d730220174f93.jpg resize: (1080, 1632) 1359796166 -5.157885636703793 treat image : temp/1747732948_1967223_1359796148_5bdec636e98751f11aff333cfd8f71e1.jpg resize: (1080, 1632) 1359796148 -5.616443092331261 treat image : temp/1747732948_1967223_1359796144_410df039711d4611c1fb2e5d6511681f.jpg resize: (1080, 1632) 1359796144 -5.557391344901549 treat image : temp/1747732948_1967223_1359796140_14b334bee046ef80e5d64234b1d50dc2.jpg resize: (1080, 1632) 1359796140 -4.505658534577571 treat image : temp/1747732948_1967223_1359796135_2f67c837ab97f93e329af4c947298764.jpg resize: (1080, 1632) 1359796135 -4.529186771591925 treat image : temp/1747732948_1967223_1359796130_404a95f87fb97794be3d0311027b7c31.jpg resize: (1080, 1632) 1359796130 -5.637486532858726 treat image : temp/1747732948_1967223_1359796127_09646b18d7b3a79ad5447b5abeeedad4.jpg resize: (1080, 1632) 1359796127 -5.6966726597594395 treat image : temp/1747732948_1967223_1359796111_4f63c64f54f72e7ac15e4205abf0d3be.jpg resize: (1080, 1632) 1359796111 -5.671596689027153 treat image : temp/1747732948_1967223_1359796107_884243f42d2df975f95375a230274664.jpg resize: (1080, 1632) 1359796107 -6.17453650812999 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.013817310333251953 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.01318979263305664 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014721393585205078 save missing photos in datou_result : time spend for datou_step_exec : 16.932011127471924 time spend to save output : 0.04639005661010742 total time spend for step 1 : 16.97840118408203 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.75user 4.70system 0:21.93elapsed 88%CPU (0avgtext+0avgdata 138216maxresident)k 1304inputs+9872outputs (13major+255278minor)pagefaults 0swaps