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 : 562349 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 : 9299>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/562349/ 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.5767769813537598 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 22:42:30 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/1752266547_562349_1371701857_556729ebf89f4277ce9d3de9b45f4747.jpg resize: (1080, 1632) 1371701857 -5.438672375647775 treat image : temp/1752266547_562349_1371701737_7bf859a1d43d705322c1af3b6fd01165.jpg resize: (1080, 1632) 1371701737 -5.4270417901987225 treat image : temp/1752266547_562349_1371701639_e905af8b08b6359d7d0983e3b4390b18.jpg resize: (1080, 1632) 1371701639 -5.430802975021257 treat image : temp/1752266547_562349_1371701541_4f2a513f88b2214f44f8066e49079f86.jpg resize: (1080, 1632) 1371701541 -5.4388270877534115 treat image : temp/1752266547_562349_1371701493_0a0ec8a7c9cd93afe117a8b416e1fbee.jpg resize: (1080, 1632) 1371701493 -4.899261608981022 treat image : temp/1752266547_562349_1371701491_5a4a00c25f6d3b2b16ebd9500aee86ba.jpg resize: (1080, 1632) 1371701491 -3.8964657410350854 treat image : temp/1752266547_562349_1371701488_bd38854c8b18dc74a8d4bb2236331435.jpg resize: (1080, 1632) 1371701488 -1.9607202943462851 treat image : temp/1752266547_562349_1371701483_a6166d7319006469200990b543d143ed.jpg resize: (1080, 1632) 1371701483 -3.088139909720539 treat image : temp/1752266547_562349_1371701481_65fffc6888918b682824a32a53594ac7.jpg resize: (1080, 1632) 1371701481 -3.110411821372449 treat image : temp/1752266547_562349_1371701478_7f67e40a5b12644a18304c9dca8fab63.jpg resize: (1080, 1632) 1371701478 -2.5976172923525813 treat image : temp/1752266547_562349_1371697589_0901113d136df0ae71ae053aaf2acefa.jpg resize: (1080, 1632) 1371697589 -3.903203102961756 treat image : temp/1752266547_562349_1371697563_ad689ed13d19fcbaf3e91fa51e40ae6c.jpg resize: (1080, 1632) 1371697563 -3.9454200335646505 treat image : temp/1752266547_562349_1371697536_46a102cf520a98cfb6e0f509a0a49bfe.jpg resize: (1080, 1632) 1371697536 -4.887197462225222 treat image : temp/1752266547_562349_1371697508_075262e08f740bb8839cebdd84c07c87.jpg resize: (1080, 1632) 1371697508 -4.179114230096644 treat image : temp/1752266547_562349_1371697481_355669368b2c470832b1d35747be41fa.jpg resize: (1080, 1632) 1371697481 -5.541167561583748 treat image : temp/1752266547_562349_1371697448_ae801856237557477c75a5c545fe3ba2.jpg resize: (1080, 1632) 1371697448 -4.761169885046962 treat image : temp/1752266547_562349_1371574112_5269a98cae583f025dba1800aaf5f2a8.jpg resize: (1080, 1632) 1371574112 -5.022976745822854 treat image : temp/1752266547_562349_1371574108_1fb7aef4faad441225755e29bcc9a851.jpg resize: (1080, 1632) 1371574108 -5.0790796749952705 treat image : temp/1752266547_562349_1371574094_b5fe9181dd16f9ddee2cc7af8d5ce99e.jpg resize: (1080, 1632) 1371574094 -5.143310320904039 treat image : temp/1752266547_562349_1371574068_57dbb6b5690ee3f02a62a2caf36c8daf.jpg resize: (1080, 1632) 1371574068 -5.04855141495267 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.016402482986450195 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.013555526733398438 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.019627094268798828 save missing photos in datou_result : time spend for datou_step_exec : 16.13451361656189 time spend to save output : 0.05395364761352539 total time spend for step 1 : 16.188467264175415 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.17user 4.52system 0:20.98elapsed 89%CPU (0avgtext+0avgdata 139028maxresident)k 1296inputs+9040outputs (19major+264158minor)pagefaults 0swaps