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 : 3597378 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 : 4324>100 please execute split_portfolio.py -i 24536011 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3231073'] with mtr_portfolio_ids : ['24536011'] and first list_photo_ids : [] new path : /proc/3597378/ 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.916076183319092 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 Thu Jul 3 17:37: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/1751557047_3597378_1370455266_53ab956c977e087dbe3149b963b9e16c.jpg resize: (1080, 1632) 1370455266 -6.0143879449892514 treat image : temp/1751557047_3597378_1370455265_1c8b62062bcae170efd7e81203860181.jpg resize: (1080, 1632) 1370455265 -3.4524155052277963 treat image : temp/1751557047_3597378_1370455263_75c7443c2d5468f2f79aca877f76c714.jpg resize: (1080, 1632) 1370455263 -4.377799718332091 treat image : temp/1751557047_3597378_1370455260_125e3c723d8747d8ead544af3b34f61a.jpg resize: (1080, 1632) 1370455260 -3.5194021484420706 treat image : temp/1751557047_3597378_1370455249_7b05c88fc5c91eee37d5252edfc04023.jpg resize: (1080, 1632) 1370455249 -2.2350936035286764 treat image : temp/1751557047_3597378_1370455245_0972b51a055ee3d3806e490f32b73597.jpg resize: (1080, 1632) 1370455245 -2.3970900624911997 treat image : temp/1751557047_3597378_1370455241_30d89741b0fc248f9aea594c3c4fd0e6.jpg resize: (1080, 1632) 1370455241 -2.662733162353605 treat image : temp/1751557047_3597378_1370455238_233a8396c41ce81062a6f4da8b5bdc77.jpg resize: (1080, 1632) 1370455238 -4.982659947124689 treat image : temp/1751557047_3597378_1370455236_5f9dd8615b2623a5f7e276ba45821f52.jpg resize: (1080, 1632) 1370455236 -4.99028460425249 treat image : temp/1751557047_3597378_1370455233_56c03c6b72bb19ae302221c9d5207ca7.jpg resize: (1080, 1632) 1370455233 -5.407651964938823 treat image : temp/1751557047_3597378_1370455222_4277d6028f6ac347996580ec689fabf9.jpg resize: (1080, 1632) 1370455222 -5.151495967754758 treat image : temp/1751557047_3597378_1370455219_7d9ef6f962a97f9cac2c82469a2d50ac.jpg resize: (1080, 1632) 1370455219 -4.275228441944953 treat image : temp/1751557047_3597378_1370455210_d7090ba4d41fd25b8d9bc56b459465a5.jpg resize: (1080, 1632) 1370455210 -4.645333489065038 treat image : temp/1751557047_3597378_1370455208_901bb9ef9c71cf3502fca9975e465618.jpg resize: (1080, 1632) 1370455208 -2.8997514626631866 treat image : temp/1751557047_3597378_1370455205_bd7f05f241fc7ae3e8fe21d6a6930f3e.jpg resize: (1080, 1632) 1370455205 -1.2963103481859288 treat image : temp/1751557047_3597378_1370455203_4822dfb05801a373d323159d69fd528e.jpg resize: (1080, 1632) 1370455203 -2.393979545633994 treat image : temp/1751557047_3597378_1370455192_3c8abb42055b378b57c493f0c1b73b83.jpg resize: (1080, 1632) 1370455192 -3.65448603062229 treat image : temp/1751557047_3597378_1370455187_aea82cbb4595a7005a9349400e4beb69.jpg resize: (1080, 1632) 1370455187 -3.6175725273654953 treat image : temp/1751557047_3597378_1370455182_0055afd3f1468c9ce01b442c91270d19.jpg resize: (1080, 1632) 1370455182 -5.167673299763877 treat image : temp/1751557047_3597378_1370455172_45dc8be86bd371e725bdb4b6a5f5adf7.jpg resize: (1080, 1632) 1370455172 -5.143369746292557 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.013324499130249023 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.011903047561645508 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014896869659423828 save missing photos in datou_result : time spend for datou_step_exec : 15.13518500328064 time spend to save output : 0.045606136322021484 total time spend for step 1 : 15.180791139602661 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.18user 3.60system 0:21.48elapsed 82%CPU (0avgtext+0avgdata 138268maxresident)k 2568inputs+8672outputs (12major+256227minor)pagefaults 0swaps