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 : 3762986 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 : 2716>100 please execute split_portfolio.py -i 20423330 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2574214'] with mtr_portfolio_ids : ['20423330'] and first list_photo_ids : [] new path : /proc/3762986/ 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.3466875553131104 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 Tue Feb 11 19:02: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/1739296948_3762986_1336884459_2af28753104adba25f486ebec7660cdb.jpg resize: (1080, 1632) 1336884459 -5.20389237051167 treat image : temp/1739296948_3762986_1336884456_9fbf4828e58e0633bf16090be631f93e.jpg resize: (1080, 1632) 1336884456 -5.138313618182882 treat image : temp/1739296948_3762986_1336884453_904e97941a928e43e57d8c8e3609d420.jpg resize: (1080, 1632) 1336884453 -2.4417155814642317 treat image : temp/1739296948_3762986_1336884452_c20a91fdb0e7596eb39d1a8c7df359f3.jpg resize: (1080, 1632) 1336884452 -3.5870893470559073 treat image : temp/1739296948_3762986_1336883743_ca89356ff89e36d588457f0672b9f46b.jpg resize: (1080, 1632) 1336883743 -6.3750605851175175 treat image : temp/1739296948_3762986_1336883676_5ae745a8f0e58e276df580a38b3efdd1.jpg resize: (1080, 1632) 1336883676 -6.326347335833963 treat image : temp/1739296948_3762986_1336883671_a5ac907800e769d45dc727d8a42b622f.jpg resize: (1080, 1632) 1336883671 -5.810511564607516 treat image : temp/1739296948_3762986_1336883668_0d770f1b6c5d255680d3131a2444a82c.jpg resize: (1080, 1632) 1336883668 -6.096245377479266 treat image : temp/1739296948_3762986_1336883658_84174fe848e1e098d4ea75fba9a95e16.jpg resize: (1080, 1632) 1336883658 -6.0861260125264005 treat image : temp/1739296948_3762986_1336883652_135848df960747f41bc14192956cc483.jpg resize: (1080, 1632) 1336883652 -4.607030771971829 treat image : temp/1739296948_3762986_1336883638_c4b9489fc31c5d29eca9798d98967536.jpg resize: (1080, 1632) 1336883638 -2.2620705856211534 treat image : temp/1739296948_3762986_1336883637_892c260f0d0b36f6ac5e8ec1b22b2ed1.jpg resize: (1080, 1632) 1336883637 -2.2620705856211534 treat image : temp/1739296948_3762986_1336883634_a12ce7c7f5283523edcf4d54a1280e07.jpg resize: (1080, 1632) 1336883634 0.15472305300984635 treat image : temp/1739296948_3762986_1336883632_dbc9ac68c973e43cbac0fd14d3a004db.jpg resize: (1080, 1632) 1336883632 0.15472305300984635 treat image : temp/1739296948_3762986_1336883629_f81b6bc55d166ae107f4c90e4383575f.jpg resize: (1080, 1632) 1336883629 -2.916367167869384 treat image : temp/1739296948_3762986_1336883626_7b7abd3bd051afd627455f803e9d7fb1.jpg resize: (1080, 1632) 1336883626 -2.916367167869384 treat image : temp/1739296948_3762986_1336883625_cc869045ebaa3efc861a1b0da3e05bb0.jpg resize: (1080, 1632) 1336883625 -2.8543743273169104 treat image : temp/1739296948_3762986_1336883624_49e7369c17295a5684f5b925bfeea3e7.jpg resize: (1080, 1632) 1336883624 -2.8543743273169104 treat image : temp/1739296948_3762986_1336883621_f0c75b02336ab06e4e33f33aaf4374a2.jpg resize: (1080, 1632) 1336883621 -6.423475191757779 treat image : temp/1739296948_3762986_1336883620_e5d816d36e85e852bef0287154d25edc.jpg resize: (1080, 1632) 1336883620 -6.423475191757779 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.028797388076782227 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.013177633285522461 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014886856079101562 save missing photos in datou_result : time spend for datou_step_exec : 15.733821392059326 time spend to save output : 0.06203341484069824 total time spend for step 1 : 15.795854806900024 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.23user 4.06system 0:22.17elapsed 82%CPU (0avgtext+0avgdata 138888maxresident)k 104inputs+9776outputs (7major+263199minor)pagefaults 0swaps