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 : 1526229 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 : 3019>100 please execute split_portfolio.py -i 26103981 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3565041'] with mtr_portfolio_ids : ['26103981'] and first list_photo_ids : [] new path : /proc/1526229/ 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.407759189605713 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 Aug 22 00: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/1755814046_1526229_1378358280_75a46cbdbbb9ac924c0951eab4962f92.jpg resize: (1080, 1632) 1378358280 -5.824818182856853 treat image : temp/1755814046_1526229_1378358277_7d97743fbead771b6162ea6b54bf1402.jpg resize: (1080, 1632) 1378358277 -5.8147908557516335 treat image : temp/1755814046_1526229_1378358274_eb591cf975823a54c3fe90b1612d352d.jpg resize: (1080, 1632) 1378358274 -7.341874648603324 treat image : temp/1755814046_1526229_1378358273_eca1b65022e418fc1c9f9f5ceb5f0c3c.jpg resize: (1080, 1632) 1378358273 -6.813828813396096 treat image : temp/1755814046_1526229_1378358270_01002be8bb5424d966a53d7f24321468.jpg resize: (1080, 1632) 1378358270 -4.608183937231529 treat image : temp/1755814046_1526229_1378358267_9b87d36ed96b7d80b3485edf20541272.jpg resize: (1080, 1632) 1378358267 -5.301810594166414 treat image : temp/1755814046_1526229_1378358211_0044bc432832a912f338da45c2d079f0.jpg resize: (1080, 1632) 1378358211 -5.611336988550196 treat image : temp/1755814046_1526229_1378358207_94cf2c0a7fa17d3fcb10d16bd7f532ac.jpg resize: (1080, 1632) 1378358207 -4.471980641643993 treat image : temp/1755814046_1526229_1378358203_a9ead79f94671a0d069522f36530510c.jpg resize: (1080, 1632) 1378358203 -4.025997679906796 treat image : temp/1755814046_1526229_1378358198_a919ceeed2ce4e915d971d8c6b0e6d4d.jpg resize: (1080, 1632) 1378358198 -1.2858756895186134 treat image : temp/1755814046_1526229_1378358196_180c2e84adedde6b57548c864e3c44aa.jpg resize: (1080, 1632) 1378358196 -1.478245400232369 treat image : temp/1755814046_1526229_1378358193_597d0febef72da6c0235a8005ae7b36b.jpg resize: (1080, 1632) 1378358193 -0.09848504885871243 treat image : temp/1755814046_1526229_1378358170_f728d3032c762eb3b194455ff011f105.jpg resize: (1080, 1632) 1378358170 -3.575431019954583 treat image : temp/1755814046_1526229_1378358167_f11855aa0aabc2d7ada85610ccc81fd8.jpg resize: (1080, 1632) 1378358167 -2.7123446388041166 treat image : temp/1755814046_1526229_1378358165_c4324ebcd74ebc32f7fb4b9c22bf8cdd.jpg resize: (1080, 1632) 1378358165 -4.227698997227603 treat image : temp/1755814046_1526229_1378358163_227eb70de50547e0af4bb238d416697a.jpg resize: (1080, 1632) 1378358163 -6.349407478149571 treat image : temp/1755814046_1526229_1378358160_d9f7e43a56f69cb558a81d4360f59b19.jpg resize: (1080, 1632) 1378358160 -5.802308705315907 treat image : temp/1755814046_1526229_1378358158_40cee88218d59884472ce0209ce60451.jpg resize: (1080, 1632) 1378358158 -4.102171052350733 treat image : temp/1755814046_1526229_1378358134_3f628b3fcd8d4521aed4fed417a3c133.jpg resize: (1080, 1632) 1378358134 -4.111321428212178 treat image : temp/1755814046_1526229_1378358130_52d74e0a8a33df2b5d302b0658810ac5.jpg resize: (1080, 1632) 1378358130 -4.665544867667282 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.01259303092956543 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.012722969055175781 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.09023499488830566 save missing photos in datou_result : time spend for datou_step_exec : 16.7889187335968 time spend to save output : 0.12087774276733398 total time spend for step 1 : 16.909796476364136 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.49user 4.74system 0:21.28elapsed 90%CPU (0avgtext+0avgdata 140164maxresident)k 0inputs+9976outputs (0major+260351minor)pagefaults 0swaps