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 : 4048614 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 : 5034>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/4048614/ 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.156198263168335 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 Jul 9 21:32: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/1752089547_4048614_1371431769_8ef59ec3dec4d8ee28c9ca0d64c8852a.jpg resize: (1080, 1632) 1371431769 -5.7354922160528945 treat image : temp/1752089547_4048614_1371431768_76b59c5ad46113e143b6c7e10043b5c2.jpg resize: (1080, 1632) 1371431768 -5.1889042895502815 treat image : temp/1752089547_4048614_1371431767_acedb9fbc55f43dfd69b1f25cf863f4d.jpg resize: (1080, 1632) 1371431767 -4.293623452317762 treat image : temp/1752089547_4048614_1371431765_0dd45dc689d17482233c2679120760ef.jpg resize: (1080, 1632) 1371431765 -4.290498596822542 treat image : temp/1752089547_4048614_1371431763_4f7cebe639521db3cfe390c3f6f97a15.jpg resize: (1080, 1632) 1371431763 -5.283663133193137 treat image : temp/1752089547_4048614_1371431762_ecde7a3e6a872a6c212e960c4d4b6d3b.jpg resize: (1080, 1632) 1371431762 -3.459067484781097 treat image : temp/1752089547_4048614_1371431759_34c4eeb19b44e75f465684e38702b81c.jpg resize: (1080, 1632) 1371431759 -5.304185848175477 treat image : temp/1752089547_4048614_1371431757_61d7455e109ba9878295e76953e61db6.jpg resize: (1080, 1632) 1371431757 -5.3625602246530795 treat image : temp/1752089547_4048614_1371431755_78876b15c3444af4341f1b1d7546d3e7.jpg resize: (1080, 1632) 1371431755 -5.164568530879721 treat image : temp/1752089547_4048614_1371431754_1eb0850f602db0b62497121b7022281f.jpg resize: (1080, 1632) 1371431754 -1.2750078757282228 treat image : temp/1752089547_4048614_1371431753_20ef5e90365c45615aa16152a8325994.jpg resize: (1080, 1632) 1371431753 -1.5080902950939208 treat image : temp/1752089547_4048614_1371431752_d0567c8565b6de0525ac8cebcff22482.jpg resize: (1080, 1632) 1371431752 -2.567396177143387 treat image : temp/1752089547_4048614_1371431750_5ba3cb09d25af66123e7d4246fb17b46.jpg resize: (1080, 1632) 1371431750 -5.585070385338656 treat image : temp/1752089547_4048614_1371431749_e18d7a05da1ab1949c185415ec4e5472.jpg resize: (1080, 1632) 1371431749 -5.652159650268952 treat image : temp/1752089547_4048614_1371431747_f0d8de91fb415ba58ace0da35f7db585.jpg resize: (1080, 1632) 1371431747 -3.927496771681144 treat image : temp/1752089547_4048614_1371431744_f6a07bdcc58bca7b7923b89661ec5454.jpg resize: (1080, 1632) 1371431744 -4.77137599313992 treat image : temp/1752089547_4048614_1371431742_4168d7761fc66c98bfc5f35c0281451a.jpg resize: (1080, 1632) 1371431742 -4.918742753534634 treat image : temp/1752089547_4048614_1371431740_f62b5249eb7aef1e698ebb689f1af4c7.jpg resize: (1080, 1632) 1371431740 -3.0174359171587857 treat image : temp/1752089547_4048614_1371431720_9b256e4e5eabafcdea76aa7a6df7042a.jpg resize: (1080, 1632) 1371431720 -5.065749385710764 treat image : temp/1752089547_4048614_1371431718_56e1107197e9de8b3871a516b8ef0449.jpg resize: (1080, 1632) 1371431718 -5.291105626605597 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.013168096542358398 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.01183319091796875 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015932083129882812 save missing photos in datou_result : time spend for datou_step_exec : 13.204532146453857 time spend to save output : 0.045803070068359375 total time spend for step 1 : 13.250335216522217 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.30user 1.37system 0:18.39elapsed 85%CPU (0avgtext+0avgdata 139528maxresident)k 8inputs+9256outputs (2major+118051minor)pagefaults 0swaps