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 : 3918908 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 : 2865>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/3918908/ 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.193427562713623 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 Thu Jul 17 08:37:31 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/1752734249_3918908_1372353223_f28a8cffd8032389b6e62d8cfc78b1f9.jpg resize: (1080, 1632) 1372353223 -3.1985770339924837 treat image : temp/1752734249_3918908_1372353219_bd62c33267e6748a8fc60e90e75eccd5.jpg resize: (1080, 1632) 1372353219 -3.2047837623963815 treat image : temp/1752734249_3918908_1372353217_8ba571664af70937d71141b4ebb0cb41.jpg resize: (1080, 1632) 1372353217 -3.191251376561727 treat image : temp/1752734249_3918908_1372353214_3029434e85e64cc943a87b530e0312c2.jpg resize: (1080, 1632) 1372353214 -3.2149705128473998 treat image : temp/1752734249_3918908_1372353212_e40f08b9de77140e832a32d8fd5eb1b2.jpg resize: (1080, 1632) 1372353212 -4.324351891555086 treat image : temp/1752734249_3918908_1372353208_e2c64cb8e189fe18dc642ce202502586.jpg resize: (1080, 1632) 1372353208 -4.3098608529519655 treat image : temp/1752734249_3918908_1372353187_945c68ee7b1f6f9bc137f265af91b8ab.jpg resize: (1080, 1632) 1372353187 -0.9878819374485006 treat image : temp/1752734249_3918908_1372353178_96ff256135219faf14d845f6e2402a7a.jpg resize: (1080, 1632) 1372353178 -1.0135801102701385 treat image : temp/1752734249_3918908_1372353149_363a0e3f3d5e2af8b2976c4c3821e572.jpg resize: (1080, 1632) 1372353149 -1.0146835506346674 treat image : temp/1752734249_3918908_1372353120_a57c4be717edaeaa51cac57595d83a15.jpg resize: (1080, 1632) 1372353120 -1.0225809129137153 treat image : temp/1752734249_3918908_1372353118_2690e60bc7e86fc65940e5910d385fbc.jpg resize: (1080, 1632) 1372353118 -1.0143497325300008 treat image : temp/1752734249_3918908_1372353112_48c9637a8294ea53d69725a5375a9a3a.jpg resize: (1080, 1632) 1372353112 -0.3294036858357275 treat image : temp/1752734249_3918908_1372352225_3097e0ba2fffc1846bc4d9c262f1e269.jpg resize: (1080, 1632) 1372352225 -2.5830264245269223 treat image : temp/1752734249_3918908_1372352223_907421ac5dc71bbee0d87fb2abbe2555.jpg resize: (1080, 1632) 1372352223 -2.6044382224522087 treat image : temp/1752734249_3918908_1372352193_cdc3c1c3db85890c314e9744fc980585.jpg resize: (1080, 1632) 1372352193 -5.169270975137453 treat image : temp/1752734249_3918908_1372352191_a0bd2c81d300b9327104349e070af32a.jpg resize: (1080, 1632) 1372352191 -4.802492278176964 treat image : temp/1752734249_3918908_1372352190_ed0ede67c3aafa9a4d665d56578ec3fa.jpg resize: (1080, 1632) 1372352190 -4.794107503174862 treat image : temp/1752734249_3918908_1372352188_3684f844a3da0aceaca63f49d7e12645.jpg resize: (1080, 1632) 1372352188 -0.8956963263759706 treat image : temp/1752734249_3918908_1372352185_26cbd271830ff1bb871df27784f405ec.jpg resize: (1080, 1632) 1372352185 -2.0817873208580897 treat image : temp/1752734249_3918908_1372352183_535b71c98d42994087f71442da242303.jpg resize: (1080, 1632) 1372352183 -2.8593693342475035 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.012736320495605469 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.011954784393310547 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015898466110229492 save missing photos in datou_result : time spend for datou_step_exec : 14.393940210342407 time spend to save output : 0.045758724212646484 total time spend for step 1 : 14.439698934555054 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.03user 3.03system 0:20.84elapsed 81%CPU (0avgtext+0avgdata 138988maxresident)k 0inputs+6880outputs (3major+259539minor)pagefaults 0swaps