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 : 1267278 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 : 1717>100 please execute split_portfolio.py -i 26103981 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3565041'] with mtr_portfolio_ids : ['26103981'] and first list_photo_ids : [] new path : /proc/1267278/ 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.233001470565796 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 Aug 21 22:02: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/1755806547_1267278_1378262831_e7b51070387aa451631d825979078a01.jpg resize: (1080, 1632) 1378262831 -3.1906218449956616 treat image : temp/1755806547_1267278_1378262771_17e98dae4890fb8473802f200823a9b7.jpg resize: (1080, 1632) 1378262771 -5.042839662561897 treat image : temp/1755806547_1267278_1378262715_fa4382eda0c719e60d676ab2024422ac.jpg resize: (1080, 1632) 1378262715 -4.886502909587051 treat image : temp/1755806547_1267278_1378262655_baa00dec5b942acc5e6143079a74c94d.jpg resize: (1080, 1632) 1378262655 -5.002128676603408 treat image : temp/1755806547_1267278_1378262597_e5498e4f2b5279b49af2f7e9b45b8fde.jpg resize: (1080, 1632) 1378262597 -3.7229743829457895 treat image : temp/1755806547_1267278_1378262516_8b9ae3fb9492472055e7f4c91f565410.jpg resize: (1080, 1632) 1378262516 -4.695181004663277 treat image : temp/1755806547_1267278_1378262329_3350c7f373a2c7aedd19095fc19df505.jpg resize: (1080, 1632) 1378262329 -4.568752491379469 treat image : temp/1755806547_1267278_1378262268_3d41a19982075d60ba92102fec27270a.jpg resize: (1080, 1632) 1378262268 -2.9776343274713497 treat image : temp/1755806547_1267278_1378262182_51d646fe6bcec1d03d053aed3cdf0079.jpg resize: (1080, 1632) 1378262182 -2.859280821705229 treat image : temp/1755806547_1267278_1378262091_9a889eb4e79cf64499372e76827db4b7.jpg resize: (1080, 1632) 1378262091 -1.0865972793357777 treat image : temp/1755806547_1267278_1378262002_7f28c641d6cc0b9fd20de95f4404df39.jpg resize: (1080, 1632) 1378262002 -4.983459574044204 treat image : temp/1755806547_1267278_1378261898_89a90fe61297409b4fffc8f9590e98e2.jpg resize: (1080, 1632) 1378261898 -5.034520130105557 treat image : temp/1755806547_1267278_1378261382_b9faca95bcc3b8f851b84e68322dda6b.jpg resize: (1080, 1632) 1378261382 -0.7081594223888017 treat image : temp/1755806547_1267278_1378261233_00cc13293cdf0df11777bd0a6b2a8778.jpg resize: (1080, 1632) 1378261233 -1.3376022544517019 treat image : temp/1755806547_1267278_1378261089_02b597509137397b295938f262d309dd.jpg resize: (1080, 1632) 1378261089 -2.8348308151788286 treat image : temp/1755806547_1267278_1378260961_91708cc86739820c9476965b0f949a59.jpg resize: (1080, 1632) 1378260961 -3.6219633026852955 treat image : temp/1755806547_1267278_1378260890_69c7fbc3354b4112af8435c0a705146a.jpg resize: (1080, 1632) 1378260890 -4.106902275979371 treat image : temp/1755806547_1267278_1378260817_ba274d9799512784a6b24c670d9bfc29.jpg resize: (1080, 1632) 1378260817 -4.413452329718562 treat image : temp/1755806547_1267278_1378260476_6e105f5a4eaedab793936f21b3702ebd.jpg resize: (1080, 1632) 1378260476 -4.576612322350715 treat image : temp/1755806547_1267278_1378260408_eed5e8997d3c32b95675e5d0d2158e10.jpg resize: (1080, 1632) 1378260408 -5.859311492633888 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.012681961059570312 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.016107797622680664 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015089035034179688 save missing photos in datou_result : time spend for datou_step_exec : 15.126898050308228 time spend to save output : 0.04895949363708496 total time spend for step 1 : 15.175857543945312 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.68user 2.96system 0:19.60elapsed 90%CPU (0avgtext+0avgdata 140448maxresident)k 128inputs+8304outputs (17major+255343minor)pagefaults 0swaps