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 : 1155926 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/1155926/ 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 : 3.2701809406280518 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 Sat Jul 19 05:37: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/1752896249_1155926_1372310260_97fd2bcd1eca9cd699a0f1cc28b8bd66.jpg resize: (1080, 1632) 1372310260 -4.615548568380862 treat image : temp/1752896249_1155926_1372310256_03736bf4c492dcc7f3a74f2b39caf70b.jpg resize: (1080, 1632) 1372310256 -4.751188203114613 treat image : temp/1752896249_1155926_1372310255_918cfadee916b3981e3a787d21932956.jpg resize: (1080, 1632) 1372310255 -4.487675595838532 treat image : temp/1752896249_1155926_1372310253_54d68fa7f094a074e261f86855482870.jpg resize: (1080, 1632) 1372310253 -4.712542587469196 treat image : temp/1752896249_1155926_1372310243_531bd150f6e077656a30e641da0bedc0.jpg resize: (1080, 1632) 1372310243 -4.154028461166332 treat image : temp/1752896249_1155926_1372310222_2c2297c955929305271ac6ffc90a7a91.jpg resize: (1080, 1632) 1372310222 -3.3704572336938834 treat image : temp/1752896249_1155926_1372310220_6ccae5e4c2e4537110fbb856e4cc831d.jpg resize: (1080, 1632) 1372310220 -0.4692944241693774 treat image : temp/1752896249_1155926_1372310216_648d19c7efaa25ae1d887477e47e38be.jpg resize: (1080, 1632) 1372310216 -1.521455587899798 treat image : temp/1752896249_1155926_1372310214_5861378519e331299c406e9e5b2fe0de.jpg resize: (1080, 1632) 1372310214 -2.242010963575786 treat image : temp/1752896249_1155926_1372310211_3b4f68a7a674b7ef2b27bf78f68c43b6.jpg resize: (1080, 1632) 1372310211 -1.689139072361106 treat image : temp/1752896249_1155926_1372310202_6a842c5af80988f1c964b4b4f10b828c.jpg resize: (1080, 1632) 1372310202 -1.2398614092308513 treat image : temp/1752896249_1155926_1372310180_e3a9adbbc2a0d8c29627a52844cc80d7.jpg resize: (1080, 1632) 1372310180 -4.237293529093708 treat image : temp/1752896249_1155926_1372310175_1355991b656a74dd237773b7ac0bc7ba.jpg resize: (1080, 1632) 1372310175 -4.904112815441206 treat image : temp/1752896249_1155926_1372310169_e7ef094dc31a4945e9a0be4855f13b64.jpg resize: (1080, 1632) 1372310169 -3.070040298028908 treat image : temp/1752896249_1155926_1372310166_f70e50551dcb533a1f59c1ddbc66ed6d.jpg resize: (1080, 1632) 1372310166 -4.354972798667723 treat image : temp/1752896249_1155926_1372310163_7201fb0cdb74e64294bb682ac292afd0.jpg resize: (1080, 1632) 1372310163 -4.2894886726095045 treat image : temp/1752896249_1155926_1372310154_ad2bf5c4aa5e3a01a673653de22f8551.jpg resize: (1080, 1632) 1372310154 -4.272054735676489 treat image : temp/1752896249_1155926_1372310115_1a9168f34f3be48871479000d8d1901d.jpg resize: (1080, 1632) 1372310115 -4.884373282273562 treat image : temp/1752896249_1155926_1372310065_1ebf1410b19fd9c91c1dcc9effb5cdcc.jpg resize: (1080, 1632) 1372310065 -4.506597478371582 treat image : temp/1752896249_1155926_1372310031_613c261431722a25c8919e1ce48d2ec1.jpg resize: (1080, 1632) 1372310031 -3.905759227253037 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.015649080276489258 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.3311028480529785 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.02097630500793457 save missing photos in datou_result : time spend for datou_step_exec : 16.12758159637451 time spend to save output : 0.3722085952758789 total time spend for step 1 : 16.49979019165039 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.85user 3.80system 0:23.65elapsed 78%CPU (0avgtext+0avgdata 138552maxresident)k 96inputs+7904outputs (0major+254948minor)pagefaults 0swaps