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 : 3709499 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 : 5110>100 please execute split_portfolio.py -i 24536011 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3231073'] with mtr_portfolio_ids : ['24536011'] and first list_photo_ids : [] new path : /proc/3709499/ 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.1490674018859863 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 5 10:07:28 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/1751702846_3709499_1370775357_068824df7fec1a70886c39a11ccc18cc.jpg resize: (1080, 1632) 1370775357 -5.875158418498548 treat image : temp/1751702846_3709499_1370775354_c220bce8de427d237bbc5ba20160ea2b.jpg resize: (1080, 1632) 1370775354 -5.295851530104934 treat image : temp/1751702846_3709499_1370775348_19385925e09b7392c67001e51ae8da90.jpg resize: (1080, 1632) 1370775348 -4.132643066798021 treat image : temp/1751702846_3709499_1370775346_6c6307cb52ec5a358c8e8959c4cce652.jpg resize: (1080, 1632) 1370775346 -5.627332749527816 treat image : temp/1751702846_3709499_1370775344_cf6c62816833fcf326bea7f45be4b0ab.jpg resize: (1080, 1632) 1370775344 -5.832213767557901 treat image : temp/1751702846_3709499_1370775342_b4f95f78ed3582590ec145d65b2f1af0.jpg resize: (1080, 1632) 1370775342 -5.500181047860031 treat image : temp/1751702846_3709499_1370775318_d1245edf93dec2b5392c39b707f40923.jpg resize: (1080, 1632) 1370775318 -4.9664882937223735 treat image : temp/1751702846_3709499_1370775312_0c0302d9be07d5b28bdc2fc200599808.jpg resize: (1080, 1632) 1370775312 -4.095645479299944 treat image : temp/1751702846_3709499_1370775292_d0d877e752523d514942c4ffe274ea73.jpg resize: (1080, 1632) 1370775292 -1.430498253219437 treat image : temp/1751702846_3709499_1370775285_5c4d2c8ebcd50bf4091dcea9c088c550.jpg resize: (1080, 1632) 1370775285 -2.7486923051734427 treat image : temp/1751702846_3709499_1370775266_c26cd88a7843aca420b0ff53b56895ad.jpg resize: (1080, 1632) 1370775266 -1.7918031464608313 treat image : temp/1751702846_3709499_1370775264_0781a80366d5a0b8fe86fba9d1d659a1.jpg resize: (1080, 1632) 1370775264 -2.6357550577096944 treat image : temp/1751702846_3709499_1370775162_805bfe19afe7832283a63bd0e2fb77e6.jpg resize: (1080, 1632) 1370775162 -5.102406205333901 treat image : temp/1751702846_3709499_1370775132_cb7994b410a8cf5ca5693f9541eb6d72.jpg resize: (1080, 1632) 1370775132 -5.054754786620837 treat image : temp/1751702846_3709499_1370775131_c2f8015604e325a6d2a316051a905c14.jpg resize: (1080, 1632) 1370775131 -5.474893719260463 treat image : temp/1751702846_3709499_1370775119_fc79952fef6bedb6277796c550a4ec98.jpg resize: (1080, 1632) 1370775119 -5.8815058967523495 treat image : temp/1751702846_3709499_1370775057_431dcf4238b5fb085943f83c70198fda.jpg resize: (1080, 1632) 1370775057 -6.171222803931434 treat image : temp/1751702846_3709499_1370775014_9aa84da8858640df25533818a24e459b.jpg resize: (1080, 1632) 1370775014 -6.178668750478682 treat image : temp/1751702846_3709499_1370774959_7a3053036760bf3289c4e82b5c5d99d1.jpg resize: (1080, 1632) 1370774959 -4.233838618136103 treat image : temp/1751702846_3709499_1370774927_7f6f61cd440e94d7897c94a6feade526.jpg resize: (1080, 1632) 1370774927 -4.901481884856776 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.013799667358398438 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.01523900032043457 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015601158142089844 save missing photos in datou_result : time spend for datou_step_exec : 16.699769496917725 time spend to save output : 0.0491178035736084 total time spend for step 1 : 16.748887300491333 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.68user 4.15system 0:21.22elapsed 88%CPU (0avgtext+0avgdata 137668maxresident)k 0inputs+9728outputs (9major+259095minor)pagefaults 0swaps