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 : 1692284 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 : 10703>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/1692284/ 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.3558290004730225 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 12 06:22:31 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/1752294149_1692284_1371800221_525ff66e851f50befbb93c7860d9b3de.jpg resize: (1080, 1632) 1371800221 -5.326368637369857 treat image : temp/1752294149_1692284_1371800218_faeafb89d133841d76ed92bf3e5c0e91.jpg resize: (1080, 1632) 1371800218 -5.321027389514023 treat image : temp/1752294149_1692284_1371800213_79578a602ccdd8f397c0aadbe52aa555.jpg resize: (1080, 1632) 1371800213 -5.345901922803689 treat image : temp/1752294149_1692284_1371800209_ee2fbc4af6735caf4644196764a530c7.jpg resize: (1080, 1632) 1371800209 -5.341422475653726 treat image : temp/1752294149_1692284_1371800204_c76394f949a20c92c3521c8e2c1718e0.jpg resize: (1080, 1632) 1371800204 -5.348061072268822 treat image : temp/1752294149_1692284_1371800198_ca8f8654b7b674e533808cd98d20b7d0.jpg resize: (1080, 1632) 1371800198 -5.350874956569459 treat image : temp/1752294149_1692284_1371800191_d0d5c7150959b8148d56a7c766b7d1c8.jpg resize: (1080, 1632) 1371800191 -5.355670530038304 treat image : temp/1752294149_1692284_1371800189_a13dd344ad1297f38b87daa87ef38368.jpg resize: (1080, 1632) 1371800189 -5.357993299316788 treat image : temp/1752294149_1692284_1371800187_53fce672c6da3c13095eff48f811cc52.jpg resize: (1080, 1632) 1371800187 -5.364347831957205 treat image : temp/1752294149_1692284_1371800183_1454017de5783711835698919c3868e8.jpg resize: (1080, 1632) 1371800183 -5.360204307434874 treat image : temp/1752294149_1692284_1371800180_8bbe9ea9736d059bc6235bc9945f284c.jpg resize: (1080, 1632) 1371800180 -5.370983236062256 treat image : temp/1752294149_1692284_1371800175_2c4a9b42ca76403c16c0835d3aef9683.jpg resize: (1080, 1632) 1371800175 -5.359948921075791 treat image : temp/1752294149_1692284_1371800069_fb6f62369c0f12366af6837d0efdf67e.jpg resize: (1080, 1632) 1371800069 -5.394563162754456 treat image : temp/1752294149_1692284_1371800066_82629216f39021adc1d54e369216beac.jpg resize: (1080, 1632) 1371800066 -5.3886295623041285 treat image : temp/1752294149_1692284_1371800063_13f45ba8042409df636cdbf01d458c3c.jpg resize: (1080, 1632) 1371800063 -5.4003468497031735 treat image : temp/1752294149_1692284_1371800062_e0726f35e72153fdbae85cbb2d2c6821.jpg resize: (1080, 1632) 1371800062 -5.393770090789517 treat image : temp/1752294149_1692284_1371796837_102713008b11d3c1374e1950797e5267.jpg resize: (1080, 1632) 1371796837 -5.536184049092738 treat image : temp/1752294149_1692284_1371796836_3116851f0db49fca15babbafcdec42a2.jpg resize: (1080, 1632) 1371796836 -5.531294892461474 treat image : temp/1752294149_1692284_1371796834_06ebe0767d8f406e1979f059fcf86cb5.jpg resize: (1080, 1632) 1371796834 -5.541978685848464 treat image : temp/1752294149_1692284_1371796832_20b64df9d72a981cf8e65ac005814f57.jpg resize: (1080, 1632) 1371796832 -5.538368628572105 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.014837265014648438 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.13080739974975586 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.06206941604614258 save missing photos in datou_result : time spend for datou_step_exec : 16.836317777633667 time spend to save output : 0.21238350868225098 total time spend for step 1 : 17.048701286315918 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.73user 4.88system 0:22.98elapsed 85%CPU (0avgtext+0avgdata 138772maxresident)k 0inputs+10360outputs (3major+260211minor)pagefaults 0swaps