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 : 2780709 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 : 6906>100 please execute split_portfolio.py -i 24493811 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3224247'] with mtr_portfolio_ids : ['24493811'] and first list_photo_ids : [] new path : /proc/2780709/ 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.43916916847229 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 Sat Jul 5 01:57:29 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/1751673447_2780709_1370721264_ded67e2bb70da2f719137374fc2bf413.jpg resize: (1080, 1632) 1370721264 -4.582591842273373 treat image : temp/1751673447_2780709_1370721260_17efa957f35ece85cc22c4796cb962cc.jpg resize: (1080, 1632) 1370721260 -4.584217506640772 treat image : temp/1751673447_2780709_1370721259_b160fc1a5517548aad169b065b344fa5.jpg resize: (1080, 1632) 1370721259 -4.576674852099021 treat image : temp/1751673447_2780709_1370721257_5498179db58619b4436ceb7317fa8522.jpg resize: (1080, 1632) 1370721257 -4.567673073160438 treat image : temp/1751673447_2780709_1370721256_2b5ac5b720fd5ea87db03ed5d5fd459c.jpg resize: (1080, 1632) 1370721256 -4.527823874555621 treat image : temp/1751673447_2780709_1370721254_8295580de28eb060457cd93609216831.jpg resize: (1080, 1632) 1370721254 -4.483671651451229 treat image : temp/1751673447_2780709_1370721151_be9a593e0cf7b8454893266a67c5159b.jpg resize: (1080, 1632) 1370721151 -4.426210195336016 treat image : temp/1751673447_2780709_1370721147_9efe6f666816be6dd110a35c777da4f2.jpg resize: (1080, 1632) 1370721147 -4.453296315413025 treat image : temp/1751673447_2780709_1370721143_001c6cc7c829a83fbf20dd6e98b435bc.jpg resize: (1080, 1632) 1370721143 -4.47902452680751 treat image : temp/1751673447_2780709_1370721136_63c630831c41e31cce962cc645436c82.jpg resize: (1080, 1632) 1370721136 -4.493413667594844 treat image : temp/1751673447_2780709_1370721133_0d6f71a04a174e3129c2c816160a4b61.jpg resize: (1080, 1632) 1370721133 -4.526821212916758 treat image : temp/1751673447_2780709_1370721131_a26bea0146d75c15c07a7eed549864bb.jpg resize: (1080, 1632) 1370721131 -4.530024293205744 treat image : temp/1751673447_2780709_1370720996_f7d3ba77cccaa35d01b8df407d14c46a.jpg resize: (1080, 1632) 1370720996 -4.54071643022785 treat image : temp/1751673447_2780709_1370720993_d7302aa560b8b1faabe6acf58b37416c.jpg resize: (1080, 1632) 1370720993 -4.550588278680964 treat image : temp/1751673447_2780709_1370720989_d815058ea7728180344ad92ac14f6e4e.jpg resize: (1080, 1632) 1370720989 -4.555205044613988 treat image : temp/1751673447_2780709_1370720987_a14d2c075773f06d9e954a1fb9410196.jpg resize: (1080, 1632) 1370720987 -4.561685044154605 treat image : temp/1751673447_2780709_1370720979_14ea1a13f159dfebdd485039351b9d1f.jpg resize: (1080, 1632) 1370720979 -4.564792931963369 treat image : temp/1751673447_2780709_1370720977_dfa15710153282c4c626a7ccd8501c90.jpg resize: (1080, 1632) 1370720977 -4.560190672678225 treat image : temp/1751673447_2780709_1370720912_335cbbc3497719142085fb2ef2cf5415.jpg resize: (1080, 1632) 1370720912 -4.56469313010142 treat image : temp/1751673447_2780709_1370720910_2a3633f54fc38c3c512c174cc8fd74f3.jpg resize: (1080, 1632) 1370720910 -4.5606071094977265 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.04364013671875 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.1799323558807373 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.2019059658050537 save missing photos in datou_result : time spend for datou_step_exec : 17.224249362945557 time spend to save output : 0.4304630756378174 total time spend for step 1 : 17.654712438583374 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.10user 5.47system 0:21.67elapsed 90%CPU (0avgtext+0avgdata 137848maxresident)k 136inputs+8848outputs (12major+257793minor)pagefaults 0swaps