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 : 1824836 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 : 2861>100 please execute split_portfolio.py -i 22700488 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2795252'] with mtr_portfolio_ids : ['22700488'] and first list_photo_ids : [] new path : /proc/1824836/ 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 : 4.189592599868774 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 6 20:07: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/1746554848_1824836_1356404818_db50e18fa4931118bbe48d681c06dc2e.jpg resize: (1080, 1632) 1356404818 -5.388310906740032 treat image : temp/1746554848_1824836_1356404781_4bd2805c859976b093847752899a57b7.jpg resize: (1080, 1632) 1356404781 -4.577495309430847 treat image : temp/1746554848_1824836_1356404754_8c1a1266ab6cc67b95c40fea44b189e4.jpg resize: (1080, 1632) 1356404754 -1.177288778722279 treat image : temp/1746554848_1824836_1356404736_d2278c4f04d34d0aabbdcc77f57e5035.jpg resize: (1080, 1632) 1356404736 -2.6542501786663717 treat image : temp/1746554848_1824836_1356404448_cead13d35f90711c4dcffbffabb69c89.jpg resize: (1080, 1632) 1356404448 -5.423039341134225 treat image : temp/1746554848_1824836_1356404376_81675315562047afc6ea914e154de868.jpg resize: (1080, 1632) 1356404376 -5.532826087294183 treat image : temp/1746554848_1824836_1356404323_be7fe4db2382227b0f0cfc7fb812861f.jpg resize: (1080, 1632) 1356404323 -6.101943019895758 treat image : temp/1746554848_1824836_1356404275_63ad4c6967ba8d620cf1362563c4240a.jpg resize: (1080, 1632) 1356404275 -5.813645721383537 treat image : temp/1746554848_1824836_1356404200_701c626deccfc3b9613c74c953ac015f.jpg resize: (1080, 1632) 1356404200 -5.325180067639325 treat image : temp/1746554848_1824836_1356386668_221448df87748e5adcc2b41624af98d1.jpg resize: (1080, 1632) 1356386668 -1.238284374858607 treat image : temp/1746554848_1824836_1356386663_682db6beb86a2d733e6142f5f451a9b9.jpg resize: (1080, 1632) 1356386663 -0.9746234018137842 treat image : temp/1746554848_1824836_1356386657_69697589084694eba9e27d377f81994d.jpg resize: (1080, 1632) 1356386657 -2.1764314880315436 treat image : temp/1746554848_1824836_1356379534_61d1c25de019b0886f18df8ca6ef3e54.jpg resize: (1080, 1632) 1356379534 -4.377289567645157 treat image : temp/1746554848_1824836_1356379529_6c49b7e5b4a3fd068aef1aed2634b138.jpg resize: (1080, 1632) 1356379529 -5.790543170987219 treat image : temp/1746554848_1824836_1356379520_e6fbb1c6f5a9ea9bf148efd56b322a10.jpg resize: (1080, 1632) 1356379520 -3.780293355058098 treat image : temp/1746554848_1824836_1356379516_9b016f2d92542d0c5dc6c1fb74eed884.jpg resize: (1080, 1632) 1356379516 -6.065107919266892 treat image : temp/1746554848_1824836_1356379512_38b21f99778d1a0520c6f52c660f19a9.jpg resize: (1080, 1632) 1356379512 -4.20641774215002 treat image : temp/1746554848_1824836_1356379508_b7a0191d6e63b5851927eb5aa8d980d7.jpg resize: (1080, 1632) 1356379508 -5.824489452326989 treat image : temp/1746554848_1824836_1356379505_cf2f7c53722e5974dd6d2f4992722591.jpg resize: (1080, 1632) 1356379505 -5.786157333198611 treat image : temp/1746554848_1824836_1356379499_c707ecc5148677a4662b98e2bda6fa1d.jpg resize: (1080, 1632) 1356379499 -4.318145567401606 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.012804985046386719 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.013428688049316406 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01828145980834961 save missing photos in datou_result : time spend for datou_step_exec : 17.893850803375244 time spend to save output : 0.049365997314453125 total time spend for step 1 : 17.943216800689697 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.98user 5.40system 0:25.60elapsed 79%CPU (0avgtext+0avgdata 141744maxresident)k 16inputs+9440outputs (0major+264625minor)pagefaults 0swaps