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 : 2891021 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 : 566>100 please execute split_portfolio.py -i 25384748 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3365701'] with mtr_portfolio_ids : ['25384748'] and first list_photo_ids : [] new path : /proc/2891021/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.7214391231536865 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 Mon Jul 28 06:47:29 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/1753678047_2891021_1374092489_992e34e0a9df43c2ab55784a28ff418f.jpg resize: (1080, 1632) 1374092489 -3.090746615260425 treat image : temp/1753678047_2891021_1374092485_1277ae9aa3c73d879d7b808a8b51794e.jpg resize: (1080, 1632) 1374092485 -2.1279106666644596 treat image : temp/1753678047_2891021_1374092483_786a9b6e68e5b1c5ece491ead5debefd.jpg resize: (1080, 1632) 1374092483 -2.1548055248949134 treat image : temp/1753678047_2891021_1374092480_a91c2fa000bc250dd4e3a247eb86b255.jpg resize: (1080, 1632) 1374092480 -4.91701718211122 treat image : temp/1753678047_2891021_1374092479_fdfcd9b8947d9fdf711bf62c40352544.jpg resize: (1080, 1632) 1374092479 -4.896008045586699 treat image : temp/1753678047_2891021_1374092476_7f78431fe514fd46fd3b0770bc67de25.jpg resize: (1080, 1632) 1374092476 -5.637440263679448 treat image : temp/1753678047_2891021_1374092465_1d9deb45b770b0c0e1e9d5631e3fc996.jpg resize: (1080, 1632) 1374092465 -5.935247417874352 treat image : temp/1753678047_2891021_1374092462_567db4ec8fad836efa08ff7709379c02.jpg resize: (1080, 1632) 1374092462 -2.0041214185410343 treat image : temp/1753678047_2891021_1374092460_750a230739e860336f09230da2841d50.jpg resize: (1080, 1632) 1374092460 -3.3956810996895266 treat image : temp/1753678047_2891021_1374092459_fd34f01c717a8ac32e302bc572f2ff48.jpg resize: (1080, 1632) 1374092459 -3.4141663023199404 treat image : temp/1753678047_2891021_1374092456_8c81738c61cd5c3439315762575deb05.jpg resize: (1080, 1632) 1374092456 -3.3896712738574686 treat image : temp/1753678047_2891021_1374092448_a8c24803aea7577067a203d5a3f9aad8.jpg resize: (1080, 1632) 1374092448 -3.0850868855634355 treat image : temp/1753678047_2891021_1374092435_c9770c0e63b56e3e9a35dfdeb66725f3.jpg resize: (1080, 1632) 1374092435 -6.104124509150841 treat image : temp/1753678047_2891021_1374092433_aa93cbc4b556f0804adfa924b4f7449b.jpg resize: (1080, 1632) 1374092433 -6.608805862115013 treat image : temp/1753678047_2891021_1374092431_78d152692950b175147674c2a0d5ed0e.jpg resize: (1080, 1632) 1374092431 -6.356634117705185 treat image : temp/1753678047_2891021_1374092424_16c986573a1a54a07061c84c71d2b086.jpg resize: (1080, 1632) 1374092424 -4.523177552492999 treat image : temp/1753678047_2891021_1374092422_6d4ad8558cf946a63ce65d85c7cc0033.jpg resize: (1080, 1632) 1374092422 -5.7074810983152 treat image : temp/1753678047_2891021_1374092420_12a6250035e922284343a698f3625b66.jpg resize: (1080, 1632) 1374092420 -5.717382481936598 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 : 18 time used for this insertion : 0.012595176696777344 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.014130830764770508 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.019905567169189453 save missing photos in datou_result : time spend for datou_step_exec : 14.362044095993042 time spend to save output : 0.05168437957763672 total time spend for step 1 : 14.413728475570679 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 12.92user 3.79system 0:19.96elapsed 83%CPU (0avgtext+0avgdata 140212maxresident)k 112inputs+8488outputs (7major+234140minor)pagefaults 0swaps