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 : 3714477 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 : 4020>100 please execute split_portfolio.py -i 25050138 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3305006'] with mtr_portfolio_ids : ['25050138'] and first list_photo_ids : [] new path : /proc/3714477/ 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.7534568309783936 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 Fri Jul 18 18:22: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/1752855748_3714477_1372640430_0cffc62e91c265f16b1aec8a0c00e80c.jpg resize: (1080, 1632) 1372640430 -5.184285975959269 treat image : temp/1752855748_3714477_1372640427_284dcd2bf92855c96aff28ae9e330148.jpg resize: (1080, 1632) 1372640427 -5.190363106198107 treat image : temp/1752855748_3714477_1372640426_8edc42b53614efcd7f4e72721efcbbd0.jpg resize: (1080, 1632) 1372640426 -5.164781039484247 treat image : temp/1752855748_3714477_1372640422_a57dade055c89b0d365233660114628c.jpg resize: (1080, 1632) 1372640422 -5.254170819274382 treat image : temp/1752855748_3714477_1372640417_6b534f938af1ec3e0a8b21593475a14f.jpg resize: (1080, 1632) 1372640417 -5.061708214794671 treat image : temp/1752855748_3714477_1372640410_97a36dc63dab813649b695667ed80236.jpg resize: (1080, 1632) 1372640410 -5.061221391621152 treat image : temp/1752855748_3714477_1372630394_2ba9f2332cb0c2063fa91041fb3e5923.jpg resize: (1080, 1632) 1372630394 -1.751907950964381 treat image : temp/1752855748_3714477_1372630391_7e111f242717f2266184ef2a268e9537.jpg resize: (1080, 1632) 1372630391 -2.1661867646656443 treat image : temp/1752855748_3714477_1372630388_c4bf114466e21f595d93053345906973.jpg resize: (1080, 1632) 1372630388 -1.625319186558241 treat image : temp/1752855748_3714477_1372630385_c8bc910551e5318c57c8caff28912831.jpg resize: (1080, 1632) 1372630385 -4.002580145943059 treat image : temp/1752855748_3714477_1372630382_cddbfdbe149d578d2fb7c6f9deb2beaa.jpg resize: (1080, 1632) 1372630382 -5.752443146629652 treat image : temp/1752855748_3714477_1372630380_cf08b0df73bebb7958494be8cfe2773e.jpg resize: (1080, 1632) 1372630380 -5.749333166470142 treat image : temp/1752855748_3714477_1372630339_80b10ee1a4d259febaa74c6890e19020.jpg resize: (1080, 1632) 1372630339 -1.77769844122799 treat image : temp/1752855748_3714477_1372630312_7a1ac6ace21201114c2625e94d1b8131.jpg resize: (1080, 1632) 1372630312 -4.421840763159782 treat image : temp/1752855748_3714477_1372630309_c000a8ee6f857d6eb94d4a02bff86d01.jpg resize: (1080, 1632) 1372630309 -4.450083989338917 treat image : temp/1752855748_3714477_1372630306_88d6a78e635191d8a6b9989f3c89f6ac.jpg resize: (1080, 1632) 1372630306 -5.531633395671184 treat image : temp/1752855748_3714477_1372630304_2e27f655e4c62cc803aca7790ce71345.jpg resize: (1080, 1632) 1372630304 -5.212803375266215 treat image : temp/1752855748_3714477_1372630301_3223fa36323d5e34b2f97397d3a94da5.jpg resize: (1080, 1632) 1372630301 -5.436942069715522 treat image : temp/1752855748_3714477_1372630297_295810d29ec551a1feffcd3cc849559c.jpg resize: (1080, 1632) 1372630297 -5.38518025070809 treat image : temp/1752855748_3714477_1372630271_f340e85db3a876aef967d685c0020640.jpg resize: (1080, 1632) 1372630271 -5.115086031069948 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.013055801391601562 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.013338565826416016 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014304399490356445 save missing photos in datou_result : time spend for datou_step_exec : 17.465701818466187 time spend to save output : 0.04523968696594238 total time spend for step 1 : 17.51094150543213 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.50user 5.66system 0:23.96elapsed 84%CPU (0avgtext+0avgdata 139444maxresident)k 152inputs+9176outputs (11major+261086minor)pagefaults 0swaps