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 : 3922528 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 : 4242>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/3922528/ 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.126523017883301 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 Wed Jul 9 20:17: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/1752085049_3922528_1371430145_67bca4e84207a7a1456913d5598cdbbd.jpg resize: (1080, 1632) 1371430145 -5.410935153504142 treat image : temp/1752085049_3922528_1371430144_6f450ac2ea6df77549f011c0543cafaa.jpg resize: (1080, 1632) 1371430144 -5.410395846451543 treat image : temp/1752085049_3922528_1371430143_4b1fc1b07611b661c8bb43bca0796927.jpg resize: (1080, 1632) 1371430143 -5.416459180283664 treat image : temp/1752085049_3922528_1371430142_9bbe8128dbe4bbb1734287e4ba807560.jpg resize: (1080, 1632) 1371430142 -5.426520440433256 treat image : temp/1752085049_3922528_1371430141_c422e368ee4e68ece22d2e4114513032.jpg resize: (1080, 1632) 1371430141 -5.4232434415949395 treat image : temp/1752085049_3922528_1371430140_729549f8c58f02fb4824ecd615aebb47.jpg resize: (1080, 1632) 1371430140 -5.4306885873317805 treat image : temp/1752085049_3922528_1371430138_8236f025b27fcaf07e0dd2f57584fc13.jpg resize: (1080, 1632) 1371430138 -5.2584780558000475 treat image : temp/1752085049_3922528_1371430136_2a6d895916a3221f86b21c579f566b41.jpg resize: (1080, 1632) 1371430136 -5.242707876443978 treat image : temp/1752085049_3922528_1371430134_33251da1572e80442e8bfad6d1da4c53.jpg resize: (1080, 1632) 1371430134 -5.519529962984666 treat image : temp/1752085049_3922528_1371430132_1dad9555de9b895bebf67cea75d33ccd.jpg resize: (1080, 1632) 1371430132 -5.6370617902449025 treat image : temp/1752085049_3922528_1371430131_cc22026c25c3b1798f3092564ead199c.jpg resize: (1080, 1632) 1371430131 -5.644115644688886 treat image : temp/1752085049_3922528_1371430128_8301533481eef6053f470098c4b0e0bb.jpg resize: (1080, 1632) 1371430128 -5.607219430799817 treat image : temp/1752085049_3922528_1371430126_4a204a4aafebee8e31d58916a5e9d5cf.jpg resize: (1080, 1632) 1371430126 -5.436057922733989 treat image : temp/1752085049_3922528_1371430125_2c7ca2a992d0d33d9ab72356abac3da7.jpg resize: (1080, 1632) 1371430125 -5.427265792508095 treat image : temp/1752085049_3922528_1371430124_1195d05e7a0bd899fdd53ab322bb9877.jpg resize: (1080, 1632) 1371430124 -5.432816180825898 treat image : temp/1752085049_3922528_1371430123_7d9708b8645ecd40373661ecbc74a8fa.jpg resize: (1080, 1632) 1371430123 -5.430332697738455 treat image : temp/1752085049_3922528_1371430122_8e7b157d299b995f04be1fda78888c4d.jpg resize: (1080, 1632) 1371430122 -5.433550192839979 treat image : temp/1752085049_3922528_1371430121_aa0245e53815877c166f6007e1dfc01e.jpg resize: (1080, 1632) 1371430121 -5.435212262309031 treat image : temp/1752085049_3922528_1371430117_091ada9547d1d88089af3bc946db07c1.jpg resize: (1080, 1632) 1371430117 -2.398699854864832 treat image : temp/1752085049_3922528_1371430115_e4a03cacfcf265a97c1fc290e798633e.jpg resize: (1080, 1632) 1371430115 -2.250159521477252 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.014065027236938477 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.013638496398925781 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014889001846313477 save missing photos in datou_result : time spend for datou_step_exec : 15.794962406158447 time spend to save output : 0.04810976982116699 total time spend for step 1 : 15.843072175979614 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.29user 3.99system 0:21.97elapsed 83%CPU (0avgtext+0avgdata 139512maxresident)k 1912inputs+10024outputs (9major+256092minor)pagefaults 0swaps