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 : 1105716 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 : 1744>100 please execute split_portfolio.py -i 24580131 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3234427'] with mtr_portfolio_ids : ['24580131'] and first list_photo_ids : [] new path : /proc/1105716/ 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.1061182022094727 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 Fri Jul 4 12:02: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/1751623349_1105716_1370555312_76ba448dbae8f3a920c1287aabe94366.jpg resize: (1080, 1632) 1370555312 -4.054737858178866 treat image : temp/1751623349_1105716_1370555245_1526edf1e24839442a17e95bcf572803.jpg resize: (1080, 1632) 1370555245 -5.63353041232142 treat image : temp/1751623349_1105716_1370555185_aecde3a0d43fa8e3729a729c4fe06fa3.jpg resize: (1080, 1632) 1370555185 -1.6544853139720397 treat image : temp/1751623349_1105716_1370555140_5c106ba68159e8f9b6d9497b7e5a3deb.jpg resize: (1080, 1632) 1370555140 -1.8113976202770083 treat image : temp/1751623349_1105716_1370555127_c786cbbb93b221ca36bd764f0bdd3868.jpg resize: (1080, 1632) 1370555127 -2.551038275434568 treat image : temp/1751623349_1105716_1370555111_ecc00d5946c38a3a6c6774fe7af48af2.jpg resize: (1080, 1632) 1370555111 -2.5205788431022484 treat image : temp/1751623349_1105716_1370555009_b8c27fa383d58f6d5476bf4cae240b85.jpg resize: (1080, 1632) 1370555009 -4.68901583887882 treat image : temp/1751623349_1105716_1370554944_edcf70c3b16b8693d096973c2e154540.jpg resize: (1080, 1632) 1370554944 -4.670387784362583 treat image : temp/1751623349_1105716_1370554886_a813eeefb088850f1244e6b957b9ff26.jpg resize: (1080, 1632) 1370554886 -4.6989904322670295 treat image : temp/1751623349_1105716_1370554811_d1ffd5c015503687be52a71881c97a1c.jpg resize: (1080, 1632) 1370554811 -5.236973202243177 treat image : temp/1751623349_1105716_1370554735_2f930f658b403a1fe7f8b22bde10f734.jpg resize: (1080, 1632) 1370554735 -4.0167297969123315 treat image : temp/1751623349_1105716_1370554650_489c1dd01097864a6cf9361dbfb55ce3.jpg resize: (1080, 1632) 1370554650 -1.8222828108744116 treat image : temp/1751623349_1105716_1370554383_5f1cd90d33c07283fd820b79a4cfbf1f.jpg resize: (1080, 1632) 1370554383 -6.083963843898336 treat image : temp/1751623349_1105716_1370554309_09a4d3b922a99fcd8edeac95d858dc25.jpg resize: (1080, 1632) 1370554309 -5.48083848608882 treat image : temp/1751623349_1105716_1370554236_fe35c09f318fd48b00776efbebf75fbe.jpg resize: (1080, 1632) 1370554236 -5.481868807311969 treat image : temp/1751623349_1105716_1370554175_d14a276206366ec448bf32f2a2434736.jpg resize: (1080, 1632) 1370554175 -4.504912505973111 treat image : temp/1751623349_1105716_1370554090_23408878d29ee1eb6ca363b59ef1d1fd.jpg resize: (1080, 1632) 1370554090 -4.5367049589453465 treat image : temp/1751623349_1105716_1370554023_b2222e25a3ac4227af9fe5d531179c38.jpg resize: (1080, 1632) 1370554023 -4.53598003718743 treat image : temp/1751623349_1105716_1370553136_8ff5a0935b5a8e776bb0c8e44a315ac9.jpg resize: (1080, 1632) 1370553136 -5.258764118868205 treat image : temp/1751623349_1105716_1370553132_cd931202e7fd59adc51e4baf477c3596.jpg resize: (1080, 1632) 1370553132 -4.9489335493011675 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.028039216995239258 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.02922344207763672 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.03037881851196289 save missing photos in datou_result : time spend for datou_step_exec : 15.27117109298706 time spend to save output : 0.09874486923217773 total time spend for step 1 : 15.369915962219238 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.76user 3.99system 0:21.69elapsed 81%CPU (0avgtext+0avgdata 138104maxresident)k 0inputs+8792outputs (9major+253634minor)pagefaults 0swaps