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 : 3894194 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 : 2928>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/3894194/ 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.209202527999878 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 13 18: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/1747155149_3894194_1357883714_7063d21d715dc856ab6f3762e2479a25.jpg resize: (1080, 1632) 1357883714 -5.344240591628734 treat image : temp/1747155149_3894194_1357883687_82c477627dd3120334f71840d19e39e7.jpg resize: (1080, 1632) 1357883687 -1.4337675206157527 treat image : temp/1747155149_3894194_1357883546_30f90cd4d8ae82a667daf239046e5a17.jpg resize: (1080, 1632) 1357883546 -6.007096552604433 treat image : temp/1747155149_3894194_1357883534_6bbc42b6e533864c055701939cf77a50.jpg resize: (1080, 1632) 1357883534 -5.946063372789928 treat image : temp/1747155149_3894194_1357883522_32ff1c41318c834ba5fc38278f8ca591.jpg resize: (1080, 1632) 1357883522 -5.986557803283096 treat image : temp/1747155149_3894194_1357883503_071809da23b1e161400474fb05f9e1a8.jpg resize: (1080, 1632) 1357883503 -5.933166713222471 treat image : temp/1747155149_3894194_1357883498_a5bc3e240712c3cfc47e18787fc63006.jpg resize: (1080, 1632) 1357883498 -4.698914412937093 treat image : temp/1747155149_3894194_1357883495_fcffc3e5a1bdda3e63f2703b79b91ba7.jpg resize: (1080, 1632) 1357883495 -5.786217196134239 treat image : temp/1747155149_3894194_1357883294_129dc8a69e8399633868cd8167d1cac5.jpg resize: (1080, 1632) 1357883294 -5.354046348999957 treat image : temp/1747155149_3894194_1357883263_f899a660002409785ae2b9a47c926551.jpg resize: (1080, 1632) 1357883263 -5.720592277836158 treat image : temp/1747155149_3894194_1357883219_fcc62ac0ac0edd8ad355f1d8e906035d.jpg resize: (1080, 1632) 1357883219 -5.815767009985905 treat image : temp/1747155149_3894194_1357883191_7461320503e69e19b3a27537af3e7ed4.jpg resize: (1080, 1632) 1357883191 -6.4376943597232215 treat image : temp/1747155149_3894194_1357883152_f6a764bf403b815b640b93cd922f5f71.jpg resize: (1080, 1632) 1357883152 -3.4407850883730924 treat image : temp/1747155149_3894194_1357883138_aae67213c93e272248a9314de25e554c.jpg resize: (1080, 1632) 1357883138 -5.216114437173343 treat image : temp/1747155149_3894194_1357883010_5f2bbe52c50685498ddd56143e9811de.jpg resize: (1080, 1632) 1357883010 -2.6524718076316662 treat image : temp/1747155149_3894194_1357882869_e2392933ee48c7a31c8d683a9cab36e8.jpg resize: (1080, 1632) 1357882869 -5.454574684972553 treat image : temp/1747155149_3894194_1357882772_c707d3dd329c602a8a30d9e13b92e2b2.jpg resize: (1080, 1632) 1357882772 -5.652430221535953 treat image : temp/1747155149_3894194_1357882398_5443f0bbe20c4614d0a880a5d91c6935.jpg resize: (1080, 1632) 1357882398 -1.1455313311921014 treat image : temp/1747155149_3894194_1357879212_2d94316cc1cb1016c83e48916bb6577f.jpg resize: (1080, 1632) 1357879212 -5.9805784047707276 treat image : temp/1747155149_3894194_1357879157_8e84beecda4f2b0358feb9e46be7a1fc.jpg resize: (1080, 1632) 1357879157 -6.004111010532576 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.012620210647583008 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.015077590942382812 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01690816879272461 save missing photos in datou_result : time spend for datou_step_exec : 17.33159875869751 time spend to save output : 0.12027311325073242 total time spend for step 1 : 17.451871871948242 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.43user 4.63system 0:22.51elapsed 89%CPU (0avgtext+0avgdata 138512maxresident)k 14016inputs+10504outputs (104major+257048minor)pagefaults 0swaps