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 : 3471339 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 : 4403>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/3471339/ 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.468356132507324 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 14:32: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/1752237146_3471339_1371572927_337c65720948b4c0a4d54e1295b9b749.jpg resize: (1080, 1632) 1371572927 -5.197245299629288 treat image : temp/1752237146_3471339_1371572924_34d79fc9b93d2c5e440f6c0229747093.jpg resize: (1080, 1632) 1371572924 -5.20291896127002 treat image : temp/1752237146_3471339_1371572913_37b318ab74bd1e1d964f39b996031d44.jpg resize: (1080, 1632) 1371572913 -5.1867330695987075 treat image : temp/1752237146_3471339_1371572856_92cd18bec9116edcfb8ceb36620621d5.jpg resize: (1080, 1632) 1371572856 -5.1858563442887124 treat image : temp/1752237146_3471339_1371572847_342dbacdb58483240a5e51143f6e57ef.jpg resize: (1080, 1632) 1371572847 -5.224429997257889 treat image : temp/1752237146_3471339_1371572834_d66c07c48e7ad1b771aa32121d4ac490.jpg resize: (1080, 1632) 1371572834 -5.208812967884423 treat image : temp/1752237146_3471339_1371572833_e9396b0e0ad9f0f021724474fb6f58cb.jpg resize: (1080, 1632) 1371572833 -5.2735653157899005 treat image : temp/1752237146_3471339_1371572575_3c1f8ea0bb447afdf060788de919778d.jpg resize: (1080, 1632) 1371572575 -5.209848531657121 treat image : temp/1752237146_3471339_1371572528_7a431a82514d61432ea35115d604bcaa.jpg resize: (1080, 1632) 1371572528 -5.18156816116234 treat image : temp/1752237146_3471339_1371572510_36c1e35d77f5b9d693f29b3467ca7f5d.jpg resize: (1080, 1632) 1371572510 -5.208160274734117 treat image : temp/1752237146_3471339_1371572498_3c32ccc11721dc84fd586cd0afd69fb9.jpg resize: (1080, 1632) 1371572498 -5.215731979990039 treat image : temp/1752237146_3471339_1371572493_410122a854087b50dcfd0201784bf2ae.jpg resize: (1080, 1632) 1371572493 -5.203745458169721 treat image : temp/1752237146_3471339_1371572430_1fccf4aac04e2927eb792c548d90336b.jpg resize: (1080, 1632) 1371572430 -5.25056490179021 treat image : temp/1752237146_3471339_1371572429_67f3428086cb2f48ee26588d11fbad38.jpg resize: (1080, 1632) 1371572429 -5.197698527669027 treat image : temp/1752237146_3471339_1371572206_3c2630597e2de773b2753a7fcd9f2d41.jpg resize: (1080, 1632) 1371572206 -5.155020739356972 treat image : temp/1752237146_3471339_1371572202_c85389e6939bd91a63f2a198c24b841d.jpg resize: (1080, 1632) 1371572202 -5.205203512979697 treat image : temp/1752237146_3471339_1371572163_8fb5ec4f0fd45339a1e22f42e7aa1b79.jpg resize: (1080, 1632) 1371572163 -5.215427118793156 treat image : temp/1752237146_3471339_1371572157_e1710886a592c40f0a75f0f90a88d3df.jpg resize: (1080, 1632) 1371572157 -5.1958635712478625 treat image : temp/1752237146_3471339_1371572155_8d3c152c37884a39300fa331979d9e53.jpg resize: (1080, 1632) 1371572155 -5.20326631440999 treat image : temp/1752237146_3471339_1371572084_88b0d50a992595dbb47ce54d33c657bb.jpg resize: (1080, 1632) 1371572084 -5.212144405265055 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.01788163185119629 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.018085479736328125 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018703460693359375 save missing photos in datou_result : time spend for datou_step_exec : 14.63871455192566 time spend to save output : 0.05896329879760742 total time spend for step 1 : 14.697677850723267 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.72user 3.32system 0:19.77elapsed 86%CPU (0avgtext+0avgdata 139876maxresident)k 0inputs+10264outputs (4major+257984minor)pagefaults 0swaps