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 : 3655978 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 : 2784>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/3655978/ 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.0852646827697754 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 Wed Jul 9 18: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/1752076948_3655978_1371423255_9c983dd600244248752a22ab3153f3d0.jpg resize: (1080, 1632) 1371423255 -5.176726829149746 treat image : temp/1752076948_3655978_1371423226_223cda2bc699a4ad0cb444bcc6e0f2e8.jpg resize: (1080, 1632) 1371423226 -5.737508278895976 treat image : temp/1752076948_3655978_1371423194_123913185c195ee4cc74989ca70cf4bd.jpg resize: (1080, 1632) 1371423194 -5.769481672503848 treat image : temp/1752076948_3655978_1371423167_4b70c90d808765fcfbd2b92f8f64da22.jpg resize: (1080, 1632) 1371423167 -4.376450800267353 treat image : temp/1752076948_3655978_1371423137_8e61be533a5ad38e7f86875b7e2d692d.jpg resize: (1080, 1632) 1371423137 -3.810240071109765 treat image : temp/1752076948_3655978_1371423112_cd7c1ddbcb804c280e3128435bdd34b7.jpg resize: (1080, 1632) 1371423112 -5.140009195622249 treat image : temp/1752076948_3655978_1371422993_ea71215b1dec13e7c883aa6927e62c6d.jpg resize: (1080, 1632) 1371422993 -4.118042147468028 treat image : temp/1752076948_3655978_1371422967_d0ab8974411d5cb5ecc6de41be49257f.jpg resize: (1080, 1632) 1371422967 -4.124631015546948 treat image : temp/1752076948_3655978_1371422944_cffa3d5503504265600589ebaceec9b1.jpg resize: (1080, 1632) 1371422944 -4.118991830563319 treat image : temp/1752076948_3655978_1371422919_d3231d074247a43cfc0bff2adb730991.jpg resize: (1080, 1632) 1371422919 -4.1257281495333284 treat image : temp/1752076948_3655978_1371422893_f79c9ffa217032cce3fcac9522545c40.jpg resize: (1080, 1632) 1371422893 -4.12370917489836 treat image : temp/1752076948_3655978_1371422867_c0e18205fdd999f00242b2e5cb004168.jpg resize: (1080, 1632) 1371422867 -4.11120668456217 treat image : temp/1752076948_3655978_1371422757_eddf09b5a57fcaf5abfac024687c2485.jpg resize: (1080, 1632) 1371422757 -4.539277478256753 treat image : temp/1752076948_3655978_1371422732_0c6ee19490a139cbbbb283528aa86694.jpg resize: (1080, 1632) 1371422732 -3.908543921545459 treat image : temp/1752076948_3655978_1371422707_e61dc319534d6bd1cb542964e8e6a121.jpg resize: (1080, 1632) 1371422707 -3.9127679720741426 treat image : temp/1752076948_3655978_1371422683_3b694101f1eade998fc4a2b802528d85.jpg resize: (1080, 1632) 1371422683 -3.9214161850114384 treat image : temp/1752076948_3655978_1371422658_677a3f3207ed33aec5dd41cb4fd6f6e9.jpg resize: (1080, 1632) 1371422658 -3.9286350136918724 treat image : temp/1752076948_3655978_1371422634_461874744cf906715a3236125475d41c.jpg resize: (1080, 1632) 1371422634 -3.9268353319723777 treat image : temp/1752076948_3655978_1371422517_82697bf2d89c8b474e848fe2f8adaa72.jpg resize: (1080, 1632) 1371422517 -3.930231300603371 treat image : temp/1752076948_3655978_1371422470_380c21d8f0411319ec0e1321f6107ba6.jpg resize: (1080, 1632) 1371422470 -4.134331812618268 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.01992058753967285 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.014261007308959961 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01468038558959961 save missing photos in datou_result : time spend for datou_step_exec : 16.40864896774292 time spend to save output : 0.053125619888305664 total time spend for step 1 : 16.461774587631226 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.42user 4.45system 0:22.40elapsed 84%CPU (0avgtext+0avgdata 139272maxresident)k 40inputs+8640outputs (23major+256232minor)pagefaults 0swaps