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 : 3431080 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 updating current state to 1 we have a portfolio with more photos than limit : 2327>100 please execute split_portfolio.py -i 26419647 -l 100 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4871, datou_cur_ids : ['3648890'] with mtr_portfolio_ids : ['26419647'] and first list_photo_ids : [] new path : /proc/3431080/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 15 ; length of list_pids : 15 ; length of list_args : 15 time to download the photos : 1.6786258220672607 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 Sep 2 16:17: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/1756822649_3431080_1380866780_1d56098905a49493cc84b2c79bbc9c8f_30075668.jpg resize: (1080, 1632) 1380866780 -5.562603698501644 treat image : temp/1756822649_3431080_1380866774_13f914e337ead8de18fa904e0387074d_93475361.jpg resize: (1080, 1632) 1380866774 -4.95428316175292 treat image : temp/1756822649_3431080_1380866773_3134d8b8b93f6a995e6e5b41b6604d8b_20675402.jpg resize: (1080, 1632) 1380866773 -2.7322049834864766 treat image : temp/1756822649_3431080_1380866772_6ff2924d04d496ec73f6b237e149796e_73199505.jpg resize: (1080, 1632) 1380866772 -1.258179796304201 treat image : temp/1756822649_3431080_1380866771_8211a31bce6eefc1077359c4f5a88e23_16524781.jpg resize: (1080, 1632) 1380866771 -0.6779048473335124 treat image : temp/1756822649_3431080_1380866770_6ebe477cef8c15ef8b57853c8288037b_20147522.jpg resize: (1080, 1632) 1380866770 -2.2870874318514667 treat image : temp/1756822649_3431080_1380866769_28712fde02870cc6c722d7531d8c25cf_73492690.jpg resize: (1080, 1632) 1380866769 -5.522047619521402 treat image : temp/1756822649_3431080_1380866704_1d56098905a49493cc84b2c79bbc9c8f_37158561.jpg resize: (1080, 1632) 1380866704 -5.562603698501644 treat image : temp/1756822649_3431080_1380866703_13f914e337ead8de18fa904e0387074d_64258326.jpg resize: (1080, 1632) 1380866703 -4.95428316175292 treat image : temp/1756822649_3431080_1380866702_3134d8b8b93f6a995e6e5b41b6604d8b_10545135.jpg resize: (1080, 1632) 1380866702 -2.7322049834864766 treat image : temp/1756822649_3431080_1380866647_88c8131602d78b3d3e75359c2d5952e9_2364484.jpg resize: (1080, 1632) 1380866647 -5.055218511274889 treat image : temp/1756822649_3431080_1380866646_7341f2efb01f5477fe867ccc768a67b2_58324650.jpg resize: (1080, 1632) 1380866646 -4.051650539305814 treat image : temp/1756822649_3431080_1380866645_9233ac8937c90849a03b9644d2fc5409_84647169.jpg resize: (1080, 1632) 1380866645 -6.422638015319505 treat image : temp/1756822649_3431080_1380866644_7aad17e2e3d652ee42dc4fd457589412_40147382.jpg resize: (1080, 1632) 1380866644 -5.091715358696642 treat image : temp/1756822649_3431080_1380866643_7e55c21a73a2931ebdce57fbc722f643_70103514.jpg resize: (1080, 1632) 1380866643 -5.674948869537687 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 : 15 time used for this insertion : 0.013665199279785156 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 15 time used for this insertion : 0.013156652450561523 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.01490640640258789 save missing photos in datou_result : time spend for datou_step_exec : 12.334417343139648 time spend to save output : 0.04632759094238281 total time spend for step 1 : 12.380744934082031 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 15 set_done_treatment 11.64user 3.24system 0:18.37elapsed 81%CPU (0avgtext+0avgdata 138088maxresident)k 112inputs+6832outputs (7major+208541minor)pagefaults 0swaps