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 : 1060279 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 : 579>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/1060279/ 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.3739285469055176 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 Mon May 12 07:17: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/1747027047_1060279_1357601222_af5821af01a42967dad7fccdd06f269a.jpg resize: (1080, 1632) 1357601222 -5.404911668279521 treat image : temp/1747027047_1060279_1357601204_854b4f2b71d36ed3d13f5a1d20fa6534.jpg resize: (1080, 1632) 1357601204 -4.891093859325585 treat image : temp/1747027047_1060279_1357601202_2c351c6ed1a9272f0ec2728daadec64d.jpg resize: (1080, 1632) 1357601202 -5.356832625983882 treat image : temp/1747027047_1060279_1357601200_f04ff3f7714f6ecea175f4ef86e909fd.jpg resize: (1080, 1632) 1357601200 -4.261453537235383 treat image : temp/1747027047_1060279_1357601198_b38ebd904feed4707e1de60ac38c86b8.jpg resize: (1080, 1632) 1357601198 -5.34732735440858 treat image : temp/1747027047_1060279_1357601195_8cd491d8c610d3343cc61947c21fa642.jpg resize: (1080, 1632) 1357601195 -3.0637942425829148 treat image : temp/1747027047_1060279_1357601193_437e10689788278a489a6f5f60b46b08.jpg resize: (1080, 1632) 1357601193 -5.783532056172293 treat image : temp/1747027047_1060279_1357601173_64a47bb0dfd333cad6d9e926699247bb.jpg resize: (1080, 1632) 1357601173 -1.4421959620209552 treat image : temp/1747027047_1060279_1357601169_be45fd44ef9ff0851de54fedc05d95e3.jpg resize: (1080, 1632) 1357601169 -2.7381763146667675 treat image : temp/1747027047_1060279_1357601166_d1145364324a933e954b97c4cddcd7d1.jpg resize: (1080, 1632) 1357601166 -4.537813122104699 treat image : temp/1747027047_1060279_1357601155_ff42c93658f20e17c21bd6a9f9b010fd.jpg resize: (1080, 1632) 1357601155 -3.61810003174221 treat image : temp/1747027047_1060279_1357601123_90b1a2fb4b16a05d996dbe280e4a8bee.jpg resize: (1080, 1632) 1357601123 -5.346927121825521 treat image : temp/1747027047_1060279_1357601120_73f582da4fc8fde9f0d7a9e5e30594d0.jpg resize: (1080, 1632) 1357601120 -4.413316718089135 treat image : temp/1747027047_1060279_1357601117_2ecda0a8183717b171e3fb9f7633a512.jpg resize: (1080, 1632) 1357601117 -5.0105418843359075 treat image : temp/1747027047_1060279_1357601114_fe6dd9cee6c4b751f0036efb3bd8d5d8.jpg resize: (1080, 1632) 1357601114 -4.9329027895826 treat image : temp/1747027047_1060279_1357601112_6183877c277218bbecb5f7fb8de4cea0.jpg resize: (1080, 1632) 1357601112 -5.5289600550282065 treat image : temp/1747027047_1060279_1357601109_d2ae855dc6cdab4c90293e8d5868b444.jpg resize: (1080, 1632) 1357601109 -4.83290215080965 treat image : temp/1747027047_1060279_1357601084_3d700f6f7a9c6b737764c548f425607f.jpg resize: (1080, 1632) 1357601084 -5.526697410151517 treat image : temp/1747027047_1060279_1357601082_7c85b1b582a4bef13adbb9641ef4f6f8.jpg resize: (1080, 1632) 1357601082 -5.5783964979989475 treat image : temp/1747027047_1060279_1357601080_a3e3eaa3cdc5171ecc6cf352e2e1939d.jpg resize: (1080, 1632) 1357601080 -5.316533082531691 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.012125253677368164 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.3880922794342041 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.08030939102172852 save missing photos in datou_result : time spend for datou_step_exec : 14.996894359588623 time spend to save output : 0.48631739616394043 total time spend for step 1 : 15.483211755752563 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.48user 3.36system 0:20.13elapsed 88%CPU (0avgtext+0avgdata 142256maxresident)k 144inputs+9336outputs (2major+232717minor)pagefaults 0swaps