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 : 1719936 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 : 1566>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/1719936/ 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.4187729358673096 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 08:02: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/1747116149_1719936_1357776244_af64bf39656c9dcae76bbcf1ac57034b.jpg resize: (1080, 1632) 1357776244 -2.3725755797497055 treat image : temp/1747116149_1719936_1357776222_d85afa39d98bea187ded72fe43aa08fb.jpg resize: (1080, 1632) 1357776222 -3.95503428601171 treat image : temp/1747116149_1719936_1357776187_f48ff6513a5770ced66da3d3c6ede950.jpg resize: (1080, 1632) 1357776187 -4.782077747062653 treat image : temp/1747116149_1719936_1357776182_8ea4e65169f483d1cba8b3ca1b905230.jpg resize: (1080, 1632) 1357776182 -6.375698804685071 treat image : temp/1747116149_1719936_1357776177_4eba7e79f06d2a998d6796ac7b39ef02.jpg resize: (1080, 1632) 1357776177 -5.7640780074960025 treat image : temp/1747116149_1719936_1357776173_13473875a01d8e6505f8b3ea57eb3848.jpg resize: (1080, 1632) 1357776173 -3.863618805591733 treat image : temp/1747116149_1719936_1357776170_96ece79c71ec89bbb940101899b35f9a.jpg resize: (1080, 1632) 1357776170 -0.5067643677748529 treat image : temp/1747116149_1719936_1357776142_1dad2e9c3fb3e6e1cddebedd44676671.jpg resize: (1080, 1632) 1357776142 -3.0904958970171093 treat image : temp/1747116149_1719936_1357776137_d366ab424ac15f76c6e159b3af8a9705.jpg resize: (1080, 1632) 1357776137 -5.200813283022848 treat image : temp/1747116149_1719936_1357776129_6a826bb668ba21ca4879e3fd99dfc6a8.jpg resize: (1080, 1632) 1357776129 -5.142109248413952 treat image : temp/1747116149_1719936_1357776123_f32ef48557af225300b4869490a9fa96.jpg resize: (1080, 1632) 1357776123 -5.1484761225809805 treat image : temp/1747116149_1719936_1357776118_341c154b49387c444703ef60e6397359.jpg resize: (1080, 1632) 1357776118 -4.912268022048863 treat image : temp/1747116149_1719936_1357776065_9686e321324ee1a7b206a984a0ee854e.jpg resize: (1080, 1632) 1357776065 -2.02394700208776 treat image : temp/1747116149_1719936_1357776063_d340f32156c60cb06f7cbf8cdd3b9fa9.jpg resize: (1080, 1632) 1357776063 -1.425306670544623 treat image : temp/1747116149_1719936_1357776062_8448a93a200d9b7b40bcfd88fd571fbb.jpg resize: (1080, 1632) 1357776062 -4.337812661041507 treat image : temp/1747116149_1719936_1357776061_f50e63951182bd2a02466076f2d95bc3.jpg resize: (1080, 1632) 1357776061 -3.29047993187954 treat image : temp/1747116149_1719936_1357776059_4230bcab5cc58f8dca83715a2291741c.jpg resize: (1080, 1632) 1357776059 -4.747378778733596 treat image : temp/1747116149_1719936_1357770476_f4e4a6d2450a0c8ff63a75384dd4182d.jpg resize: (1080, 1632) 1357770476 -4.625137987574171 treat image : temp/1747116149_1719936_1357770473_26de7798f2a80a9712f7cd28d48864c2.jpg resize: (1080, 1632) 1357770473 -2.823559442749147 treat image : temp/1747116149_1719936_1357770450_1ec01a02c9c8e9a00090666d048c53a1.jpg resize: (1080, 1632) 1357770450 -5.534007066830706 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.01586294174194336 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.21999359130859375 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.13768768310546875 save missing photos in datou_result : time spend for datou_step_exec : 16.437666416168213 time spend to save output : 0.37790393829345703 total time spend for step 1 : 16.81557035446167 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.60user 4.24system 0:23.34elapsed 80%CPU (0avgtext+0avgdata 138716maxresident)k 0inputs+8784outputs (6major+258800minor)pagefaults 0swaps