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 : 3835463 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 : 2744>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/3835463/ 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.888596534729004 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 Wed May 21 18:47:32 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/1747846049_3835463_1360047491_ffc4dec26590f130ad9c9a355b640c9d.jpg resize: (1080, 1632) 1360047491 -5.338446990380255 treat image : temp/1747846049_3835463_1360047487_e09263da46613fad055e9a5bc71d6aa1.jpg resize: (1080, 1632) 1360047487 -6.00138215036223 treat image : temp/1747846049_3835463_1360047262_ca75a1e0b0f58c6cb6520ba438004b3b.jpg resize: (1080, 1632) 1360047262 -1.294177877262654 treat image : temp/1747846049_3835463_1360047234_7c77501546d152274141794caafad802.jpg resize: (1080, 1632) 1360047234 -1.5071223125131543 treat image : temp/1747846049_3835463_1360047208_27a7bef4dc8de393e0731a85be185916.jpg resize: (1080, 1632) 1360047208 -5.151936740319677 treat image : temp/1747846049_3835463_1360047175_a697de5cade7ba5fcaeb9d344646c081.jpg resize: (1080, 1632) 1360047175 -5.039723921474554 treat image : temp/1747846049_3835463_1360046964_424b44dac62f052a12e059cc6f902f0d.jpg resize: (1080, 1632) 1360046964 -5.9493948371561105 treat image : temp/1747846049_3835463_1360046961_aef584c76c2f4d63afe6049c1f6c6d2c.jpg resize: (1080, 1632) 1360046961 -5.381694774975322 treat image : temp/1747846049_3835463_1360046958_48f99f5bf4be0d0505e98d1a86a89eee.jpg resize: (1080, 1632) 1360046958 -6.613348193688995 treat image : temp/1747846049_3835463_1360046953_06c017b0662e15520d594382ce9e4b33.jpg resize: (1080, 1632) 1360046953 -6.49616745391754 treat image : temp/1747846049_3835463_1360046949_0651d6e1313a484c704aa9728136c3a7.jpg resize: (1080, 1632) 1360046949 -6.070183664351015 treat image : temp/1747846049_3835463_1360046925_8cdf3429f509a52bd7b3b451e88b50d1.jpg resize: (1080, 1632) 1360046925 -5.368066038827788 treat image : temp/1747846049_3835463_1360046922_e6773be66d3bbc9d419a19ca39f8ac94.jpg resize: (1080, 1632) 1360046922 -4.0716887499279615 treat image : temp/1747846049_3835463_1360046919_04e057006257369c5d4e45e4390c30c0.jpg resize: (1080, 1632) 1360046919 -5.960332252150334 treat image : temp/1747846049_3835463_1360046915_e2ab6007fea69c2c4b012ee9f0b13ba1.jpg resize: (1080, 1632) 1360046915 -5.75826454486767 treat image : temp/1747846049_3835463_1360046911_25d2ce9d925b15360974b08493f098a0.jpg resize: (1080, 1632) 1360046911 -5.293081792555094 treat image : temp/1747846049_3835463_1360046885_857781debdd02f73f6fc337b661423ad.jpg resize: (1080, 1632) 1360046885 -3.8644857703904982 treat image : temp/1747846049_3835463_1360045411_61d4e6e004978ccf3a2bcc4bdb536b26.jpg resize: (1080, 1632) 1360045411 -5.237054882226995 treat image : temp/1747846049_3835463_1360045407_35c22d46c4b4e158edb3b53d489325a1.jpg resize: (1080, 1632) 1360045407 -5.57627702709188 treat image : temp/1747846049_3835463_1360045403_307789fdc7c04b1c4f9eabe899120c00.jpg resize: (1080, 1632) 1360045403 -6.105561246115831 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.014058589935302734 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.01303243637084961 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016937732696533203 save missing photos in datou_result : time spend for datou_step_exec : 29.040640115737915 time spend to save output : 0.05013704299926758 total time spend for step 1 : 29.090777158737183 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.08user 17.60system 0:35.84elapsed 88%CPU (0avgtext+0avgdata 138156maxresident)k 144inputs+10904outputs (19major+260022minor)pagefaults 0swaps