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 : 2046004 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 : 3287>100 please execute split_portfolio.py -i 22109363 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2728262'] with mtr_portfolio_ids : ['22109363'] and first list_photo_ids : [] new path : /proc/2046004/ 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.783677101135254 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 Thu Apr 17 19:32:33 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/1744911150_2046004_1350798773_f548fb3f86ad557f41050671d3ba439a.jpg resize: (1080, 1632) 1350798773 -5.340806584314034 treat image : temp/1744911150_2046004_1350798754_1a608c3a029ce5874076c04b21bcb41b.jpg resize: (1080, 1632) 1350798754 -3.348405050969067 treat image : temp/1744911150_2046004_1350798327_92d75a6a6e324c8e6c0be901cc2552ce.jpg resize: (1080, 1632) 1350798327 -5.741226782966872 treat image : temp/1744911150_2046004_1350798294_f5c93f4aa4ff2159d06ee1ae2cc5f5db.jpg resize: (1080, 1632) 1350798294 -5.302480761199194 treat image : temp/1744911150_2046004_1350754363_2308679d6cb32f837eab824a7f73322b.jpg resize: (1080, 1632) 1350754363 -5.669743775716693 treat image : temp/1744911150_2046004_1350754343_3d10bdd6731b7846b7978b533370a2dc.jpg resize: (1080, 1632) 1350754343 -5.483314190058318 treat image : temp/1744911150_2046004_1350754339_b9025904558d312d990af8dbe69a74ee.jpg resize: (1080, 1632) 1350754339 -5.9851515860230675 treat image : temp/1744911150_2046004_1350754334_e34fcae1256acef8a86c7751e6974326.jpg resize: (1080, 1632) 1350754334 -4.5810402901443785 treat image : temp/1744911150_2046004_1350753834_ed7db891986d78a20765e25bfd730131.jpg resize: (1080, 1632) 1350753834 -5.297964488173546 treat image : temp/1744911150_2046004_1350753783_610258f232b95977961be2f6996d071a.jpg resize: (1080, 1632) 1350753783 -2.090542415375871 treat image : temp/1744911150_2046004_1350753750_9f0423bb5dca0154d3d71fc22be173a9.jpg resize: (1080, 1632) 1350753750 -1.2821910066892659 treat image : temp/1744911150_2046004_1350753712_d0039541c227b6a4b88de86d8165f33c.jpg resize: (1080, 1632) 1350753712 -1.858864121549275 treat image : temp/1744911150_2046004_1350753667_530a12372bc3cc09c3600142a319204f.jpg resize: (1080, 1632) 1350753667 -3.419324111760815 treat image : temp/1744911150_2046004_1350753223_e04658120aca4c0b4ffa26d0785029e3.jpg resize: (1080, 1632) 1350753223 -5.00981002772619 treat image : temp/1744911150_2046004_1350753166_eb34a3b40e64aacbc6dfff941744ebd4.jpg resize: (1080, 1632) 1350753166 -5.42483088301907 treat image : temp/1744911150_2046004_1350753111_09ded4b42298387fdc6091b8b25576ae.jpg resize: (1080, 1632) 1350753111 -5.822830349002106 treat image : temp/1744911150_2046004_1350753034_695d698cebeb6a875fdc9839b0ee0c1a.jpg resize: (1080, 1632) 1350753034 -4.652827223759532 treat image : temp/1744911150_2046004_1350752969_32eed443783c2a7457a7c19abe73a1d7.jpg resize: (1080, 1632) 1350752969 -4.475473486195777 treat image : temp/1744911150_2046004_1350752904_501faac63c1fcf1d2b5f660389fbfd17.jpg resize: (1080, 1632) 1350752904 -3.3325879812763466 treat image : temp/1744911150_2046004_1350752039_36b1440d79d5d4e7cfbfa1b78cf03e04.jpg resize: (1080, 1632) 1350752039 -5.480117583064202 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.012599945068359375 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.01391148567199707 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015012741088867188 save missing photos in datou_result : time spend for datou_step_exec : 18.686439752578735 time spend to save output : 0.0902869701385498 total time spend for step 1 : 18.776726722717285 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.58user 5.79system 0:25.41elapsed 84%CPU (0avgtext+0avgdata 132944maxresident)k 15904inputs+9704outputs (95major+251601minor)pagefaults 0swaps