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 : 3075813 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 : 5456>100 please execute split_portfolio.py -i 25516015 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3403011'] with mtr_portfolio_ids : ['25516015'] and first list_photo_ids : [] new path : /proc/3075813/ 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.568227767944336 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 31 17: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/1753974149_3075813_1374619632_b73b159de1e553cace7e4e7f63021d4d.jpg resize: (1080, 1632) 1374619632 -4.935162500790874 treat image : temp/1753974149_3075813_1374619582_ed5a5ed8f39d197e1907fcda1bd55171.jpg resize: (1080, 1632) 1374619582 -4.9395975146767785 treat image : temp/1753974149_3075813_1374619529_7e198c49f2ea1f3b6930e57bb4452260.jpg resize: (1080, 1632) 1374619529 -5.948054444077212 treat image : temp/1753974149_3075813_1374619508_97308bd3ad658a4a5de4288b258d54ea.jpg resize: (1080, 1632) 1374619508 -5.5430033149341735 treat image : temp/1753974149_3075813_1374619482_4f50cc3a1855db5bbe826900fd120b2e.jpg resize: (1080, 1632) 1374619482 -4.702669059618353 treat image : temp/1753974149_3075813_1374619457_81e20864c7540f342f3e579a9126d85a.jpg resize: (1080, 1632) 1374619457 -2.8328628021515265 treat image : temp/1753974149_3075813_1374619131_00e353b0055f9a977a35d668d5113cbc.jpg resize: (1080, 1632) 1374619131 -1.9974990355108015 treat image : temp/1753974149_3075813_1374619086_878940b434bb521bd2b4bf51c7b2f0de.jpg resize: (1080, 1632) 1374619086 -3.4548349312645286 treat image : temp/1753974149_3075813_1374619034_efe5b95254025e29ef0cf7ddd4d4b43d.jpg resize: (1080, 1632) 1374619034 -2.4118331165835745 treat image : temp/1753974149_3075813_1374619002_cb9264767e9db8454187153249c34ea2.jpg resize: (1080, 1632) 1374619002 -4.935162500790874 treat image : temp/1753974149_3075813_1374618976_6c7a64b04653ea8977e95e8bc52d8298.jpg resize: (1080, 1632) 1374618976 -4.9395975146767785 treat image : temp/1753974149_3075813_1374618935_1f138e8537504510773f80d6b9c8fbc2.jpg resize: (1080, 1632) 1374618935 -5.948054444077212 treat image : temp/1753974149_3075813_1374618796_4ba2cc084133922902012ee16bbbc603.jpg resize: (1080, 1632) 1374618796 -4.898408464645978 treat image : temp/1753974149_3075813_1374618766_f0b67b70f46e57e537eb77aded87a6a1.jpg resize: (1080, 1632) 1374618766 -2.4716841978236137 treat image : temp/1753974149_3075813_1374618726_959c19434154f63ee8e40d2896ee873b.jpg resize: (1080, 1632) 1374618726 -5.803584594218504 treat image : temp/1753974149_3075813_1374618676_f5732f0d8328f81bfb731e9f9504b24f.jpg resize: (1080, 1632) 1374618676 -6.22294177099644 treat image : temp/1753974149_3075813_1374618626_fc7d5a19619914f6326e7e969d108001.jpg resize: (1080, 1632) 1374618626 -5.243127650711246 treat image : temp/1753974149_3075813_1374618573_83c0b81a8d66e19a0072bb65ca3fd977.jpg resize: (1080, 1632) 1374618573 -5.328946112499904 treat image : temp/1753974149_3075813_1374617872_6407fbf42a4242d55b06bf90e3cb842a.jpg resize: (1080, 1632) 1374617872 -2.4507138333899485 treat image : temp/1753974149_3075813_1374617870_1b85e926ebc81b9f1d600aa2de96caec.jpg resize: (1080, 1632) 1374617870 -2.4277677125126838 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.029773950576782227 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.01680445671081543 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.031020164489746094 save missing photos in datou_result : time spend for datou_step_exec : 17.407893419265747 time spend to save output : 0.08213257789611816 total time spend for step 1 : 17.490025997161865 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.75user 4.77system 0:22.96elapsed 85%CPU (0avgtext+0avgdata 139416maxresident)k 144inputs+9480outputs (6major+259666minor)pagefaults 0swaps