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 : 3094320 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 : 2404>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/3094320/ 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.185530662536621 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 Thu Jul 3 10: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/1751529749_3094320_1370377484_8207c33c91c37b182ea03231ed1cbde3.jpg resize: (1080, 1632) 1370377484 -5.3177863368104585 treat image : temp/1751529749_3094320_1370377482_c6882d55ec9dbfadb9ba08509a04be63.jpg resize: (1080, 1632) 1370377482 -5.3177863368104585 treat image : temp/1751529749_3094320_1370377458_b64d8ee3bf532a1b8f556b9f343e4f6e.jpg resize: (1080, 1632) 1370377458 -5.315168095555613 treat image : temp/1751529749_3094320_1370377457_b4b5f875ec02736b3c3dace4846c395f.jpg resize: (1080, 1632) 1370377457 -5.315168095555613 treat image : temp/1751529749_3094320_1370377455_056b716c26efc4cf30e94ebf6cb0db87.jpg resize: (1080, 1632) 1370377455 -5.920769509745857 treat image : temp/1751529749_3094320_1370377454_4fd24b3f8ac3944e2aa788335e25c6ef.jpg resize: (1080, 1632) 1370377454 -5.920769509745857 treat image : temp/1751529749_3094320_1370377445_7a0da94c118e2f8f355593fd72621d5b.jpg resize: (1080, 1632) 1370377445 -5.943523213605154 treat image : temp/1751529749_3094320_1370377443_a8db661449a39c7fc40ea6b24eae24a0.jpg resize: (1080, 1632) 1370377443 -5.943523213605154 treat image : temp/1751529749_3094320_1370377441_4e48a688f84993376366c739ff0b3854.jpg resize: (1080, 1632) 1370377441 -6.095825644160525 treat image : temp/1751529749_3094320_1370377440_6092d771cd80eaab7c0b9ab358b1c898.jpg resize: (1080, 1632) 1370377440 -6.095825644160525 treat image : temp/1751529749_3094320_1370377420_4da4981da3d2c0f1957edb4759cd493d.jpg resize: (1080, 1632) 1370377420 -6.1098377976122915 treat image : temp/1751529749_3094320_1370377418_46985ac35e726d6078375f20fe1d0b31.jpg resize: (1080, 1632) 1370377418 -6.1098377976122915 treat image : temp/1751529749_3094320_1370377275_9e3909e08bbc9f2889cea4bcc0038add.jpg resize: (1080, 1632) 1370377275 -5.317644290315099 treat image : temp/1751529749_3094320_1370377266_cba508e1ad33d329631fc63d2c306f0f.jpg resize: (1080, 1632) 1370377266 -5.322857563320085 treat image : temp/1751529749_3094320_1370377210_7f446912610fad125d6d922580b731de.jpg resize: (1080, 1632) 1370377210 -5.329338380376293 treat image : temp/1751529749_3094320_1370377175_afc868ba9e6d15c5d2084360cace49c3.jpg resize: (1080, 1632) 1370377175 -5.317912701648119 treat image : temp/1751529749_3094320_1370377130_4dc84e4d9f50b8138f3597933a0837c7.jpg resize: (1080, 1632) 1370377130 -5.307792188133591 treat image : temp/1751529749_3094320_1370377112_f8f9fd65f8a05ad483d059929d119011.jpg resize: (1080, 1632) 1370377112 -5.298357328877904 treat image : temp/1751529749_3094320_1370377035_c56ea42931c8945249b13c0719d3f623.jpg resize: (1080, 1632) 1370377035 -5.764433305928903 treat image : temp/1751529749_3094320_1370376967_71e3b498bf0f04939697bd5d1d9ac66d.jpg resize: (1080, 1632) 1370376967 -5.076928185507411 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.011683225631713867 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.07600665092468262 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.07901763916015625 save missing photos in datou_result : time spend for datou_step_exec : 18.773144006729126 time spend to save output : 0.17164993286132812 total time spend for step 1 : 18.944793939590454 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.24user 5.78system 0:25.01elapsed 84%CPU (0avgtext+0avgdata 139632maxresident)k 11432inputs+10944outputs (74major+255717minor)pagefaults 0swaps