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 : 2558325 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 : 6660>100 please execute split_portfolio.py -i 24493811 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3224247'] with mtr_portfolio_ids : ['24493811'] and first list_photo_ids : [] new path : /proc/2558325/ 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.3467774391174316 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 Thu Jul 3 05:27: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/1751513248_2558325_1370295220_896e81b8f2f303d969628ee40b0369f1.jpg resize: (1080, 1632) 1370295220 -4.423537844095648 treat image : temp/1751513248_2558325_1370295192_3afab0990bc84a943c48e3bce8cd46eb.jpg resize: (1080, 1632) 1370295192 -4.396266082859237 treat image : temp/1751513248_2558325_1370295180_2680998ede05da1d8a577755bef84943.jpg resize: (1080, 1632) 1370295180 -4.442321146400497 treat image : temp/1751513248_2558325_1370295169_5402181d67f451e91f05448cbb47cde2.jpg resize: (1080, 1632) 1370295169 -4.454928082232108 treat image : temp/1751513248_2558325_1370295145_9f2667267982fa169649605dfd6b2934.jpg resize: (1080, 1632) 1370295145 -4.465909207381285 treat image : temp/1751513248_2558325_1370295130_83fd4b1cf30040f79e0a4d17caa54ae6.jpg resize: (1080, 1632) 1370295130 -4.480661421698233 treat image : temp/1751513248_2558325_1370293100_40d7dee587823b6c65841941e714db98.jpg resize: (1080, 1632) 1370293100 -4.460718426484555 treat image : temp/1751513248_2558325_1370293096_b24bd502d3c85aa16e10b181d0c52811.jpg resize: (1080, 1632) 1370293096 -4.452690604519266 treat image : temp/1751513248_2558325_1370293093_bf05ae2386090ba69a788086d7272d2c.jpg resize: (1080, 1632) 1370293093 -4.473522600369714 treat image : temp/1751513248_2558325_1370293089_8e6e7e76313774878364dbe062ae2e3f.jpg resize: (1080, 1632) 1370293089 -4.462158537828083 treat image : temp/1751513248_2558325_1370293079_ae9e6ec6810bb82ca00e508ed2bda5c7.jpg resize: (1080, 1632) 1370293079 -4.4741670694325775 treat image : temp/1751513248_2558325_1370293069_e07eb35d2989e742ce52e2de9c323244.jpg resize: (1080, 1632) 1370293069 -1.9785753849669137 treat image : temp/1751513248_2558325_1370292479_d1ebfc015d7fd5719bee3b0c3ed0f5bf.jpg resize: (1080, 1632) 1370292479 -0.15515187037898062 treat image : temp/1751513248_2558325_1370292469_3b91212a36ec689b1f5e1ffc3e358e34.jpg resize: (1080, 1632) 1370292469 -2.26033413319704 treat image : temp/1751513248_2558325_1370292466_9fb9f6e1abbf387bf3d45648f1c35d75.jpg resize: (1080, 1632) 1370292466 -3.275643034799872 treat image : temp/1751513248_2558325_1370292457_d5939a414fe2d4e7565eec802a05cff2.jpg resize: (1080, 1632) 1370292457 -3.2975147802387177 treat image : temp/1751513248_2558325_1370292454_9ca2d58f63cb93f1c5dfcce9500c3369.jpg resize: (1080, 1632) 1370292454 -3.2914370747820585 treat image : temp/1751513248_2558325_1370292448_e4f2d821b0820bf6bf10bf18eaf38a32.jpg resize: (1080, 1632) 1370292448 -3.2764069365352193 treat image : temp/1751513248_2558325_1370292172_910a14b4699cf4c3a075880ec9a53376.jpg resize: (1080, 1632) 1370292172 -3.2826275577166544 treat image : temp/1751513248_2558325_1370292118_d0dd72cbea75ea614d3ab698a4aa5895.jpg resize: (1080, 1632) 1370292118 -3.316486938013817 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.015863418579101562 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.04961061477661133 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017026424407958984 save missing photos in datou_result : time spend for datou_step_exec : 19.229620695114136 time spend to save output : 0.08754777908325195 total time spend for step 1 : 19.317168474197388 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.43user 7.36system 0:24.17elapsed 90%CPU (0avgtext+0avgdata 137960maxresident)k 568inputs+8040outputs (6major+217697minor)pagefaults 0swaps