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 : 3522350 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 : 2106>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/3522350/ 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.5049781799316406 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 Jul 9 16:57: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/1752073047_3522350_1371413838_e23fba66dc43989926b72354eada661a.jpg resize: (1080, 1632) 1371413838 -4.8986596620188925 treat image : temp/1752073047_3522350_1371413837_bbe61269bfadc129ff068b0967b146e6.jpg resize: (1080, 1632) 1371413837 -4.158158101506843 treat image : temp/1752073047_3522350_1371413833_9608aaad28612d87950a00bc70c81cff.jpg resize: (1080, 1632) 1371413833 -1.647104515292686 treat image : temp/1752073047_3522350_1371413830_4ddc7c1a7a35b78c761c224469ab2030.jpg resize: (1080, 1632) 1371413830 -2.7414760902575104 treat image : temp/1752073047_3522350_1371413817_1328aa5088a5dee0c001fad93698b34a.jpg resize: (1080, 1632) 1371413817 -1.6272771181361863 treat image : temp/1752073047_3522350_1371413810_771059667187656d7f6cae9b9102e3ab.jpg resize: (1080, 1632) 1371413810 -1.455407071990458 treat image : temp/1752073047_3522350_1371413807_9507f1750486d85137e0343ecc143211.jpg resize: (1080, 1632) 1371413807 -2.337212715137562 treat image : temp/1752073047_3522350_1371413800_278bd562f9d2e1af8153528e3033e5b6.jpg resize: (1080, 1632) 1371413800 -2.3245428836041566 treat image : temp/1752073047_3522350_1371413798_f25d2582bf01be664d9e33f7768cf82d.jpg resize: (1080, 1632) 1371413798 -2.4294850463631383 treat image : temp/1752073047_3522350_1371413778_0a6081dbe14215690d3fc55825ffc598.jpg resize: (1080, 1632) 1371413778 -3.4804628441166567 treat image : temp/1752073047_3522350_1371412934_d646374085ebda4e01c1a3f665e88c06.jpg resize: (1080, 1632) 1371412934 -4.488659230854606 treat image : temp/1752073047_3522350_1371412930_42f03aa055b01ed2804e79b401e42dd9.jpg resize: (1080, 1632) 1371412930 -5.407368694026596 treat image : temp/1752073047_3522350_1371412926_a2b2b3c5115e2cc0d77e150469635515.jpg resize: (1080, 1632) 1371412926 -4.866748752317258 treat image : temp/1752073047_3522350_1371412922_365f76eaf71e303e8e155e90a5e946e3.jpg resize: (1080, 1632) 1371412922 -3.8551080986627664 treat image : temp/1752073047_3522350_1371412916_3fae75584156608640cf884c6b65e2b3.jpg resize: (1080, 1632) 1371412916 -5.197128191801484 treat image : temp/1752073047_3522350_1371412912_40a59ec508373c8a7f466e94d3bfc7a0.jpg resize: (1080, 1632) 1371412912 -1.6445492973730569 treat image : temp/1752073047_3522350_1371412414_bcffd0eef8684f72b2e766b167ed4bed.jpg resize: (1080, 1632) 1371412414 -5.986711908649481 treat image : temp/1752073047_3522350_1371412383_c15320e49b58049d3c6d404214afc787.jpg resize: (1080, 1632) 1371412383 -1.4274486733811487 treat image : temp/1752073047_3522350_1371412350_d0041e99596dee5a5d0e2c66adf3432c.jpg resize: (1080, 1632) 1371412350 -2.2790243585146412 treat image : temp/1752073047_3522350_1371412324_ca316a9a8c0b6d5941414976029b5dd8.jpg resize: (1080, 1632) 1371412324 -2.289237243918237 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.012614011764526367 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.012159585952758789 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014326333999633789 save missing photos in datou_result : time spend for datou_step_exec : 18.583441019058228 time spend to save output : 0.04389691352844238 total time spend for step 1 : 18.62733793258667 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.31user 6.96system 0:23.97elapsed 88%CPU (0avgtext+0avgdata 139056maxresident)k 384inputs+7904outputs (6major+258570minor)pagefaults 0swaps