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 : 2152230 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 : 1635>100 please execute split_portfolio.py -i 25197410 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3322248'] with mtr_portfolio_ids : ['25197410'] and first list_photo_ids : [] new path : /proc/2152230/ 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.0699424743652344 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 Wed Jul 23 06:17:29 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/1753244247_2152230_1373275131_76c4e87d8c2118f02707c53d42588d3e.jpg resize: (1080, 1632) 1373275131 -2.5273977710593107 treat image : temp/1753244247_2152230_1373275127_0fdbdb00adb26c7e22ebb1df190101f4.jpg resize: (1080, 1632) 1373275127 -2.5698994592507804 treat image : temp/1753244247_2152230_1373275123_af8cc35fa8e3f0cbb6d8d9c3ad13baef.jpg resize: (1080, 1632) 1373275123 -2.5899250190903196 treat image : temp/1753244247_2152230_1373275119_51bae724852877f62e527a7777e8691c.jpg resize: (1080, 1632) 1373275119 -2.4794777819080256 treat image : temp/1753244247_2152230_1373275117_0612d9a870449e75e0db277ed5d281b9.jpg resize: (1080, 1632) 1373275117 -2.5205019157663737 treat image : temp/1753244247_2152230_1373275113_d4dfd43614dc1c5eaba6668158583982.jpg resize: (1080, 1632) 1373275113 -2.558555227718867 treat image : temp/1753244247_2152230_1373275094_1c19f53af30ac15a0eba811b6e82660a.jpg resize: (1080, 1632) 1373275094 -5.61851723745837 treat image : temp/1753244247_2152230_1373275091_518f26533c0daa6c458ac7db083cb63f.jpg resize: (1080, 1632) 1373275091 -6.247590726433705 treat image : temp/1753244247_2152230_1373275088_aa6e5696d1c530b4a86e121581fc556d.jpg resize: (1080, 1632) 1373275088 -1.0011032636364607 treat image : temp/1753244247_2152230_1373275086_f29d1b76da88256bc3ee2a5f2c2733df.jpg resize: (1080, 1632) 1373275086 -2.5617789749523627 treat image : temp/1753244247_2152230_1373275084_267a3844dd33337b5937381380c6ccfe.jpg resize: (1080, 1632) 1373275084 -2.521526307492044 treat image : temp/1753244247_2152230_1373275083_736ed6b14e25201db00a0840b13c00e1.jpg resize: (1080, 1632) 1373275083 -2.5542788297809897 treat image : temp/1753244247_2152230_1373275057_b2d35158d3973f10d19a56edbe9e6d88.jpg resize: (1080, 1632) 1373275057 -5.495547835092618 treat image : temp/1753244247_2152230_1373275056_32c66c4146425781336a1c8ec583bc7f.jpg resize: (1080, 1632) 1373275056 -5.981003799313316 treat image : temp/1753244247_2152230_1373275055_dbaf8d9f5cbd2b70bd84d393d971c69b.jpg resize: (1080, 1632) 1373275055 -5.984670897104505 treat image : temp/1753244247_2152230_1373275053_b82c6ad8cca48f2f64b852410e87e3a4.jpg resize: (1080, 1632) 1373275053 -5.90638978526544 treat image : temp/1753244247_2152230_1373275049_a238b7986c23df1fd26887481db20b6a.jpg resize: (1080, 1632) 1373275049 -5.6475005387796955 treat image : temp/1753244247_2152230_1373275045_52ded755427ede2609fc0c1595f75bff.jpg resize: (1080, 1632) 1373275045 -5.641651564073307 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.015589714050292969 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.07588434219360352 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.030889034271240234 save missing photos in datou_result : time spend for datou_step_exec : 13.113535165786743 time spend to save output : 0.12701773643493652 total time spend for step 1 : 13.24055290222168 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.51user 3.02system 0:17.79elapsed 87%CPU (0avgtext+0avgdata 139344maxresident)k 0inputs+7928outputs (3major+236322minor)pagefaults 0swaps