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 : 3381872 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 : 2430>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/3381872/ 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.236724376678467 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 May 13 16:22: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/1747146148_3381872_1357862280_e450624ac3997e8c64b3af3b5e6151d2.jpg resize: (1080, 1632) 1357862280 -6.042143590861934 treat image : temp/1747146148_3381872_1357862278_8dc4d5950dcc64374894545ef7c8f7f2.jpg resize: (1080, 1632) 1357862278 -5.609541916173826 treat image : temp/1747146148_3381872_1357862274_84fce54b96b39f1b36e91a785f73513a.jpg resize: (1080, 1632) 1357862274 -5.596099402928492 treat image : temp/1747146148_3381872_1357862270_7a0f87dc6c7bac0069461bfd041f2839.jpg resize: (1080, 1632) 1357862270 -3.913423711684685 treat image : temp/1747146148_3381872_1357862238_903dc6d2b9bc91df9c4764ef9eaac263.jpg resize: (1080, 1632) 1357862238 -4.421673230287453 treat image : temp/1747146148_3381872_1357862234_a92f0be1c508bdbb7b0e20db5392008a.jpg resize: (1080, 1632) 1357862234 -5.968324977714892 treat image : temp/1747146148_3381872_1357862230_c415768435983f46f8928a420dfa435c.jpg resize: (1080, 1632) 1357862230 -5.982477978081496 treat image : temp/1747146148_3381872_1357862176_3dd073b6499b362c1d07d8f4263369da.jpg resize: (1080, 1632) 1357862176 -1.314704248246781 treat image : temp/1747146148_3381872_1357862170_776b61a326ceeef57d21c07a90d22cb3.jpg resize: (1080, 1632) 1357862170 -5.427025178108471 treat image : temp/1747146148_3381872_1357862165_99d1b802d7f528dbaaa6a5c98a33b481.jpg resize: (1080, 1632) 1357862165 -6.188152974378468 treat image : temp/1747146148_3381872_1357862160_b5786a1722b746ff2f0d03abf41c810a.jpg resize: (1080, 1632) 1357862160 -3.853325503674466 treat image : temp/1747146148_3381872_1357862156_32b977e0c2905edf8675392836a1044a.jpg resize: (1080, 1632) 1357862156 -5.19026846563868 treat image : temp/1747146148_3381872_1357862112_e1df6c08f5ea9263aa30959d11ee6d70.jpg resize: (1080, 1632) 1357862112 -4.565183069571223 treat image : temp/1747146148_3381872_1357862108_8faefeed3b986caed825dd8170e99a93.jpg resize: (1080, 1632) 1357862108 -4.829773363209581 treat image : temp/1747146148_3381872_1357862104_fa25e52b6b5061a6e37d1ede105ae0fe.jpg resize: (1080, 1632) 1357862104 -5.693938967270141 treat image : temp/1747146148_3381872_1357862100_27e41b20e0fddbf8914fbe7be69d87d4.jpg resize: (1080, 1632) 1357862100 -1.9072147994435953 treat image : temp/1747146148_3381872_1357862067_f6fecc3f86177318899e3819a54cfe79.jpg resize: (1080, 1632) 1357862067 -1.5333637835094587 treat image : temp/1747146148_3381872_1357862063_c49ef304d8434b7bf1709a97e6fe9218.jpg resize: (1080, 1632) 1357862063 -3.4413706347575 treat image : temp/1747146148_3381872_1357862057_3be247b283db568003c85e72c8b54f0d.jpg resize: (1080, 1632) 1357862057 -5.008504040794686 treat image : temp/1747146148_3381872_1357862052_548ab3f2651ccfbd7f87d169986a470f.jpg resize: (1080, 1632) 1357862052 -4.950047484427933 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.012665033340454102 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.015993833541870117 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017974138259887695 save missing photos in datou_result : time spend for datou_step_exec : 16.768744707107544 time spend to save output : 0.051999807357788086 total time spend for step 1 : 16.820744514465332 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.93user 4.39system 0:21.67elapsed 89%CPU (0avgtext+0avgdata 140348maxresident)k 144inputs+10064outputs (10major+260689minor)pagefaults 0swaps