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 : 1356144 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 updating current state to 1 we have a portfolio with more photos than limit : 2122>100 please execute split_portfolio.py -i 26511073 -l 100 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4871, datou_cur_ids : ['3661506'] with mtr_portfolio_ids : ['26511073'] and first list_photo_ids : [] new path : /proc/1356144/ 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.3140687942504883 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 Sep 4 17: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/1756999950_1356144_1381447311_ce883fb297cb698a38e85c1e4766516f_54212693.jpg resize: (1080, 1632) 1381447311 -3.2069031476364054 treat image : temp/1756999950_1356144_1381447306_f640f37588f0a8e4975f74266f553814_5908242.jpg resize: (1080, 1632) 1381447306 -5.211373939498332 treat image : temp/1756999950_1356144_1381447302_0a748ed606036f9f7296cf71805ba514_8859520.jpg resize: (1080, 1632) 1381447302 -2.5714879024945905 treat image : temp/1756999950_1356144_1381447298_fab50923f7527b04af6d160d14cee3df_1377683.jpg resize: (1080, 1632) 1381447298 -4.351901186945097 treat image : temp/1756999950_1356144_1381447294_5d3732bb840bf187b4c9965cb21c55fd_65596807.jpg resize: (1080, 1632) 1381447294 -0.958076412904501 treat image : temp/1756999950_1356144_1381447292_685e2c89d6545007eb0255cf4d87833f_9418895.jpg resize: (1080, 1632) 1381447292 -1.1134726671681345 treat image : temp/1756999950_1356144_1381447250_acdd170413453f5dbd7fd230a59333e0_65212113.jpg resize: (1080, 1632) 1381447250 -2.2725041779702972 treat image : temp/1756999950_1356144_1381447248_c233866499eab6d5f478e836db0d0dc1_61168580.jpg resize: (1080, 1632) 1381447248 -3.7185874883932555 treat image : temp/1756999950_1356144_1381447246_020ac7131130697acb22f7e9893ec85e_73385630.jpg resize: (1080, 1632) 1381447246 -5.7234689513419506 treat image : temp/1756999950_1356144_1381447243_34b99f0727d704eca8bc8e9f824b2220_66319360.jpg resize: (1080, 1632) 1381447243 -5.707318007539544 treat image : temp/1756999950_1356144_1381447241_3e67baf3731e6e8537617c24ae3c0146_67953736.jpg resize: (1080, 1632) 1381447241 -4.487879495820857 treat image : temp/1756999950_1356144_1381447239_1b9647c401da146f875863040b8e0eb9_26107511.jpg resize: (1080, 1632) 1381447239 -5.762363160742413 treat image : temp/1756999950_1356144_1381447188_dc07ca203729643dcd15810cd54930cb_60061188.jpg resize: (1080, 1632) 1381447188 -5.256302881881908 treat image : temp/1756999950_1356144_1381447185_add5fe7d011e34ecbc3bfc6eb5a4aaa1_82854420.jpg resize: (1080, 1632) 1381447185 -5.784371103818655 treat image : temp/1756999950_1356144_1381447183_6b8cad33fd605deb523c53d64f7a98d1_30403463.jpg resize: (1080, 1632) 1381447183 -5.528956959208626 treat image : temp/1756999950_1356144_1381447180_9c2c0c9f1e439b5028f2eeca5ad84dbf_46702178.jpg resize: (1080, 1632) 1381447180 -5.669679005246227 treat image : temp/1756999950_1356144_1381447178_ef960123a6d2c5ead7f2c377bf7226f4_77508870.jpg resize: (1080, 1632) 1381447178 -4.817965952708367 treat image : temp/1756999950_1356144_1381447176_3dfa752fb5f589e73056a60025e5eb62_27997877.jpg resize: (1080, 1632) 1381447176 -5.684437343244608 treat image : temp/1756999950_1356144_1381447165_fed29af0b120d574353e90dc8fb3cb55_60133597.jpg resize: (1080, 1632) 1381447165 -4.535207072115408 treat image : temp/1756999950_1356144_1381447163_e286bfcd1a7b632a75b1e862e0831b52_26530496.jpg resize: (1080, 1632) 1381447163 -5.026010146027573 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.027881860733032227 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.02607560157775879 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.029324054718017578 save missing photos in datou_result : time spend for datou_step_exec : 15.402209997177124 time spend to save output : 0.09465146064758301 total time spend for step 1 : 15.496861457824707 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.39user 3.84system 0:22.28elapsed 81%CPU (0avgtext+0avgdata 140548maxresident)k 216inputs+9608outputs (6major+255563minor)pagefaults 0swaps