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 : 3379712 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 : 3197>100 please execute split_portfolio.py -i 25861864 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3493671'] with mtr_portfolio_ids : ['25861864'] and first list_photo_ids : [] new path : /proc/3379712/ 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.1760904788970947 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 Mon Aug 11 20:02:30 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/1754935348_3379712_1376486420_20fb94292c15019ef717a091bb1af5bc.jpg resize: (1080, 1632) 1376486420 -2.5107698456863883 treat image : temp/1754935348_3379712_1376486395_42748ba3624f36ffcdf41f1031a206b8.jpg resize: (1080, 1632) 1376486395 -4.864680675420912 treat image : temp/1754935348_3379712_1376486357_761e865d9edab730770fb4e84526d6e9.jpg resize: (1080, 1632) 1376486357 -5.229831078628053 treat image : temp/1754935348_3379712_1376486299_637e4620d8e27e1accd5fcbe8f204810.jpg resize: (1080, 1632) 1376486299 -5.302101621269589 treat image : temp/1754935348_3379712_1376486088_5f71fe10c9a3e009408af7aaf9df5908.jpg resize: (1080, 1632) 1376486088 -5.422692310683096 treat image : temp/1754935348_3379712_1376486013_c221131d479ad8e9cf897b2a75aca683.jpg resize: (1080, 1632) 1376486013 -4.812907125301276 treat image : temp/1754935348_3379712_1376485955_19ded1d08fe4d991d441f2bd4de49373.jpg resize: (1080, 1632) 1376485955 13.561954149921156 treat image : temp/1754935348_3379712_1376485915_2525414c2b04bd2d7c233a2bdd299271.jpg resize: (1080, 1632) 1376485915 -5.156994343259565 treat image : temp/1754935348_3379712_1376485891_f3c1677a05003ba57fcda9f8fda44d54.jpg resize: (1080, 1632) 1376485891 -5.664616688302045 treat image : temp/1754935348_3379712_1376485866_5fdcc7e515b61cd7889664f4d6e8e885.jpg resize: (1080, 1632) 1376485866 -5.766788691231244 treat image : temp/1754935348_3379712_1376485705_6a5aff7ac73d7dbc6431797e20a4a096.jpg resize: (1080, 1632) 1376485705 -5.268111284686827 treat image : temp/1754935348_3379712_1376485676_6f61005aaf215884a6aa1d7f0166c39b.jpg resize: (1080, 1632) 1376485676 -5.358773917825355 treat image : temp/1754935348_3379712_1376485652_4eb903bac00d9e8fef687b52e1c6295f.jpg resize: (1080, 1632) 1376485652 -1.631859947706326 treat image : temp/1754935348_3379712_1376485615_1fae8b2b3e59acf68e42ad02acfcf9e6.jpg resize: (1080, 1632) 1376485615 -1.1105737127209692 treat image : temp/1754935348_3379712_1376485584_a9b92dcf469e83fa47360b695b34d32d.jpg resize: (1080, 1632) 1376485584 -1.7882484417901992 treat image : temp/1754935348_3379712_1376485557_51bac96421dde4911917f2a4a4746d09.jpg resize: (1080, 1632) 1376485557 -5.3901995962495155 treat image : temp/1754935348_3379712_1376485458_7ca4afa825579ec0f418760b6c4b6838.jpg resize: (1080, 1632) 1376485458 -4.095132971009697 treat image : temp/1754935348_3379712_1376485431_2b9b35345419d8e00b01a3ecea408ae6.jpg resize: (1080, 1632) 1376485431 -5.6043836885927405 treat image : temp/1754935348_3379712_1376485403_48f779e8e8d805ebdba42ffc5309e0e6.jpg resize: (1080, 1632) 1376485403 10.221041280832939 treat image : temp/1754935348_3379712_1376485376_a123d64f359919cf387eace9bc56bd27.jpg resize: (1080, 1632) 1376485376 -5.496163458814081 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.015730857849121094 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.01902627944946289 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015845060348510742 save missing photos in datou_result : time spend for datou_step_exec : 14.520975351333618 time spend to save output : 0.05485367774963379 total time spend for step 1 : 14.575829029083252 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.72user 3.18system 0:20.12elapsed 84%CPU (0avgtext+0avgdata 140032maxresident)k 0inputs+8856outputs (4major+253995minor)pagefaults 0swaps