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 : 911075 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/911075/ 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.4047975540161133 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 03:52: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/1752889948_911075_1372313935_9437d23cf2de389bff84e4e69e2af2c6.jpg resize: (1080, 1632) 1372313935 -4.871460668896218 treat image : temp/1752889948_911075_1372313932_27ce0706a53c9d3f35f73e23629be1f4.jpg resize: (1080, 1632) 1372313932 -4.881587978522487 treat image : temp/1752889948_911075_1372313928_3fda07127d786fe4f219502084e02d88.jpg resize: (1080, 1632) 1372313928 -4.832476597987135 treat image : temp/1752889948_911075_1372313906_be23cd1b1051595af056d0232f8f892b.jpg resize: (1080, 1632) 1372313906 -4.857340892462043 treat image : temp/1752889948_911075_1372313900_449126ea82ea0c4cbc8011cbc3ca1145.jpg resize: (1080, 1632) 1372313900 -4.854532607280939 treat image : temp/1752889948_911075_1372313893_5b1331773c97d11781017fbf24374bae.jpg resize: (1080, 1632) 1372313893 -4.859382128224879 treat image : temp/1752889948_911075_1372313888_dac5559ef46b81719b77ada7efc060d6.jpg resize: (1080, 1632) 1372313888 -4.862278626650865 treat image : temp/1752889948_911075_1372313885_fe6d149b5278ac5286c837fcc271c1ad.jpg resize: (1080, 1632) 1372313885 -4.858615604336184 treat image : temp/1752889948_911075_1372313882_e0cadd43670a6c95763a4efa3a12ca40.jpg resize: (1080, 1632) 1372313882 -4.867909775417398 treat image : temp/1752889948_911075_1372313864_9571de74db20a9711ea6eebe56fea505.jpg resize: (1080, 1632) 1372313864 -4.827179545415418 treat image : temp/1752889948_911075_1372313860_bcfdab90150fea3b81a0b2d8637c2465.jpg resize: (1080, 1632) 1372313860 -4.838479211721084 treat image : temp/1752889948_911075_1372313853_edd3ebaab1cc6b790a4565cb87812afe.jpg resize: (1080, 1632) 1372313853 -4.836967209813299 treat image : temp/1752889948_911075_1372313850_3157bf51a680a47c03058e33f70562d0.jpg resize: (1080, 1632) 1372313850 -4.8396179956458445 treat image : temp/1752889948_911075_1372313847_4cfe2830e87fc68145856df7135eeb95.jpg resize: (1080, 1632) 1372313847 -4.856092449810481 treat image : temp/1752889948_911075_1372313843_40a1dee35554fb4f44578cf872e5f65c.jpg resize: (1080, 1632) 1372313843 -4.848395672515602 treat image : temp/1752889948_911075_1372313825_5fe84953a4465e8aa1062d0e9c72626a.jpg resize: (1080, 1632) 1372313825 -4.872596563817249 treat image : temp/1752889948_911075_1372313822_235496987e7ab3b70dd42cb98703c6f0.jpg resize: (1080, 1632) 1372313822 -4.884211175560078 treat image : temp/1752889948_911075_1372313818_2eab4bdab71027f5f226012a59e4130d.jpg resize: (1080, 1632) 1372313818 -4.875416602892699 treat image : temp/1752889948_911075_1372313814_7c9c909706f0f3e81be1a2a438f79452.jpg resize: (1080, 1632) 1372313814 -4.864628380083446 treat image : temp/1752889948_911075_1372313810_f0e8c8fdf7e639c9339cf68b58d64e23.jpg resize: (1080, 1632) 1372313810 -4.863696715704454 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.012496471405029297 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.012826681137084961 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014986515045166016 save missing photos in datou_result : time spend for datou_step_exec : 18.28657841682434 time spend to save output : 0.04556441307067871 total time spend for step 1 : 18.33214282989502 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.55user 6.59system 0:24.44elapsed 86%CPU (0avgtext+0avgdata 137908maxresident)k 2824inputs+9736outputs (21major+254461minor)pagefaults 0swaps