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 : 4130040 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 : 5418>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/4130040/ 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.1997714042663574 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 Jul 9 22:07: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/1752091648_4130040_1371433137_c50ff274b0bda54bc30ffe59b3dbdec7.jpg resize: (1080, 1632) 1371433137 -5.544472671865983 treat image : temp/1752091648_4130040_1371433135_6662d5f321189bc15900cc4ec38c4e31.jpg resize: (1080, 1632) 1371433135 -6.012037939373356 treat image : temp/1752091648_4130040_1371433134_3b695130d9633d7e4fca1f882f70326f.jpg resize: (1080, 1632) 1371433134 -3.926011401433999 treat image : temp/1752091648_4130040_1371433133_c457d9ae1e8c2758d7b4c0333eec2ea9.jpg resize: (1080, 1632) 1371433133 -5.49325966215858 treat image : temp/1752091648_4130040_1371433131_21898f32cbcad3d42d6e44f374e3db4d.jpg resize: (1080, 1632) 1371433131 -4.218879625010476 treat image : temp/1752091648_4130040_1371433130_909b655e91324f35c0367c65e3f41cf1.jpg resize: (1080, 1632) 1371433130 -4.514017412830197 treat image : temp/1752091648_4130040_1371433128_b8d9447e1779b22922240b8f0c712f36.jpg resize: (1080, 1632) 1371433128 -2.6720491575788468 treat image : temp/1752091648_4130040_1371433126_d472eadabc5256cb6b32ff18d0ea3743.jpg resize: (1080, 1632) 1371433126 -1.633528526871833 treat image : temp/1752091648_4130040_1371433123_8f7a8b03bd68d606117680c5f2f7fc83.jpg resize: (1080, 1632) 1371433123 -2.693910231840024 treat image : temp/1752091648_4130040_1371433122_0a1f06da9ba281fc30391a117b2490a5.jpg resize: (1080, 1632) 1371433122 -2.757558653008928 treat image : temp/1752091648_4130040_1371433120_0c87c8876130f2013368aa9898b47e6f.jpg resize: (1080, 1632) 1371433120 -4.750148489051671 treat image : temp/1752091648_4130040_1371433118_6d5efda6133e13d8fbb43e9bb3381289.jpg resize: (1080, 1632) 1371433118 -4.4928589253616265 treat image : temp/1752091648_4130040_1371433114_5e77b3c42fae20f3cef7848c841a2589.jpg resize: (1080, 1632) 1371433114 -3.3891285122203243 treat image : temp/1752091648_4130040_1371433113_15b3d28ec9d7d8dba521c90238bb2c3f.jpg resize: (1080, 1632) 1371433113 -5.019856223339089 treat image : temp/1752091648_4130040_1371433111_51d25f1aec98802ab66d1a2040b01875.jpg resize: (1080, 1632) 1371433111 -5.115249825601769 treat image : temp/1752091648_4130040_1371433110_bcdd5a78c0860f885e99a8fd5c90ece9.jpg resize: (1080, 1632) 1371433110 -4.241981193679173 treat image : temp/1752091648_4130040_1371433109_4f697bcb3e8723ffe8f0af156e0eb3b4.jpg resize: (1080, 1632) 1371433109 -4.362297072270418 treat image : temp/1752091648_4130040_1371433108_7026dca6b44d778b5ccdeb266ca32ed7.jpg resize: (1080, 1632) 1371433108 -2.9892857116774327 treat image : temp/1752091648_4130040_1371433068_82c308a79390eaf742161f5de31fb604.jpg resize: (1080, 1632) 1371433068 -1.5045925258924466 treat image : temp/1752091648_4130040_1371433067_8214a5647f82adf040ba3385c186b976.jpg resize: (1080, 1632) 1371433067 -1.5045925258924466 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.01155996322631836 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.011911153793334961 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013762712478637695 save missing photos in datou_result : time spend for datou_step_exec : 16.601770401000977 time spend to save output : 0.04237842559814453 total time spend for step 1 : 16.64414882659912 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.33user 4.86system 0:22.30elapsed 86%CPU (0avgtext+0avgdata 140644maxresident)k 16inputs+8752outputs (8major+180113minor)pagefaults 0swaps