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 : 2819771 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 : 6936>100 please execute split_portfolio.py -i 24493811 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3224247'] with mtr_portfolio_ids : ['24493811'] and first list_photo_ids : [] new path : /proc/2819771/ 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.359494209289551 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 02:12: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/1751674348_2819771_1370724823_463b59548b78565114ff94a7a6384d51.jpg resize: (1080, 1632) 1370724823 -4.651401964640984 treat image : temp/1751674348_2819771_1370724822_20247133dfc28f1c40b6f38448112c3c.jpg resize: (1080, 1632) 1370724822 -4.644178354080493 treat image : temp/1751674348_2819771_1370724821_f4622e9092e050de46eeb152eaa5fe35.jpg resize: (1080, 1632) 1370724821 -4.611212273645592 treat image : temp/1751674348_2819771_1370724819_d804e047cf85b03d991d417e6b5cce6f.jpg resize: (1080, 1632) 1370724819 -4.632462854102865 treat image : temp/1751674348_2819771_1370724817_488e32629f494273bafe67d1d9b1624b.jpg resize: (1080, 1632) 1370724817 -4.654595518471942 treat image : temp/1751674348_2819771_1370724815_51d6e8082208649ad1d3004f85d08e58.jpg resize: (1080, 1632) 1370724815 -4.646596258699456 treat image : temp/1751674348_2819771_1370724730_95b59af112dcc725131f17d068965c83.jpg resize: (1080, 1632) 1370724730 -4.631330460118009 treat image : temp/1751674348_2819771_1370724725_993bc23150e41bb0d80a4f260a8c6b15.jpg resize: (1080, 1632) 1370724725 -4.62026122072613 treat image : temp/1751674348_2819771_1370724700_8f6d280eebd1d972b50714c6de52b0ff.jpg resize: (1080, 1632) 1370724700 -4.622407825339102 treat image : temp/1751674348_2819771_1370724670_dd5e9642f0f865481a2665228d3b5b8a.jpg resize: (1080, 1632) 1370724670 -4.631303945836279 treat image : temp/1751674348_2819771_1370724663_2d5eaeb90c3b3686ab7b520c9c5e1431.jpg resize: (1080, 1632) 1370724663 -4.633102314212957 treat image : temp/1751674348_2819771_1370724648_3200baaf921d42e7bfc1e0d18cd218d3.jpg resize: (1080, 1632) 1370724648 -4.620532989630092 treat image : temp/1751674348_2819771_1370722805_be9bfcb879b93e648db89d84ffae9e95.jpg resize: (1080, 1632) 1370722805 -4.633777096706345 treat image : temp/1751674348_2819771_1370722774_9c78ff4df78c2d9909f3d35b74c84322.jpg resize: (1080, 1632) 1370722774 -4.635402874631371 treat image : temp/1751674348_2819771_1370722739_96bd7269cab4edf9c13baf76206a23ae.jpg resize: (1080, 1632) 1370722739 -4.627127765300583 treat image : temp/1751674348_2819771_1370722726_09550ea23f65f953d78af2149258a582.jpg resize: (1080, 1632) 1370722726 -4.634100069808517 treat image : temp/1751674348_2819771_1370722721_d39a00a342ea45bbd08b474a2a9d2e3e.jpg resize: (1080, 1632) 1370722721 -4.630122941669687 treat image : temp/1751674348_2819771_1370722716_a8e3f38a32342b59bdb5425e288541ae.jpg resize: (1080, 1632) 1370722716 -4.574010037429916 treat image : temp/1751674348_2819771_1370722468_37ac85a11b2008119c0a0dfc9836e63c.jpg resize: (1080, 1632) 1370722468 -4.53687750114211 treat image : temp/1751674348_2819771_1370722415_46587e77388a2ececadeb6fbc6a82159.jpg resize: (1080, 1632) 1370722415 -4.546399184158059 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.016915321350097656 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.013838529586791992 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017838716506958008 save missing photos in datou_result : time spend for datou_step_exec : 16.526490926742554 time spend to save output : 0.0529026985168457 total time spend for step 1 : 16.5793936252594 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.60user 5.03system 0:22.82elapsed 86%CPU (0avgtext+0avgdata 138532maxresident)k 1304inputs+8968outputs (38major+261172minor)pagefaults 0swaps