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 : 1211323 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 : 860>100 please execute split_portfolio.py -i 27016122 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3743408'] with mtr_portfolio_ids : ['27016122'] and first list_photo_ids : [] new path : /proc/1211323/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 17 ; length of list_pids : 17 ; length of list_args : 17 time to download the photos : 2.767632007598877 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 Sep 19 04:02:29 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/1758247347_1211323_1384986637_739113be738b199d7ef579b8aa73e92f.jpg resize: (1080, 1632) 1384986637 -3.7648050056389226 treat image : temp/1758247347_1211323_1384986587_172ba1545a53fce63a3540e2029276cb.jpg resize: (1080, 1632) 1384986587 -5.719001462685733 treat image : temp/1758247347_1211323_1384986540_a6981cff186911f557ebf267713a65e9.jpg resize: (1080, 1632) 1384986540 -5.7200491917087755 treat image : temp/1758247347_1211323_1384986492_38b23ee0c1cafdbc698e6a24ab68d056.jpg resize: (1080, 1632) 1384986492 -5.293848309896427 treat image : temp/1758247347_1211323_1384986452_5637bce0b7b63e36dc291ec5336101df.jpg resize: (1080, 1632) 1384986452 -5.759617446107114 treat image : temp/1758247347_1211323_1384986350_972406b37fd8385e0bdf80af86959e4d.jpg resize: (1080, 1632) 1384986350 -5.577896951243986 treat image : temp/1758247347_1211323_1384986327_6c200f437bc10006c67ecd126297e56e.jpg resize: (1080, 1632) 1384986327 -5.2952981774022865 treat image : temp/1758247347_1211323_1384986305_601998ddbfead097bec67dcc6e2556a4.jpg resize: (1080, 1632) 1384986305 -5.3446856456022935 treat image : temp/1758247347_1211323_1384986264_dc4cdf38deeb7b4d0e62e40b16051217.jpg resize: (1080, 1632) 1384986264 -5.332907067279375 treat image : temp/1758247347_1211323_1384986239_d036390df2be8b1156c75fef5560c8ba.jpg resize: (1080, 1632) 1384986239 -5.1375910999589705 treat image : temp/1758247347_1211323_1384986208_53707732a7aa3da9546d289ea26931ae.jpg resize: (1080, 1632) 1384986208 -4.221327075454373 treat image : temp/1758247347_1211323_1384986199_ac7ce5b94aab2a905dcd2d3446074bd4.jpg resize: (1080, 1632) 1384986199 -5.068524441965311 treat image : temp/1758247347_1211323_1384986197_d278cfadb2249bf29db181a0d2827f56.jpg resize: (1080, 1632) 1384986197 -3.5130969051914143 treat image : temp/1758247347_1211323_1384986195_b0ccaf75e97160373d31fca8572102fe.jpg resize: (1080, 1632) 1384986195 -1.1569829419114095 treat image : temp/1758247347_1211323_1384986193_b48b247afd22ad658d423c7230836512.jpg resize: (1080, 1632) 1384986193 -5.451067865986104 treat image : temp/1758247347_1211323_1384986185_860805fb50ee20e6d1830cfbe96006ff.jpg resize: (1080, 1632) 1384986185 -5.232309308040383 treat image : temp/1758247347_1211323_1384986184_70185c5377538f9843b3640ad02c89c4.jpg resize: (1080, 1632) 1384986184 -5.845619088999492 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 : 17 time used for this insertion : 0.011771440505981445 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 17 time used for this insertion : 0.41115450859069824 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 17 time used for this insertion : 0.4347798824310303 save missing photos in datou_result : time spend for datou_step_exec : 12.817256689071655 time spend to save output : 0.8620903491973877 total time spend for step 1 : 13.679347038269043 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 17 set_done_treatment 12.47user 2.70system 0:18.17elapsed 83%CPU (0avgtext+0avgdata 139696maxresident)k 0inputs+8488outputs (9major+229902minor)pagefaults 0swaps