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 : 2849096 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 : 2288>100 please execute split_portfolio.py -i 25050138 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3305006'] with mtr_portfolio_ids : ['25050138'] and first list_photo_ids : [] new path : /proc/2849096/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.1312763690948486 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 18 06:47: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/1752814048_2849096_1372596317_77dca47dcddbaccdf32cfdb5fd9f3f7f.jpg resize: (1080, 1632) 1372596317 -3.074358197086038 treat image : temp/1752814048_2849096_1372596314_eaee45b50f39807742542abba34930d8.jpg resize: (1080, 1632) 1372596314 -4.320461191627943 treat image : temp/1752814048_2849096_1372596312_5f098552eb3d282496d13aed06653adb.jpg resize: (1080, 1632) 1372596312 -5.248916213586785 treat image : temp/1752814048_2849096_1372596308_86f8ffac195ebdf9b2889f6557a76453.jpg resize: (1080, 1632) 1372596308 -4.9737860596535075 treat image : temp/1752814048_2849096_1372596304_ea1ebcd04617b18a863eac91b3b0a825.jpg resize: (1080, 1632) 1372596304 -4.260675632456357 treat image : temp/1752814048_2849096_1372596302_bbcb54ee6dbd74342ca7d1294747fb6b.jpg resize: (1080, 1632) 1372596302 -4.485394006831031 treat image : temp/1752814048_2849096_1372596269_d1bb759e5393d9657970bd513d63e998.jpg resize: (1080, 1632) 1372596269 -3.1348848719255398 treat image : temp/1752814048_2849096_1372596267_f49fba0c62832782288550261ba26f43.jpg resize: (1080, 1632) 1372596267 -2.2723781360082205 treat image : temp/1752814048_2849096_1372596264_13fefc31ed293e3836f6d82e8275db77.jpg resize: (1080, 1632) 1372596264 -2.2625175343491493 treat image : temp/1752814048_2849096_1372596258_8fabf0f964c3e4f981f27d956843616e.jpg resize: (1080, 1632) 1372596258 -2.2719030588471747 treat image : temp/1752814048_2849096_1372596253_8f7628a526d373c27c9985022c48330d.jpg resize: (1080, 1632) 1372596253 -0.5368099626920074 treat image : temp/1752814048_2849096_1372596247_841e9487e74974542dc3d61edb0b66a9.jpg resize: (1080, 1632) 1372596247 -3.0671027621576883 treat image : temp/1752814048_2849096_1372596211_d61fda02f82ccf0ef8140018b1172445.jpg resize: (1080, 1632) 1372596211 -4.836432148634489 treat image : temp/1752814048_2849096_1372596210_f3e671fde1cd4cdfd4b6f4e2ee96f34e.jpg resize: (1080, 1632) 1372596210 -4.5605530063937145 treat image : temp/1752814048_2849096_1372596209_e0a659dbbbd4520ea8db310c86832a5e.jpg resize: (1080, 1632) 1372596209 -4.943486254101792 treat image : temp/1752814048_2849096_1372596206_ea1f7e4b94daf8b1d986fe5611047fad.jpg resize: (1080, 1632) 1372596206 -1.9689043329043128 treat image : temp/1752814048_2849096_1372596204_e71cd5ef01409633dfbb8742e7e82d41.jpg resize: (1080, 1632) 1372596204 -3.0542948946484607 treat image : temp/1752814048_2849096_1372596201_4f0e48326dfff25183c19b94685eea5e.jpg resize: (1080, 1632) 1372596201 -3.070502003812465 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 : 18 time used for this insertion : 0.012464284896850586 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.01321101188659668 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.018744707107543945 save missing photos in datou_result : time spend for datou_step_exec : 16.782944202423096 time spend to save output : 0.04885530471801758 total time spend for step 1 : 16.831799507141113 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 12.98user 6.45system 0:21.20elapsed 91%CPU (0avgtext+0avgdata 138660maxresident)k 64inputs+6944outputs (2major+241196minor)pagefaults 0swaps