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 : 594900 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 : 5313>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/594900/ 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.925351142883301 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 15:52: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/1752760348_594900_1372446109_03f71b6c623716dd269c80212fdb250c.jpg resize: (1080, 1632) 1372446109 -4.957448822836373 treat image : temp/1752760348_594900_1372446072_9c77b1aa57b8a7049d400d5f25e4fb0f.jpg resize: (1080, 1632) 1372446072 -5.221349107182126 treat image : temp/1752760348_594900_1372446019_22178052651924b3cbb808a92e599350.jpg resize: (1080, 1632) 1372446019 -5.092419793699186 treat image : temp/1752760348_594900_1372445993_dedd6b7a9a64e4ea75f03f79253fd8b2.jpg resize: (1080, 1632) 1372445993 -4.836860227849993 treat image : temp/1752760348_594900_1372445944_5bb90c107796efa268f79687ba0c2e03.jpg resize: (1080, 1632) 1372445944 -5.094550645562102 treat image : temp/1752760348_594900_1372445891_4ba15e47a94a4f0ddbbe6254f6fef9d0.jpg resize: (1080, 1632) 1372445891 -5.102633372299823 treat image : temp/1752760348_594900_1372339597_d8cc195c436f0dbda225bd0daad6a98e.jpg resize: (1080, 1632) 1372339597 -3.28561257871863 treat image : temp/1752760348_594900_1372339596_1954a3821bfd42742ab6654b17efa8ab.jpg resize: (1080, 1632) 1372339596 -3.2873274246011106 treat image : temp/1752760348_594900_1372339594_d084c319f5f81e879928df5de4c6f2f8.jpg resize: (1080, 1632) 1372339594 -3.3808799903043627 treat image : temp/1752760348_594900_1372339592_acad8cbe31875765fa53818a74b7c993.jpg resize: (1080, 1632) 1372339592 -3.339843017186371 treat image : temp/1752760348_594900_1372339567_c8b6a31a509cd3a0b0c0f59772675c38.jpg resize: (1080, 1632) 1372339567 -2.9722756382651925 treat image : temp/1752760348_594900_1372339564_569f41581fad4239147aa3a5acf8cf0b.jpg resize: (1080, 1632) 1372339564 -2.9766486913489945 treat image : temp/1752760348_594900_1372339563_2c5531bd402637210888a185d1883326.jpg resize: (1080, 1632) 1372339563 -2.9748587077612663 treat image : temp/1752760348_594900_1372339561_791c94e00ce8a7ef36c5cee65a3e4675.jpg resize: (1080, 1632) 1372339561 -2.965742887648326 treat image : temp/1752760348_594900_1372339560_9dcc207eb35a4f1082ecd3ea7271d196.jpg resize: (1080, 1632) 1372339560 -3.1281787020669696 treat image : temp/1752760348_594900_1372339558_383c70713593f08e621b3adb1a343658.jpg resize: (1080, 1632) 1372339558 -3.0619099018026654 treat image : temp/1752760348_594900_1372339536_9fcb974ff01a937e4d72fb512d187f4f.jpg resize: (1080, 1632) 1372339536 -4.624142044003996 treat image : temp/1752760348_594900_1372339534_3f8ea139c5cfc9bb909a6af30db3bca1.jpg resize: (1080, 1632) 1372339534 -4.621165404715604 treat image : temp/1752760348_594900_1372339531_4de83d97debf346de6faa3c51a830472.jpg resize: (1080, 1632) 1372339531 -4.618564304663529 treat image : temp/1752760348_594900_1372339528_e732f98578c5ebafce6e1b9d4507d2c5.jpg resize: (1080, 1632) 1372339528 -3.906170506860168 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.03647804260253906 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.03999042510986328 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.044817447662353516 save missing photos in datou_result : time spend for datou_step_exec : 16.562331199645996 time spend to save output : 0.13823199272155762 total time spend for step 1 : 16.700563192367554 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.92user 4.26system 0:22.67elapsed 84%CPU (0avgtext+0avgdata 140372maxresident)k 80inputs+8416outputs (6major+260197minor)pagefaults 0swaps