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 : 3598443 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 : 834>100 please execute split_portfolio.py -i 21570233 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2678697'] with mtr_portfolio_ids : ['21570233'] and first list_photo_ids : [] new path : /proc/3598443/ 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.002570152282715 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 Mar 21 13:07:29 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/1742558847_3598443_1345981400_899ccc074e9ea04d0f2384ce9225a0a2.jpg resize: (1080, 1632) 1345981400 -2.30526650930465 treat image : temp/1742558847_3598443_1345981359_a7d9858508c2d0bbebf8bd1350dacb4e.jpg resize: (1080, 1632) 1345981359 -4.003873971463113 treat image : temp/1742558847_3598443_1345981330_ebae82e09e4f7cf442a1a98c243aa6de.jpg resize: (1080, 1632) 1345981330 -3.8961807507567765 treat image : temp/1742558847_3598443_1345981299_51a456e0a70bb12234ad3c309ab9e506.jpg resize: (1080, 1632) 1345981299 -4.895198433678678 treat image : temp/1742558847_3598443_1345981272_a903be75d619d6974b9a0d869ecceb7c.jpg resize: (1080, 1632) 1345981272 -4.198502402853167 treat image : temp/1742558847_3598443_1345981248_cfaae7b0a8b423c07e0a5d010e2653ca.jpg resize: (1080, 1632) 1345981248 -6.05433537171655 treat image : temp/1742558847_3598443_1345981238_ad1e1ce762f6099587876f2f7fb99f32.jpg resize: (1080, 1632) 1345981238 -5.893042184443581 treat image : temp/1742558847_3598443_1345981234_1ae672c52ee67f7f481580b07aa507af.jpg resize: (1080, 1632) 1345981234 -5.378179523445642 treat image : temp/1742558847_3598443_1345981230_220aa617b9a01ec10d7653f011234607.jpg resize: (1080, 1632) 1345981230 -5.783740258321634 treat image : temp/1742558847_3598443_1345981223_9055e5efb05a3ca612ff986211077d51.jpg resize: (1080, 1632) 1345981223 -5.447957048256991 treat image : temp/1742558847_3598443_1345981217_6b3e6443c91ac9a9c4ac132e6e53c946.jpg resize: (1080, 1632) 1345981217 -1.9208030405497964 treat image : temp/1742558847_3598443_1345981213_cc4d82607bc95b941d4984b5da06b85f.jpg resize: (1080, 1632) 1345981213 -5.695889347293617 treat image : temp/1742558847_3598443_1345981130_72292b031d1388128239022200f0ed3c.jpg resize: (1080, 1632) 1345981130 -4.596803826975155 treat image : temp/1742558847_3598443_1345981127_aab45f0613f2d5c4c4e1e348c5905fa8.jpg resize: (1080, 1632) 1345981127 -4.677362746950366 treat image : temp/1742558847_3598443_1345981122_e757da809b0984b965f965f8c313991b.jpg resize: (1080, 1632) 1345981122 -5.751132855891357 treat image : temp/1742558847_3598443_1345981110_59c736e9f7946acec9875c8f3be59fff.jpg resize: (1080, 1632) 1345981110 -6.243339984752274 treat image : temp/1742558847_3598443_1345981076_2f2bb1b69a39003ac323642e70cd6f02.jpg resize: (1080, 1632) 1345981076 -6.439377556695944 treat image : temp/1742558847_3598443_1345981072_91133a421c2619ecc8e3c4177fc57dee.jpg resize: (1080, 1632) 1345981072 -3.611305088584973 treat image : temp/1742558847_3598443_1345981045_0becea5b373007d05d43a91162827523.jpg resize: (1080, 1632) 1345981045 -6.2711365486933905 treat image : temp/1742558847_3598443_1345981030_5b5e42d4a9b198626382db9aa9b94bd4.jpg resize: (1080, 1632) 1345981030 -4.0663779828946085 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.012863636016845703 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.012019634246826172 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014837980270385742 save missing photos in datou_result : time spend for datou_step_exec : 17.21807622909546 time spend to save output : 0.04471015930175781 total time spend for step 1 : 17.262786388397217 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.52user 5.08system 0:20.76elapsed 94%CPU (0avgtext+0avgdata 137360maxresident)k 144inputs+10536outputs (6major+257613minor)pagefaults 0swaps