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 : 3908621 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 : 2939>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/3908621/ 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.4378581047058105 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 13 18:57:32 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/1747155449_3908621_1357883798_6a28bec1dd091e0804eb38e20c6c8468.jpg resize: (1080, 1632) 1357883798 -3.009837907532173 treat image : temp/1747155449_3908621_1357883795_4a54c7d65c160e44b4a5de1f3640ddba.jpg resize: (1080, 1632) 1357883795 -4.467490580000232 treat image : temp/1747155449_3908621_1357883793_c063c0855ea8316b62e1496ee6f717e0.jpg resize: (1080, 1632) 1357883793 -4.3919499908075466 treat image : temp/1747155449_3908621_1357883791_954e25d93a1fa040529f0003eeab397f.jpg resize: (1080, 1632) 1357883791 -4.900963197843139 treat image : temp/1747155449_3908621_1357883788_427edd4320d78ad8c18348859be8bcc7.jpg resize: (1080, 1632) 1357883788 -5.342432856030111 treat image : temp/1747155449_3908621_1357883770_d4f00dced1e15275aba054e2483cdf46.jpg resize: (1080, 1632) 1357883770 -3.135966574735765 treat image : temp/1747155449_3908621_1357883766_de529c594d9e60ff3544afbdfd5aec78.jpg resize: (1080, 1632) 1357883766 -1.950199290231985 treat image : temp/1747155449_3908621_1357883762_4d95939956b29ebb1a107dd874f7f31e.jpg resize: (1080, 1632) 1357883762 -5.044056812900447 treat image : temp/1747155449_3908621_1357883759_37a4ad09d74e50f5ed53f5d2c12b94f3.jpg resize: (1080, 1632) 1357883759 -4.820315717760066 treat image : temp/1747155449_3908621_1357883755_535073d757415f75f78d0166564fac4a.jpg resize: (1080, 1632) 1357883755 -5.44330960980938 treat image : temp/1747155449_3908621_1357883751_1a413fadc11f14e8baeaf7e0f0ad92d9.jpg resize: (1080, 1632) 1357883751 -4.937798283994962 treat image : temp/1747155449_3908621_1357879097_16cc3210c4333242c7beb65c0d1daab7.jpg resize: (1080, 1632) 1357879097 -6.069910578476253 treat image : temp/1747155449_3908621_1357879052_864acb381a7d7d385b2e00200f3ba7cd.jpg resize: (1080, 1632) 1357879052 -6.171771075000607 treat image : temp/1747155449_3908621_1357879005_372e16cd3ce390e89575e2216ae512f1.jpg resize: (1080, 1632) 1357879005 -1.2494963661042495 treat image : temp/1747155449_3908621_1357876650_1b493a5363ff6ef8030856bdbbc6db27.jpg resize: (1080, 1632) 1357876650 -3.169781031848936 treat image : temp/1747155449_3908621_1357876623_edf95cbc58e0d612dc00957227f82b2e.jpg resize: (1080, 1632) 1357876623 -5.855878487263775 treat image : temp/1747155449_3908621_1357876596_5ef05449689388f60dbf3b76cff2eb01.jpg resize: (1080, 1632) 1357876596 -6.028426070599165 treat image : temp/1747155449_3908621_1357875453_e4b8e670a44c6fe6f9e61766460134db.jpg resize: (1080, 1632) 1357875453 -6.469679346959484 treat image : temp/1747155449_3908621_1357875451_ea42410dc3a9de8ff5768ab463814b3f.jpg resize: (1080, 1632) 1357875451 -6.616042059957738 treat image : temp/1747155449_3908621_1357875421_3387cfb602005c5e554ec22e46fef221.jpg resize: (1080, 1632) 1357875421 -6.1246647685311215 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.014429330825805664 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.013875961303710938 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016841650009155273 save missing photos in datou_result : time spend for datou_step_exec : 19.00393056869507 time spend to save output : 0.050196170806884766 total time spend for step 1 : 19.054126739501953 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.19user 6.14system 0:25.85elapsed 82%CPU (0avgtext+0avgdata 139276maxresident)k 136inputs+10088outputs (2major+260132minor)pagefaults 0swaps