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 : 3430602 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 : 2821>100 please execute split_portfolio.py -i 23145313 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2900260'] with mtr_portfolio_ids : ['23145313'] and first list_photo_ids : [] new path : /proc/3430602/ 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.2689151763916016 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 Tue May 20 18:32: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/1747758748_3430602_1359841115_6948d06854889ae4ace38c890b741e0d.jpg resize: (1080, 1632) 1359841115 -5.870908658171439 treat image : temp/1747758748_3430602_1359841108_4f3b26cacfb57f2abbc194e5cc827b35.jpg resize: (1080, 1632) 1359841108 -6.15817518268887 treat image : temp/1747758748_3430602_1359841104_e6f115e2c37a7ef1f813a9bc51db20dd.jpg resize: (1080, 1632) 1359841104 -6.044780944593111 treat image : temp/1747758748_3430602_1359841070_2d3da2101eb2ccbf2feb2d4ae08e06ee.jpg resize: (1080, 1632) 1359841070 -4.684855029418469 treat image : temp/1747758748_3430602_1359841066_f5f0babda1a724eab6b73ab1d54cc7c5.jpg resize: (1080, 1632) 1359841066 -6.103177999992121 treat image : temp/1747758748_3430602_1359841063_ef013e679dd15c4b8333295d1816d4ed.jpg resize: (1080, 1632) 1359841063 -6.283432523064282 treat image : temp/1747758748_3430602_1359841038_783eae819a7e4921e56ce7004c37a7ad.jpg resize: (1080, 1632) 1359841038 -5.941021687410996 treat image : temp/1747758748_3430602_1359841035_86b598b28d8d08a47f5b69c9a98531bc.jpg resize: (1080, 1632) 1359841035 -1.4658713070879181 treat image : temp/1747758748_3430602_1359841033_2a1fab1ac1bed77872ff939da65da767.jpg resize: (1080, 1632) 1359841033 -1.441686270523734 treat image : temp/1747758748_3430602_1359841012_5a129c367b5aa684e65126482647d20e.jpg resize: (1080, 1632) 1359841012 -5.792761681739519 treat image : temp/1747758748_3430602_1359841010_c872907ab9c3aa8e37f6d903a0c43746.jpg resize: (1080, 1632) 1359841010 -5.8232763629046005 treat image : temp/1747758748_3430602_1359841006_c3778f92b07160cfd89d7cdecc9c0c08.jpg resize: (1080, 1632) 1359841006 -3.290929234306491 treat image : temp/1747758748_3430602_1359841002_e023db27e552c6ccc9027e0dec683772.jpg resize: (1080, 1632) 1359841002 -4.379347599210034 treat image : temp/1747758748_3430602_1359840998_061987adf301b8aaed6b44e3db29c8cd.jpg resize: (1080, 1632) 1359840998 -5.585357921937323 treat image : temp/1747758748_3430602_1359840733_f4f13c9c4c6b017a688ead512ba82987.jpg resize: (1080, 1632) 1359840733 -1.4960585582843937 treat image : temp/1747758748_3430602_1359840707_e4b4d368ac31a1adef5bfa0ee0463f57.jpg resize: (1080, 1632) 1359840707 -2.2365601666291433 treat image : temp/1747758748_3430602_1359840679_dc11504ac0e4b85dd60af9ce141486cf.jpg resize: (1080, 1632) 1359840679 -4.872813358202158 treat image : temp/1747758748_3430602_1359840651_9e894a45b780bd3a463ff1ae62fe616e.jpg resize: (1080, 1632) 1359840651 -5.472259960915134 treat image : temp/1747758748_3430602_1359840621_e569c31769601738a34425e8a9d1f03c.jpg resize: (1080, 1632) 1359840621 -5.98513421737335 treat image : temp/1747758748_3430602_1359839599_efcf834392f031d35abbbfabb33b58b3.jpg resize: (1080, 1632) 1359839599 -1.2435780895332866 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.013709068298339844 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.01170802116394043 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014220952987670898 save missing photos in datou_result : time spend for datou_step_exec : 19.46730947494507 time spend to save output : 0.04465198516845703 total time spend for step 1 : 19.511961460113525 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.66user 7.32system 0:24.94elapsed 88%CPU (0avgtext+0avgdata 136552maxresident)k 96inputs+10008outputs (11major+260270minor)pagefaults 0swaps