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 : 3219610 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 : 366>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/3219610/ 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.305262804031372 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 13:47: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/1752061649_3219610_1371371828_085a7a005f7fd79efbaae2606220d654.jpg resize: (1080, 1632) 1371371828 -2.244250573066852 treat image : temp/1752061649_3219610_1371371810_6a7aa277f50d31e08ca9f6183383514f.jpg resize: (1080, 1632) 1371371810 -1.385600778872048 treat image : temp/1752061649_3219610_1371371808_d53afb9a7ee6a9a1740b1e980103da0c.jpg resize: (1080, 1632) 1371371808 -2.3516740675466137 treat image : temp/1752061649_3219610_1371371806_640679bbe9ea13cc477ab884b8330347.jpg resize: (1080, 1632) 1371371806 -3.6430952102249017 treat image : temp/1752061649_3219610_1371371797_60839bdd795a42166f055c010dd12ae5.jpg resize: (1080, 1632) 1371371797 -3.6262589928574096 treat image : temp/1752061649_3219610_1371371794_bfa7fe065a9671049023a3968ffcba52.jpg resize: (1080, 1632) 1371371794 -5.778192477354702 treat image : temp/1752061649_3219610_1371371764_02372c8b4689623fed0f2ac377cbc584.jpg resize: (1080, 1632) 1371371764 -5.302874944146536 treat image : temp/1752061649_3219610_1371371763_a95b84699202967e6eea1e9c14c7a074.jpg resize: (1080, 1632) 1371371763 -5.302874944146536 treat image : temp/1752061649_3219610_1371371756_68ddb665699c80898256794c2e0159a3.jpg resize: (1080, 1632) 1371371756 -5.330507642157643 treat image : temp/1752061649_3219610_1371371755_9a487516622926d4fb9591b91e6bdef7.jpg resize: (1080, 1632) 1371371755 -5.330507642157643 treat image : temp/1752061649_3219610_1371371754_bd781fa263290a2a815ddf0ea2a6f17b.jpg resize: (1080, 1632) 1371371754 -5.723504929653158 treat image : temp/1752061649_3219610_1371371753_3b15f0df7df7b8c9fe0dbb4c71cbc7c7.jpg resize: (1080, 1632) 1371371753 -5.723504929653158 treat image : temp/1752061649_3219610_1371371751_c28d9edfce187d1645ef493da17af131.jpg resize: (1080, 1632) 1371371751 -2.5172405339009254 treat image : temp/1752061649_3219610_1371371750_6899c8e428d0ed44d43f95e197056591.jpg resize: (1080, 1632) 1371371750 -2.5172405339009254 treat image : temp/1752061649_3219610_1371371735_0fafbd11cf7ae3e2e3d4e8a9ac641d96.jpg resize: (1080, 1632) 1371371735 -1.2282466401107894 treat image : temp/1752061649_3219610_1371371734_5af4275923c2a2a134ec50fdbd2fa709.jpg resize: (1080, 1632) 1371371734 -1.2282466401107894 treat image : temp/1752061649_3219610_1371371730_283b06255b725cf09395cd86fdf33e6e.jpg resize: (1080, 1632) 1371371730 -2.222530779460444 treat image : temp/1752061649_3219610_1371371729_3b184657da3516275a3cd0a92202ee70.jpg resize: (1080, 1632) 1371371729 -2.222530779460444 treat image : temp/1752061649_3219610_1371371718_3fff5cd92ce72f5f4c7faa306ea12156.jpg resize: (1080, 1632) 1371371718 -5.89033901539979 treat image : temp/1752061649_3219610_1371371715_71313fcc2d11c36c55b48ccec5921359.jpg resize: (1080, 1632) 1371371715 -5.889121073783956 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.012546777725219727 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.012907028198242188 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01602649688720703 save missing photos in datou_result : time spend for datou_step_exec : 18.047275066375732 time spend to save output : 0.04688739776611328 total time spend for step 1 : 18.094162464141846 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.36user 6.31system 0:24.45elapsed 84%CPU (0avgtext+0avgdata 140176maxresident)k 200inputs+8616outputs (17major+242588minor)pagefaults 0swaps