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 : 3520830 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 : 2943>100 please execute split_portfolio.py -i 23145313 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2900260'] with mtr_portfolio_ids : ['23145313'] and first list_photo_ids : [] new path : /proc/3520830/ 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.325406074523926 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 Tue May 20 19:02: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/1747760547_3520830_1359844207_48fd5fd4da22736ad5d6770cf2e0164c.jpg resize: (1080, 1632) 1359844207 -2.748753002689557 treat image : temp/1747760547_3520830_1359844179_fd0592b8252afb3e21ff56d96ac47ef7.jpg resize: (1080, 1632) 1359844179 -5.680143867068065 treat image : temp/1747760547_3520830_1359844175_87bfe15cfcf9f454e6e1a34a4d9b4ee1.jpg resize: (1080, 1632) 1359844175 -5.9514742019466045 treat image : temp/1747760547_3520830_1359844172_92b65abbef4c94c6dfb8522e5d0c485e.jpg resize: (1080, 1632) 1359844172 -5.947841238965574 treat image : temp/1747760547_3520830_1359844168_bb12833fa614f595d41783fc51fecd97.jpg resize: (1080, 1632) 1359844168 -5.643876029666996 treat image : temp/1747760547_3520830_1359844165_f014b5aef62667a8a20e6c500e94cb2f.jpg resize: (1080, 1632) 1359844165 -4.114945242134931 treat image : temp/1747760547_3520830_1359844140_ff04bad6592f4202e555f015418a243e.jpg resize: (1080, 1632) 1359844140 -4.826185977633962 treat image : temp/1747760547_3520830_1359844136_8ffb7840705df81cbe73a0236caaeb7c.jpg resize: (1080, 1632) 1359844136 -5.739603341866938 treat image : temp/1747760547_3520830_1359844133_bd8c7a32c3e302142b5d5352848ce9dd.jpg resize: (1080, 1632) 1359844133 -5.779164427212592 treat image : temp/1747760547_3520830_1359844128_00cd14be43cf038941414a65157a8a00.jpg resize: (1080, 1632) 1359844128 -4.484696667365351 treat image : temp/1747760547_3520830_1359844118_8b5c84313355f3e1d48b7af196023d63.jpg resize: (1080, 1632) 1359844118 -4.711603042242804 treat image : temp/1747760547_3520830_1359844112_42ea1fec8a78ddf1758e9c688f33f241.jpg resize: (1080, 1632) 1359844112 -5.582165626637059 treat image : temp/1747760547_3520830_1359844106_98be631d52af9ca87738b084eb09d4a0.jpg resize: (1080, 1632) 1359844106 -5.984597228723179 treat image : temp/1747760547_3520830_1359844102_c296297553c9ed65f93892f4923c1e4b.jpg resize: (1080, 1632) 1359844102 -4.951574083356653 treat image : temp/1747760547_3520830_1359843762_59fb0f16309a27e424f352ff6438508c.jpg resize: (1080, 1632) 1359843762 -1.3905940872413383 treat image : temp/1747760547_3520830_1359843752_4182ac643b91e5f2113a582cd2ef862a.jpg resize: (1080, 1632) 1359843752 -1.4459999739341198 treat image : temp/1747760547_3520830_1359843724_f979a1cfb9e5dcc2c7c43aa41aa0cadd.jpg resize: (1080, 1632) 1359843724 -4.103977757113025 treat image : temp/1747760547_3520830_1359843526_5bd36591b24e573098f8ec01c37e8783.jpg resize: (1080, 1632) 1359843526 -5.937268844085273 treat image : temp/1747760547_3520830_1359843524_b5eb671f3edd0cb88bd1145d891fc3d5.jpg resize: (1080, 1632) 1359843524 -3.2979567619122356 treat image : temp/1747760547_3520830_1359843521_135102733c742d95be6ca1a635e969b0.jpg resize: (1080, 1632) 1359843521 -5.627691954088734 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.015819549560546875 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.014855623245239258 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013795852661132812 save missing photos in datou_result : time spend for datou_step_exec : 16.30329990386963 time spend to save output : 0.04971790313720703 total time spend for step 1 : 16.353017807006836 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.94user 3.94system 0:22.01elapsed 85%CPU (0avgtext+0avgdata 138152maxresident)k 112inputs+9840outputs (1major+258344minor)pagefaults 0swaps