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 : 3774440 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 : 1614>100 please execute split_portfolio.py -i 26046294 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3551387'] with mtr_portfolio_ids : ['26046294'] and first list_photo_ids : [] new path : /proc/3774440/ 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.1773674488067627 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 Mon Aug 18 14:32:32 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/1755520350_3774440_1377703612_cbb985e1409400d350bbfb4f885653fb.jpg resize: (1080, 1632) 1377703612 -5.568421414313938 treat image : temp/1755520350_3774440_1377703608_2571989b6de08b9ad5fe6255e3d77fea.jpg resize: (1080, 1632) 1377703608 -5.326467959167066 treat image : temp/1755520350_3774440_1377703607_18e99d54a71634a09e367292a35789c6.jpg resize: (1080, 1632) 1377703607 -4.150485658021334 treat image : temp/1755520350_3774440_1377703606_5785b041d4c9fee35a35555bca804328.jpg resize: (1080, 1632) 1377703606 -5.181786222564776 treat image : temp/1755520350_3774440_1377703605_b9ec8dbb46dfb7deb286d5ebb2226b88.jpg resize: (1080, 1632) 1377703605 -4.741139439160076 treat image : temp/1755520350_3774440_1377703604_005cacc04e26d2e6949d578f3bbd7c0c.jpg resize: (1080, 1632) 1377703604 -4.753000201932981 treat image : temp/1755520350_3774440_1377703598_00cae00ef32cd981b52b8b77cafbd2bc.jpg resize: (1080, 1632) 1377703598 -4.881379027411515 treat image : temp/1755520350_3774440_1377703595_f66d9c24aca45d746a6ab9dae81d1219.jpg resize: (1080, 1632) 1377703595 0.4789443898110502 treat image : temp/1755520350_3774440_1377703592_2fa5a1461c743a54376c810563ed9e9e.jpg resize: (1080, 1632) 1377703592 -2.7426115472726558 treat image : temp/1755520350_3774440_1377703588_f52482628460bd6682bde04652def9e6.jpg resize: (1080, 1632) 1377703588 -2.6255227712701896 treat image : temp/1755520350_3774440_1377703585_d2937d2b3750deeb668187f9f277ffe9.jpg resize: (1080, 1632) 1377703585 -4.119771961551866 treat image : temp/1755520350_3774440_1377703583_a0387b05919e98352b9aa273881befec.jpg resize: (1080, 1632) 1377703583 -5.21799034193466 treat image : temp/1755520350_3774440_1377703577_63e7b0bc4aab5306e81ec93d26bec219.jpg resize: (1080, 1632) 1377703577 -4.4330635793151405 treat image : temp/1755520350_3774440_1377703575_1d775b4087dccce7869f87710924cafd.jpg resize: (1080, 1632) 1377703575 -4.56816483562521 treat image : temp/1755520350_3774440_1377703572_6d58e8733d15749e1b62a2d6a7208f44.jpg resize: (1080, 1632) 1377703572 -4.472129780705968 treat image : temp/1755520350_3774440_1377703569_162b60131c5bf02539badc6fab4037b5.jpg resize: (1080, 1632) 1377703569 -5.6928966193530615 treat image : temp/1755520350_3774440_1377703566_78f0a9b5d0c6fe7d9543afa61ba83cf1.jpg resize: (1080, 1632) 1377703566 -4.110274569106281 treat image : temp/1755520350_3774440_1377703563_e4db9e35c25ff6a18ff9579716e3fc36.jpg resize: (1080, 1632) 1377703563 -5.299701167074512 treat image : temp/1755520350_3774440_1377703556_46dee24253f7fef1c9f0dfa99d154bc4.jpg resize: (1080, 1632) 1377703556 -3.849158271910075 treat image : temp/1755520350_3774440_1377703552_b4be0bf7d74740e3c78701cdbd98dcf6.jpg resize: (1080, 1632) 1377703552 -5.820539646759147 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.013063669204711914 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.01192617416381836 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015052080154418945 save missing photos in datou_result : time spend for datou_step_exec : 15.56610655784607 time spend to save output : 0.045278310775756836 total time spend for step 1 : 15.611384868621826 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.29user 3.82system 0:21.87elapsed 82%CPU (0avgtext+0avgdata 140716maxresident)k 1192inputs+8808outputs (5major+261018minor)pagefaults 0swaps