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 : 51393 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/51393/ 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 : 3.114574432373047 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 18 21:42:31 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/1752867748_51393_1372319020_d568992b1e29d8c8b7f6dd6410ad491e.jpg resize: (1080, 1632) 1372319020 -5.498411361254733 treat image : temp/1752867748_51393_1372319016_2be25cac7efcc7b6399defee3f637276.jpg resize: (1080, 1632) 1372319016 -5.555590492444071 treat image : temp/1752867748_51393_1372319012_39133b7efa5c18d8bea8be7bb43a7d6a.jpg resize: (1080, 1632) 1372319012 -4.89474177252178 treat image : temp/1752867748_51393_1372319007_fe1240732881ab30bc32839e389ce24c.jpg resize: (1080, 1632) 1372319007 -6.519947918378702 treat image : temp/1752867748_51393_1372319003_8e4034974d3c43172c822d5b9978e65a.jpg resize: (1080, 1632) 1372319003 -5.868255100793181 treat image : temp/1752867748_51393_1372318999_5e3fa094d76c2be95fe324312aea8280.jpg resize: (1080, 1632) 1372318999 -5.616698196698245 treat image : temp/1752867748_51393_1372318986_2a5d2aee1b0e858116a979ec08e50ad4.jpg resize: (1080, 1632) 1372318986 -1.671712446987721 treat image : temp/1752867748_51393_1372318982_e7900a7e7882ffd6d27112a1d451e017.jpg resize: (1080, 1632) 1372318982 -2.3360900347765683 treat image : temp/1752867748_51393_1372318979_7d0759e1df2f6ea434a7412320afa493.jpg resize: (1080, 1632) 1372318979 -2.4151753925498887 treat image : temp/1752867748_51393_1372318974_96d15db254f33df5f4e9ff4c24ea5ae6.jpg resize: (1080, 1632) 1372318974 -3.9702699659134364 treat image : temp/1752867748_51393_1372318969_aef50d5b493290670401c1943e011133.jpg resize: (1080, 1632) 1372318969 -5.198924098844654 treat image : temp/1752867748_51393_1372318965_23b7459622078b27c1a4c7a95f3078af.jpg resize: (1080, 1632) 1372318965 -5.221773970075904 treat image : temp/1752867748_51393_1372318947_4e0c0873e190ea2b6f5c4eca7f9ec91c.jpg resize: (1080, 1632) 1372318947 -5.125447732475118 treat image : temp/1752867748_51393_1372318943_0ef539d3deeea99abc8357b29c683a18.jpg resize: (1080, 1632) 1372318943 -5.741570540967439 treat image : temp/1752867748_51393_1372318939_a7dd9b2dc19c0110627cb3b8330de200.jpg resize: (1080, 1632) 1372318939 -4.5764391332614 treat image : temp/1752867748_51393_1372318936_b8c41dbb3d09e44f61e96d5d74000817.jpg resize: (1080, 1632) 1372318936 -5.059007734119127 treat image : temp/1752867748_51393_1372318933_7d0ebfb1d7688690b70bacd46447f1be.jpg resize: (1080, 1632) 1372318933 -1.3569935047673376 treat image : temp/1752867748_51393_1372318929_b8794f8d61b1dbfa9e63ea91c26647ba.jpg resize: (1080, 1632) 1372318929 -1.6007116663303853 treat image : temp/1752867748_51393_1372318916_e711db94381da804ce6bb9f71bc99d17.jpg resize: (1080, 1632) 1372318916 -1.9625899688363375 treat image : temp/1752867748_51393_1372318913_785e01924ac0f0e124cd854344a16b30.jpg resize: (1080, 1632) 1372318913 -1.9530894806278642 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.013618230819702148 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.013039112091064453 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014896869659423828 save missing photos in datou_result : time spend for datou_step_exec : 16.042064428329468 time spend to save output : 0.046440839767456055 total time spend for step 1 : 16.088505268096924 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.03user 4.38system 0:22.12elapsed 83%CPU (0avgtext+0avgdata 139324maxresident)k 128inputs+9312outputs (12major+261274minor)pagefaults 0swaps