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 : 1871946 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 : 1418>100 please execute split_portfolio.py -i 25656691 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3440425'] with mtr_portfolio_ids : ['25656691'] and first list_photo_ids : [] new path : /proc/1871946/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.0791068077087402 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 Aug 5 07:17:27 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/1754371045_1871946_1375213642_1ee3edae7287dda9f97508c8857b651b.jpg resize: (1080, 1632) 1375213642 -5.58631748828454 treat image : temp/1754371045_1871946_1375213637_d088e472ae9fe0c78de20790926f0b82.jpg resize: (1080, 1632) 1375213637 -5.061932066557944 treat image : temp/1754371045_1871946_1375213621_2571d70b901044f35dece10efad2ccc3.jpg resize: (1080, 1632) 1375213621 -4.745811996445806 treat image : temp/1754371045_1871946_1375213555_0fdc583abdd42f4129e33f856f4ee457.jpg resize: (1080, 1632) 1375213555 -2.4719121011291674 treat image : temp/1754371045_1871946_1375213542_bfba178d7b6fdcf4ac4e529db8fabcf6.jpg resize: (1080, 1632) 1375213542 -2.1631788890564945 treat image : temp/1754371045_1871946_1375213540_da87cf1cf068f75ee5c6dd6e489355ad.jpg resize: (1080, 1632) 1375213540 -3.836756802929895 treat image : temp/1754371045_1871946_1375213519_841693565f27981d6b977a64e4874e20.jpg resize: (1080, 1632) 1375213519 -4.437320969693693 treat image : temp/1754371045_1871946_1375213447_e3f0648e52c87bb76cae4edbca8b1eac.jpg resize: (1080, 1632) 1375213447 -5.192675635433686 treat image : temp/1754371045_1871946_1375213446_bf5f9f7621ee3b082a7922b52087cb24.jpg resize: (1080, 1632) 1375213446 -5.3698211925010355 treat image : temp/1754371045_1871946_1375213444_42496f8f9c26588f9baf6d446067b382.jpg resize: (1080, 1632) 1375213444 -5.135333060741513 treat image : temp/1754371045_1871946_1375213441_b1fca4c82562aacefbaed289786d7a6a.jpg resize: (1080, 1632) 1375213441 -4.656542857139476 treat image : temp/1754371045_1871946_1375213433_a27b773a59bea58d4d9a8dd15ef9a41c.jpg resize: (1080, 1632) 1375213433 -3.5812105243526484 treat image : temp/1754371045_1871946_1375213428_9144581ae57f4d5074e294e052f1c4a3.jpg resize: (1080, 1632) 1375213428 -5.292690964055941 treat image : temp/1754371045_1871946_1375213425_50f8b00dea770d5b4ee20b1cab83404c.jpg resize: (1080, 1632) 1375213425 -3.693386807161971 treat image : temp/1754371045_1871946_1375213422_c734c52b82349ee29bc2de6d6d941957.jpg resize: (1080, 1632) 1375213422 -5.168414018003274 treat image : temp/1754371045_1871946_1375213420_9f195acc89dce13828290fd89ebfef81.jpg resize: (1080, 1632) 1375213420 -3.4593379531282773 treat image : temp/1754371045_1871946_1375213417_71ee2646389cebf953142f4bd7d42f28.jpg resize: (1080, 1632) 1375213417 -1.3825982506397434 treat image : temp/1754371045_1871946_1375213415_d1d81a5f8cdf60cf80e2662ecc79ecde.jpg resize: (1080, 1632) 1375213415 -2.665093157167089 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 : 18 time used for this insertion : 0.033748626708984375 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.24927043914794922 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.23257231712341309 save missing photos in datou_result : time spend for datou_step_exec : 13.350736856460571 time spend to save output : 0.5205118656158447 total time spend for step 1 : 13.871248722076416 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 12.52user 3.17system 0:17.21elapsed 91%CPU (0avgtext+0avgdata 138168maxresident)k 8inputs+7736outputs (2major+241371minor)pagefaults 0swaps