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 : 1445617 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 updating current state to 1 we have a portfolio with more photos than limit : 2659>100 please execute split_portfolio.py -i 26511073 -l 100 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4871, datou_cur_ids : ['3661506'] with mtr_portfolio_ids : ['26511073'] and first list_photo_ids : [] new path : /proc/1445617/ 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.7713491916656494 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 Sep 4 18: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/1757002047_1445617_1381463703_b436fa594900356d4bf149102253b911_12025448.jpg resize: (1080, 1632) 1381463703 -3.117285554763004 treat image : temp/1757002047_1445617_1381463696_d3840d6219f80bad6272592e9737dc01_96197081.jpg resize: (1080, 1632) 1381463696 -2.7536411582779436 treat image : temp/1757002047_1445617_1381463689_eb55fda48d92446dd4c9954c79356745_79731295.jpg resize: (1080, 1632) 1381463689 -4.604186415352234 treat image : temp/1757002047_1445617_1381462244_1365f8e9d7c09c1d024bcb43469d1461_15974073.jpg resize: (1080, 1632) 1381462244 -4.8666174179132184 treat image : temp/1757002047_1445617_1381462239_a88e5e2b1a85ac3456dfb15574dd6b9e_68814381.jpg resize: (1080, 1632) 1381462239 -6.047365484122453 treat image : temp/1757002047_1445617_1381462233_2044c11aa6eefb951b7aa154f0907e13_57308685.jpg resize: (1080, 1632) 1381462233 -0.13714671205075796 treat image : temp/1757002047_1445617_1381462229_67d0411a33fac8f7c2b3ec4b8e30c46a_16830577.jpg resize: (1080, 1632) 1381462229 -1.8203172254400175 treat image : temp/1757002047_1445617_1381450237_8d6d709633f81fa49323e694fce82ce5_5838145.jpg resize: (1080, 1632) 1381450237 -4.89544820652584 treat image : temp/1757002047_1445617_1381450234_4c44aae3bd871f85d01efa0f8d5a75df_62705430.jpg resize: (1080, 1632) 1381450234 -3.2766679195387742 treat image : temp/1757002047_1445617_1381450231_32394761508ec05e120d49145414d9eb_80576959.jpg resize: (1080, 1632) 1381450231 -4.716011631908113 treat image : temp/1757002047_1445617_1381450228_d7f31b33c42f4f5ec75e707cfa3d99ae_62831173.jpg resize: (1080, 1632) 1381450228 -2.2689330098914517 treat image : temp/1757002047_1445617_1381450225_e9a0eddf3c1d67033506c145f631c73a_19966446.jpg resize: (1080, 1632) 1381450225 -1.5086415843108747 treat image : temp/1757002047_1445617_1381450222_6ac1b206919242c3abe227b7d0b37b68_47613299.jpg resize: (1080, 1632) 1381450222 -1.991291420810487 treat image : temp/1757002047_1445617_1381450115_8ee4f7e0295938866ee07957153f033b_46647407.jpg resize: (1080, 1632) 1381450115 -4.037824632529859 treat image : temp/1757002047_1445617_1381450108_924e6e798bc2e95236ede11d2bbf84e0_46640680.jpg resize: (1080, 1632) 1381450108 -4.820032832244993 treat image : temp/1757002047_1445617_1381450101_e55e9f542902bab1e590b4c77718d590_85281171.jpg resize: (1080, 1632) 1381450101 -4.929187769288983 treat image : temp/1757002047_1445617_1381450096_21fd99db8eb4f0122b6db0290dc7aac5_29055434.jpg resize: (1080, 1632) 1381450096 -4.718491373723836 treat image : temp/1757002047_1445617_1381450091_09b076526539ad465b97a183f2db8a02_47615294.jpg resize: (1080, 1632) 1381450091 -5.146029720349353 treat image : temp/1757002047_1445617_1381450086_b3af293f73fb47182cfae76cdef47bbb_91455979.jpg resize: (1080, 1632) 1381450086 -5.250801739876843 treat image : temp/1757002047_1445617_1381449996_8be2c5f99860f0dcb2612eccebeb826e_49431544.jpg resize: (1080, 1632) 1381449996 -4.764801642909766 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.0286710262298584 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.029020071029663086 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.030827760696411133 save missing photos in datou_result : time spend for datou_step_exec : 15.661494493484497 time spend to save output : 0.10100913047790527 total time spend for step 1 : 15.762503623962402 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.50user 3.78system 0:20.40elapsed 89%CPU (0avgtext+0avgdata 141700maxresident)k 120inputs+8752outputs (3major+255495minor)pagefaults 0swaps