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 : 3644142 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 : 5213>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/3644142/ 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.3541791439056396 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 Jul 11 16:02:28 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/1752242546_3644142_1371600613_9a24d91ad57e493565a43160ce41f5d2.jpg resize: (1080, 1632) 1371600613 -6.351168663360794 treat image : temp/1752242546_3644142_1371600606_d1e1cadbcad731cc7b707eca7e5f4a46.jpg resize: (1080, 1632) 1371600606 -6.359206026901702 treat image : temp/1752242546_3644142_1371600593_352d17c6f290071f4a9c3ab38eea7e3b.jpg resize: (1080, 1632) 1371600593 -6.366136715634832 treat image : temp/1752242546_3644142_1371600548_51df9f87c4fbffa1cde0d1c2aa48e3bc.jpg resize: (1080, 1632) 1371600548 -6.346634771778424 treat image : temp/1752242546_3644142_1371600498_afa7a4e1234a91e24f8d81a9b0372fad.jpg resize: (1080, 1632) 1371600498 -6.358652418970475 treat image : temp/1752242546_3644142_1371600466_e2a346920e5ee211540698b783eab3bf.jpg resize: (1080, 1632) 1371600466 -6.369314834938627 treat image : temp/1752242546_3644142_1371600388_98e5d7c45f47ff6e2346aa8a1f50fdaa.jpg resize: (1080, 1632) 1371600388 -2.618158174120334 treat image : temp/1752242546_3644142_1371600386_a975442b600d47b25e7bf258999932da.jpg resize: (1080, 1632) 1371600386 -2.7671968753616167 treat image : temp/1752242546_3644142_1371600370_f44d7ae0ab1af081348ea522ace238c2.jpg resize: (1080, 1632) 1371600370 -4.573257834188734 treat image : temp/1752242546_3644142_1371600330_1375426d8816a507218718bacd3f0e6c.jpg resize: (1080, 1632) 1371600330 -4.165983045282733 treat image : temp/1752242546_3644142_1371600273_b73ba9f66e2457c2d974d31c85bf2af4.jpg resize: (1080, 1632) 1371600273 -5.644968811180129 treat image : temp/1752242546_3644142_1371600221_ee71ea051c99a6e1327c0afc51b7271d.jpg resize: (1080, 1632) 1371600221 -5.501284611227186 treat image : temp/1752242546_3644142_1371600023_25403b77a3766adf73a33394cfb05dae.jpg resize: (1080, 1632) 1371600023 -5.41733107623661 treat image : temp/1752242546_3644142_1371599976_068cba14d4ecfc1feab599ea68919a07.jpg resize: (1080, 1632) 1371599976 -2.364743224388252 treat image : temp/1752242546_3644142_1371599938_2c4c4a01bfb242c982a852a4e3ba19ff.jpg resize: (1080, 1632) 1371599938 -5.057673002875476 treat image : temp/1752242546_3644142_1371599895_202b2ec5d3855b79c0fcdeac548dd3f5.jpg resize: (1080, 1632) 1371599895 -3.661232144042427 treat image : temp/1752242546_3644142_1371599852_dcb8dc6b046612a071ecdd0c6741149f.jpg resize: (1080, 1632) 1371599852 -5.372276471624075 treat image : temp/1752242546_3644142_1371599826_81d2439d0af58bebc95e2f20aef4949c.jpg resize: (1080, 1632) 1371599826 -4.347611949015849 treat image : temp/1752242546_3644142_1371599559_a245e4f00f92c247becef407edd1a67b.jpg resize: (1080, 1632) 1371599559 -5.030993958338255 treat image : temp/1752242546_3644142_1371599460_dbea97ec9b360fb547a4922aa263b9d5.jpg resize: (1080, 1632) 1371599460 -2.276951267895552 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.012679100036621094 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.012941360473632812 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01694965362548828 save missing photos in datou_result : time spend for datou_step_exec : 14.98695421218872 time spend to save output : 0.047313690185546875 total time spend for step 1 : 15.034267902374268 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.24user 2.88system 0:18.95elapsed 90%CPU (0avgtext+0avgdata 139476maxresident)k 0inputs+10128outputs (13major+201335minor)pagefaults 0swaps