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 : 2277647 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 : 6502>100 please execute split_portfolio.py -i 24580131 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3234427'] with mtr_portfolio_ids : ['24580131'] and first list_photo_ids : [] new path : /proc/2277647/ 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.3252503871917725 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 Fri Jul 4 21:32: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/1751657548_2277647_1370691263_84a564ec952f6aaff2f75db264b6f1e9.jpg resize: (1080, 1632) 1370691263 -3.4767536479416425 treat image : temp/1751657548_2277647_1370691244_790fce3eb51269d6f0513b3e3d5d979a.jpg resize: (1080, 1632) 1370691244 -5.1780979986956455 treat image : temp/1751657548_2277647_1370691147_8b480697ab349f86c1db300df1974157.jpg resize: (1080, 1632) 1370691147 -4.5687036322800525 treat image : temp/1751657548_2277647_1370691112_6f6d8c91168f7d7fd17c01c810d25933.jpg resize: (1080, 1632) 1370691112 -5.12079577629981 treat image : temp/1751657548_2277647_1370691093_e0ea534bd752d0d50589966249d9504f.jpg resize: (1080, 1632) 1370691093 -4.096789067428694 treat image : temp/1751657548_2277647_1370691091_ef59a13b1638428e9ed8612a6c48572a.jpg resize: (1080, 1632) 1370691091 -1.3639493616956417 treat image : temp/1751657548_2277647_1370691073_c0818179043ff73a6cdc73bcaff4d6df.jpg resize: (1080, 1632) 1370691073 -5.631823286041073 treat image : temp/1751657548_2277647_1370691043_6b5ef807ff7dd6b6ff7dd05ea03c9b0d.jpg resize: (1080, 1632) 1370691043 -5.631987075062399 treat image : temp/1751657548_2277647_1370691040_81caedd87404119ef1ccebfeabce5e0b.jpg resize: (1080, 1632) 1370691040 -5.63934779610104 treat image : temp/1751657548_2277647_1370691035_23533e44280aa0fc04684ced57b84409.jpg resize: (1080, 1632) 1370691035 -5.633446782272937 treat image : temp/1751657548_2277647_1370691028_0801f968160a87cef99189fbd044eee8.jpg resize: (1080, 1632) 1370691028 -5.633927106774414 treat image : temp/1751657548_2277647_1370691027_effac89195b9d1f76a0d66d01f41f7eb.jpg resize: (1080, 1632) 1370691027 -5.636679736581823 treat image : temp/1751657548_2277647_1370690993_be6c2312ae9807f235d7c95dda2b5f26.jpg resize: (1080, 1632) 1370690993 -1.1784048555447704 treat image : temp/1751657548_2277647_1370690988_dc9c4f0ff323c16e8018e6cdea2b9913.jpg resize: (1080, 1632) 1370690988 -4.724463526832907 treat image : temp/1751657548_2277647_1370690985_8dd861a12c80c68f87810f890e48a3a5.jpg resize: (1080, 1632) 1370690985 -5.444785547874639 treat image : temp/1751657548_2277647_1370690983_08cc704629563fd99020b7c046001f49.jpg resize: (1080, 1632) 1370690983 -5.416908395852693 treat image : temp/1751657548_2277647_1370690969_9300ccafcfa940c09175022f56d5e891.jpg resize: (1080, 1632) 1370690969 -5.312762797567841 treat image : temp/1751657548_2277647_1370690957_c5b240166ccaae62384deaf7482cc020.jpg resize: (1080, 1632) 1370690957 -5.412196726667075 treat image : temp/1751657548_2277647_1370690853_a39fe7c16c79c79b3b51a492515da579.jpg resize: (1080, 1632) 1370690853 -5.075843748516404 treat image : temp/1751657548_2277647_1370690851_b880872a7335a235a4e405bffdebb71d.jpg resize: (1080, 1632) 1370690851 -5.009916059068673 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.017589807510375977 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.016063451766967773 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017864227294921875 save missing photos in datou_result : time spend for datou_step_exec : 18.469865083694458 time spend to save output : 0.056763410568237305 total time spend for step 1 : 18.526628494262695 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.97user 6.14system 0:24.31elapsed 86%CPU (0avgtext+0avgdata 136964maxresident)k 136inputs+9608outputs (11major+267311minor)pagefaults 0swaps