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 : 3237261 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 : 5141>100 please execute split_portfolio.py -i 22406770 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2759758'] with mtr_portfolio_ids : ['22406770'] and first list_photo_ids : [] new path : /proc/3237261/ 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 : 3.149945020675659 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 Mon Apr 28 18:57: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/1745859448_3237261_1353894985_e64aad39988ac0e7ad1c6407802bf556.jpg resize: (1080, 1632) 1353894985 -2.036619634383916 treat image : temp/1745859448_3237261_1353894566_a88ad7210bcdc2a6e194dc3671925924.jpg resize: (1080, 1632) 1353894566 -5.361764510138145 treat image : temp/1745859448_3237261_1353894563_b41a81f4ef928547db81a5ac86d79d48.jpg resize: (1080, 1632) 1353894563 -5.859085808368574 treat image : temp/1745859448_3237261_1353894425_20679ff430300ff4c784eef51d732c1c.jpg resize: (1080, 1632) 1353894425 -6.345259335365337 treat image : temp/1745859448_3237261_1353894422_28a608c79c48fc5b101fed5e3beb541e.jpg resize: (1080, 1632) 1353894422 -3.8882636284492187 treat image : temp/1745859448_3237261_1353894417_5be18d944131b8a32b18e0293abcf3af.jpg resize: (1080, 1632) 1353894417 -5.449891010000041 treat image : temp/1745859448_3237261_1353894412_491066f664854b8cead3531119bcfe22.jpg resize: (1080, 1632) 1353894412 -5.2840289559928415 treat image : temp/1745859448_3237261_1353894396_8556ced584b34210b68ac789ed6d3654.jpg resize: (1080, 1632) 1353894396 -6.000504678533581 treat image : temp/1745859448_3237261_1353894390_81f0ddd017edb36b33c50bf3faa41b20.jpg resize: (1080, 1632) 1353894390 -5.69412122459179 treat image : temp/1745859448_3237261_1353894358_da6da7623c8bcbcfe683c7d293c80596.jpg resize: (1080, 1632) 1353894358 -4.512437197997738 treat image : temp/1745859448_3237261_1353894329_8466cb372ecae445c8705845c529b89c.jpg resize: (1080, 1632) 1353894329 -5.440762853048765 treat image : temp/1745859448_3237261_1353894326_2f61bde78a292cf716e6c7de711d72ac.jpg resize: (1080, 1632) 1353894326 -5.201117005508333 treat image : temp/1745859448_3237261_1353894323_92e0da454cf91e684bdd243d68242894.jpg resize: (1080, 1632) 1353894323 -3.5923454250409317 treat image : temp/1745859448_3237261_1353894134_fc6f5337ff7825c21a448d7951778ef7.jpg resize: (1080, 1632) 1353894134 -5.798978306457605 treat image : temp/1745859448_3237261_1353894131_fa7f7fb3cb92596aff7c7afd307dc50e.jpg resize: (1080, 1632) 1353894131 -5.914521702849862 treat image : temp/1745859448_3237261_1353894126_6e4965a93c5c2f23be69e47a4edcec16.jpg resize: (1080, 1632) 1353894126 -2.0472306118009422 treat image : temp/1745859448_3237261_1353894120_6b1df8b7192bc033839912c61a07647e.jpg resize: (1080, 1632) 1353894120 -5.38590360569576 treat image : temp/1745859448_3237261_1353894004_3600628dcac91c25fd53ce9ede188c8c.jpg resize: (1080, 1632) 1353894004 -4.563968724798392 treat image : temp/1745859448_3237261_1353894000_2eea09f1b4a7787ad5af6beebd407fc0.jpg resize: (1080, 1632) 1353894000 -5.59588963879577 treat image : temp/1745859448_3237261_1353893991_f432b26f538fe57b3c6627a082fb910b.jpg resize: (1080, 1632) 1353893991 -5.833502770724245 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.013980388641357422 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.013908147811889648 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014786005020141602 save missing photos in datou_result : time spend for datou_step_exec : 17.64258050918579 time spend to save output : 0.04781079292297363 total time spend for step 1 : 17.690391302108765 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.24user 4.87system 0:23.80elapsed 84%CPU (0avgtext+0avgdata 140032maxresident)k 152inputs+10184outputs (12major+259099minor)pagefaults 0swaps