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 : 3505042 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 : 2448>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/3505042/ 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.4006402492523193 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 Wed May 21 16:52: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/1747839147_3505042_1360062607_58bbde1b984a92f31d06b7236852958f.jpg resize: (1080, 1632) 1360062607 -3.655030069568669 treat image : temp/1747839147_3505042_1360062602_f54ac46aadff47c0c8cdcb485983c03e.jpg resize: (1080, 1632) 1360062602 -1.004913748091212 treat image : temp/1747839147_3505042_1360062594_cf43b26ce83917a1621de6c48de3cc5b.jpg resize: (1080, 1632) 1360062594 -1.8256912255689837 treat image : temp/1747839147_3505042_1360062410_47954de0f50513dc00477d752c928433.jpg resize: (1080, 1632) 1360062410 -5.5381708395685285 treat image : temp/1747839147_3505042_1360062365_5e47b620d2d4aeeff1c004a8a4b3b806.jpg resize: (1080, 1632) 1360062365 -5.452257868539135 treat image : temp/1747839147_3505042_1360062335_e07306a42813428d712fc168a85056da.jpg resize: (1080, 1632) 1360062335 -6.342253489808413 treat image : temp/1747839147_3505042_1360062304_8309b0790fcdf2fc447f9be0b33eeb12.jpg resize: (1080, 1632) 1360062304 -6.397582190194291 treat image : temp/1747839147_3505042_1360061938_b7be61e708953695a2a36349ce1b2890.jpg resize: (1080, 1632) 1360061938 -6.087304490181757 treat image : temp/1747839147_3505042_1360061908_6b80ec7e831bcdcfa6f1956d6db790ab.jpg resize: (1080, 1632) 1360061908 -6.175075156419073 treat image : temp/1747839147_3505042_1360061880_d4bed19fef7206b9f1690ed1ba8c0c35.jpg resize: (1080, 1632) 1360061880 -6.089811140025303 treat image : temp/1747839147_3505042_1360061847_981c5934d882c516044ed16b35d4013f.jpg resize: (1080, 1632) 1360061847 -6.102324301965685 treat image : temp/1747839147_3505042_1360061816_1373ea1240cfd7a962f56248fad5a5dd.jpg resize: (1080, 1632) 1360061816 -6.080980048722896 treat image : temp/1747839147_3505042_1360061569_c03824dbb82ecb77e533f244fae40b48.jpg resize: (1080, 1632) 1360061569 -2.860566873703292 treat image : temp/1747839147_3505042_1360061565_a2284cafb241e7d895cc59a8e79059a5.jpg resize: (1080, 1632) 1360061565 -6.109145392539498 treat image : temp/1747839147_3505042_1360061561_ae2e4148a5ff8421bcf58878de794eee.jpg resize: (1080, 1632) 1360061561 -6.023266679358986 treat image : temp/1747839147_3505042_1360061558_db7a390e2ab3deb1eb9215e4b415e68e.jpg resize: (1080, 1632) 1360061558 -6.254504400241107 treat image : temp/1747839147_3505042_1360061527_0dbbe5a9a6afbf09b68cf400daf15a93.jpg resize: (1080, 1632) 1360061527 -1.6162764579092734 treat image : temp/1747839147_3505042_1360061523_856e32f6ac330c3f33508922fd8206f0.jpg resize: (1080, 1632) 1360061523 -2.6317847648605417 treat image : temp/1747839147_3505042_1360061498_3792df2003103e24b45c739122b80858.jpg resize: (1080, 1632) 1360061498 -5.743901136788403 treat image : temp/1747839147_3505042_1360061471_2cc681a4630380523de808899a27196c.jpg resize: (1080, 1632) 1360061471 -5.652452858022445 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.014783382415771484 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.012878894805908203 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013828277587890625 save missing photos in datou_result : time spend for datou_step_exec : 16.090863704681396 time spend to save output : 0.04592156410217285 total time spend for step 1 : 16.13678526878357 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.57user 4.53system 0:21.26elapsed 89%CPU (0avgtext+0avgdata 138996maxresident)k 1784inputs+10360outputs (46major+248205minor)pagefaults 0swaps