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 : 1139242 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 : 1207>100 please execute split_portfolio.py -i 26103981 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3565041'] with mtr_portfolio_ids : ['26103981'] and first list_photo_ids : [] new path : /proc/1139242/ 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.3950419425964355 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 Aug 21 21:12: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/1755803547_1139242_1378217190_1f82bab3ac1e228df5dfceeba03b59a5.jpg resize: (1080, 1632) 1378217190 -5.1808109945312735 treat image : temp/1755803547_1139242_1378217108_40fd3c5a8eaad9afbe604eb575fd7821.jpg resize: (1080, 1632) 1378217108 -5.645281069858668 treat image : temp/1755803547_1139242_1378217016_2922cad5ec62c15c60b2218815e48ad5.jpg resize: (1080, 1632) 1378217016 -4.201416774813933 treat image : temp/1755803547_1139242_1378216947_ad0aff8f50e32295607bd4fb020ebaf0.jpg resize: (1080, 1632) 1378216947 -4.426400635512793 treat image : temp/1755803547_1139242_1378216608_3c48db5205ee4fe4c109f4530f31544a.jpg resize: (1080, 1632) 1378216608 -3.6175599734878414 treat image : temp/1755803547_1139242_1378216539_b74217c290cb99888fef534633993edf.jpg resize: (1080, 1632) 1378216539 -5.487795678652687 treat image : temp/1755803547_1139242_1378216469_bd424938882534c0202f7641c89e724d.jpg resize: (1080, 1632) 1378216469 -5.605785108088119 treat image : temp/1755803547_1139242_1378216414_e3d105c36f11556e0c83fee988cf1de5.jpg resize: (1080, 1632) 1378216414 -5.006333584951566 treat image : temp/1755803547_1139242_1378216343_244ebf93f9899aede9dc91e82f50c6e9.jpg resize: (1080, 1632) 1378216343 -3.829673757727585 treat image : temp/1755803547_1139242_1378216270_8282cdce1d00afab2f1c1624ead5c918.jpg resize: (1080, 1632) 1378216270 -4.033538142685106 treat image : temp/1755803547_1139242_1378214805_ab62c17017d62b174c51e355f85ba591.jpg resize: (1080, 1632) 1378214805 -4.393480207927789 treat image : temp/1755803547_1139242_1378214804_0a6f73617bcae0b3cdd5d767d744cb3b.jpg resize: (1080, 1632) 1378214804 -4.393480207927789 treat image : temp/1755803547_1139242_1378214768_67037b3028ae7ca63b559a037a45d2b2.jpg resize: (1080, 1632) 1378214768 -1.8405533273707053 treat image : temp/1755803547_1139242_1378214767_6bc49d6d21d9bd546ef1db26ccf58513.jpg resize: (1080, 1632) 1378214767 -1.8405533273707053 treat image : temp/1755803547_1139242_1378212131_2fe643528fd4adb33daead281eb0641c.jpg resize: (1080, 1632) 1378212131 -1.297165278849208 treat image : temp/1755803547_1139242_1378212130_fb2c5cdb688e85b3de7b5c1f84e34c1e.jpg resize: (1080, 1632) 1378212130 -1.297165278849208 treat image : temp/1755803547_1139242_1378212118_01ebddf6108f90fe6be96e5eb49dc03c.jpg resize: (1080, 1632) 1378212118 -1.863091781806122 treat image : temp/1755803547_1139242_1378212116_a155a5f852f1931b4b1d8519ff10d076.jpg resize: (1080, 1632) 1378212116 -3.844598353394859 treat image : temp/1755803547_1139242_1378212110_67b5a0674651540e8e370c391446dcb2.jpg resize: (1080, 1632) 1378212110 -3.183569763326046 treat image : temp/1755803547_1139242_1378212100_6972940e772c459993718e09a9e107d8.jpg resize: (1080, 1632) 1378212100 -4.510956595805944 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.012694120407104492 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.011933326721191406 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013916254043579102 save missing photos in datou_result : time spend for datou_step_exec : 14.790427684783936 time spend to save output : 0.042879343032836914 total time spend for step 1 : 14.833307027816772 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.06user 3.16system 0:19.16elapsed 89%CPU (0avgtext+0avgdata 140088maxresident)k 128inputs+8672outputs (11major+255999minor)pagefaults 0swaps