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 : 141572 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 : 7727>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/141572/ 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.196084499359131 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 Fri Jul 11 20:07: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/1752257247_141572_1371654521_c7302de3d283ee8d8d83dc47396af708.jpg resize: (1080, 1632) 1371654521 -4.607019184190923 treat image : temp/1752257247_141572_1371654515_ae0c79ac5a43f47e92a3d9f6f63e03e7.jpg resize: (1080, 1632) 1371654515 -4.748310140225057 treat image : temp/1752257247_141572_1371654511_c636adde48fb5d71df70d1dda2868937.jpg resize: (1080, 1632) 1371654511 -3.934112991652137 treat image : temp/1752257247_141572_1371654504_44224747fc7e8f95e08925bdea26bde7.jpg resize: (1080, 1632) 1371654504 -2.705122863151421 treat image : temp/1752257247_141572_1371654498_b8d31135a2cddddc8cb797ae595ee9c1.jpg resize: (1080, 1632) 1371654498 -0.40515678643458486 treat image : temp/1752257247_141572_1371654494_e62e327016e1e8e856de5abd9dc88f6f.jpg resize: (1080, 1632) 1371654494 -2.2492351741069654 treat image : temp/1752257247_141572_1371654479_095204f1f333512cd4433e8f564b1800.jpg resize: (1080, 1632) 1371654479 -5.210101711387525 treat image : temp/1752257247_141572_1371654469_65a982605b4484ae1a4212c46af164fc.jpg resize: (1080, 1632) 1371654469 -5.216653999724148 treat image : temp/1752257247_141572_1371654463_9431fb6380494e6e5b40f31baed03b04.jpg resize: (1080, 1632) 1371654463 -5.20037763527163 treat image : temp/1752257247_141572_1371654454_122625a0f4a41c65cd8593be73cbfd11.jpg resize: (1080, 1632) 1371654454 -5.201122551391537 treat image : temp/1752257247_141572_1371654427_8379c37e375585a86279e02621a361fb.jpg resize: (1080, 1632) 1371654427 -5.210955112206922 treat image : temp/1752257247_141572_1371654399_d035e8ba3ba084772fdc37e0424edf06.jpg resize: (1080, 1632) 1371654399 -5.221295756958712 treat image : temp/1752257247_141572_1371653790_8154f9b6bccb5f5ffcc1fbc02117e40e.jpg resize: (1080, 1632) 1371653790 -4.777224656049746 treat image : temp/1752257247_141572_1371653789_a10f4cc89dba127e33b528eff9c8d17b.jpg resize: (1080, 1632) 1371653789 -4.777224656049746 treat image : temp/1752257247_141572_1371653784_28a6273d6fcfdfa39ec7b186b65ac96c.jpg resize: (1080, 1632) 1371653784 -4.058933050546367 treat image : temp/1752257247_141572_1371653783_aa6d47a55c725e34c4df000bb5f59615.jpg resize: (1080, 1632) 1371653783 -4.058933050546367 treat image : temp/1752257247_141572_1371653778_18632c85a7c36f3e0a99dc1eea599b70.jpg resize: (1080, 1632) 1371653778 -4.684500402962258 treat image : temp/1752257247_141572_1371653777_85343e545392841e7ebbb8ca50f1759e.jpg resize: (1080, 1632) 1371653777 -4.684500402962258 treat image : temp/1752257247_141572_1371653773_e215fa6b4abd4a0ee48f7be021ea81a1.jpg resize: (1080, 1632) 1371653773 -2.515863104107391 treat image : temp/1752257247_141572_1371653771_4da3ed6ea46d2ec4b04837f73a34d91c.jpg resize: (1080, 1632) 1371653771 -2.515863104107391 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.016436338424682617 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.02372598648071289 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018233299255371094 save missing photos in datou_result : time spend for datou_step_exec : 18.497061491012573 time spend to save output : 0.06288456916809082 total time spend for step 1 : 18.559946060180664 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.52user 6.43system 0:24.14elapsed 86%CPU (0avgtext+0avgdata 138816maxresident)k 0inputs+8744outputs (1major+261085minor)pagefaults 0swaps