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 : 1744533 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 : 978>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/1744533/ 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.5986971855163574 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 Wed May 21 08:32: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/1747809148_1744533_1359975772_0a906deea8f56365044d4315c2cf5864.jpg resize: (1080, 1632) 1359975772 -1.6990759566843934 treat image : temp/1747809148_1744533_1359975506_9436bbbb1cd2256b1a1cce4a0bd29669.jpg resize: (1080, 1632) 1359975506 -5.191262758670387 treat image : temp/1747809148_1744533_1359975501_fed4ab13a616bda6e5ede1416dfc9f99.jpg resize: (1080, 1632) 1359975501 -1.568016495143787 treat image : temp/1747809148_1744533_1359975462_91d5f0874e99710a0a2727c945310490.jpg resize: (1080, 1632) 1359975462 -5.616785427583097 treat image : temp/1747809148_1744533_1359975451_e36c3400a371dacae33dfd2ea7993ac4.jpg resize: (1080, 1632) 1359975451 -5.843367061391941 treat image : temp/1747809148_1744533_1359975446_27c8a1e3e030c87e2dc30583f8fe255e.jpg resize: (1080, 1632) 1359975446 -4.596581772531631 treat image : temp/1747809148_1744533_1359975440_0ab7d8621a37b7d5b7a678a7e6c51d2b.jpg resize: (1080, 1632) 1359975440 -5.909691371425631 treat image : temp/1747809148_1744533_1359975433_9f28727362805b6dbafa80b673137a06.jpg resize: (1080, 1632) 1359975433 -5.47760479182534 treat image : temp/1747809148_1744533_1359975187_57c400031918b86503d1328531f7aaa5.jpg resize: (1080, 1632) 1359975187 -5.8289212450541 treat image : temp/1747809148_1744533_1359975183_049d37e2703fa0fb1fd6673ad6142a8b.jpg resize: (1080, 1632) 1359975183 -6.128992956614877 treat image : temp/1747809148_1744533_1359974903_447c914ef3a92746c4385caaae3eda11.jpg resize: (1080, 1632) 1359974903 -6.080333331096144 treat image : temp/1747809148_1744533_1359974896_aea4fde4391a1aa6094b78db6a87cae4.jpg resize: (1080, 1632) 1359974896 -3.6298381772283053 treat image : temp/1747809148_1744533_1359974892_5b7eecf64655c182049a3a986bd669eb.jpg resize: (1080, 1632) 1359974892 -1.1199780101403667 treat image : temp/1747809148_1744533_1359974887_e58931c69fbeb8182c3cdde1ca1fafc3.jpg resize: (1080, 1632) 1359974887 -2.7307109325569288 treat image : temp/1747809148_1744533_1359974857_b77e953b72841610a91e724fa2a77f62.jpg resize: (1080, 1632) 1359974857 -3.06643671488614 treat image : temp/1747809148_1744533_1359974848_11d180785a81604836277161b34eaab7.jpg resize: (1080, 1632) 1359974848 -5.322442394763421 treat image : temp/1747809148_1744533_1359974842_7ee4c540137c4065700fc4a280220ec0.jpg resize: (1080, 1632) 1359974842 -2.8829928208415403 treat image : temp/1747809148_1744533_1359974835_7454861242220f11442567ed72206ac4.jpg resize: (1080, 1632) 1359974835 -4.10046276403339 treat image : temp/1747809148_1744533_1359974830_ec4bbff17299f183c681bb4c8fccc426.jpg resize: (1080, 1632) 1359974830 -5.582068542041263 treat image : temp/1747809148_1744533_1359974825_7f66d3b94d1d0fe1132d2368502dc7d3.jpg resize: (1080, 1632) 1359974825 -5.826473454964189 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.01670551300048828 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.038945674896240234 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0370786190032959 save missing photos in datou_result : time spend for datou_step_exec : 17.006126642227173 time spend to save output : 0.0977776050567627 total time spend for step 1 : 17.103904247283936 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.20user 5.18system 0:23.42elapsed 87%CPU (0avgtext+0avgdata 139244maxresident)k 128inputs+9712outputs (1major+257002minor)pagefaults 0swaps