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 : 3139022 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 : 4113>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/3139022/ 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.273158073425293 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 23:02:28 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/1744923746_3139022_1350877877_4b64377f4354327f31ff2a91b5ca85f8.jpg resize: (1080, 1632) 1350877877 -5.463470315526606 treat image : temp/1744923746_3139022_1350877812_c93a4f0b019c95fbe9e4e2d7a2e32783.jpg resize: (1080, 1632) 1350877812 -2.9091715630862676 treat image : temp/1744923746_3139022_1350877725_5115eca6075d07a5bda90577c6b82a5f.jpg resize: (1080, 1632) 1350877725 -1.7854642491100159 treat image : temp/1744923746_3139022_1350877655_bdefbc7eee57c39d1374f0a55674b9d2.jpg resize: (1080, 1632) 1350877655 -2.340033259153981 treat image : temp/1744923746_3139022_1350876977_f8818ec56462b33adf013b0b7aca080d.jpg resize: (1080, 1632) 1350876977 -6.09686123641301 treat image : temp/1744923746_3139022_1350876948_da03fb668bf125dc7c48702092c3d5e9.jpg resize: (1080, 1632) 1350876948 -5.930676719023457 treat image : temp/1744923746_3139022_1350876916_35399c616f8336fac9eea11c260b2daa.jpg resize: (1080, 1632) 1350876916 -5.655236468486435 treat image : temp/1744923746_3139022_1350876873_e63938cbddb3b3c0c894597d00a48f88.jpg resize: (1080, 1632) 1350876873 -5.729061913625744 treat image : temp/1744923746_3139022_1350876827_2e7fba71c2d33e911b0dedaeaa9f8bd0.jpg resize: (1080, 1632) 1350876827 -6.134028623636202 treat image : temp/1744923746_3139022_1350876796_58c8042d555e46dc14cf3232cfaa2e39.jpg resize: (1080, 1632) 1350876796 -6.000034232643574 treat image : temp/1744923746_3139022_1350876557_3cc196d54018ccdad073436be99825fb.jpg resize: (1080, 1632) 1350876557 -4.221096074873435 treat image : temp/1744923746_3139022_1350876545_783187c1df2003fa6a2ef15eaf01c745.jpg resize: (1080, 1632) 1350876545 -4.221096074873435 treat image : temp/1744923746_3139022_1350876521_a036ee3db45095f2876efca02797b38e.jpg resize: (1080, 1632) 1350876521 -5.236179676604823 treat image : temp/1744923746_3139022_1350876514_e7ca7f875def68cc31c1f420746d9040.jpg resize: (1080, 1632) 1350876514 -5.236179676604823 treat image : temp/1744923746_3139022_1350876484_630133a2969b1a29f05be019482eeaa3.jpg resize: (1080, 1632) 1350876484 -6.442665171534659 treat image : temp/1744923746_3139022_1350876471_eec9ccb38afc941b0547a2fd8a71f8de.jpg resize: (1080, 1632) 1350876471 -6.442665171534659 treat image : temp/1744923746_3139022_1350876379_07ace62a6bb76642875973af83d54d6d.jpg resize: (1080, 1632) 1350876379 -5.485242539346765 treat image : temp/1744923746_3139022_1350876372_eb0683bdbcd0f1dc93a1a01a20aa3ce0.jpg resize: (1080, 1632) 1350876372 -5.146403153589868 treat image : temp/1744923746_3139022_1350876356_a9f1cb16f791b6cbbed99777b8d66749.jpg resize: (1080, 1632) 1350876356 -1.3839778292112355 treat image : temp/1744923746_3139022_1350876322_f4e59fa5b2a064f6b06332f324040170.jpg resize: (1080, 1632) 1350876322 -2.6032591437672212 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.01534724235534668 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.015159845352172852 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01755523681640625 save missing photos in datou_result : time spend for datou_step_exec : 18.207720041275024 time spend to save output : 0.053462982177734375 total time spend for step 1 : 18.26118302345276 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.91user 5.15system 0:22.70elapsed 88%CPU (0avgtext+0avgdata 138908maxresident)k 152inputs+10208outputs (6major+257851minor)pagefaults 0swaps