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 : 638219 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 : 4791>100 please execute split_portfolio.py -i 19382293 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2460022'] with mtr_portfolio_ids : ['19382293'] and first list_photo_ids : [] new path : /proc/638219/ 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.9250168800354004 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 Mar 26 02:27:29 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/1742952447_638219_1333383421_7c8c7359396522cacdf745a45327a5d9.jpg resize: (1080, 1632) 1333383421 5.068917919102355 treat image : temp/1742952447_638219_1333383418_1cadd81c4c41c00a10418ecba35d3398.jpg resize: (1080, 1632) 1333383418 4.079051666134471 treat image : temp/1742952447_638219_1333383415_f786db146b01f719486f9bd667206962.jpg resize: (1080, 1632) 1333383415 0.5142678588763263 treat image : temp/1742952447_638219_1333383153_893fedff01e801c40e139f3cb8ce032a.jpg resize: (1080, 1632) 1333383153 0.901334020391668 treat image : temp/1742952447_638219_1333383151_d63d6e34af65a084f1a0858b01831dc4.jpg resize: (1080, 1632) 1333383151 3.429373041108772 treat image : temp/1742952447_638219_1333383148_793241b81f7a0caac97c25b265996ee2.jpg resize: (1080, 1632) 1333383148 4.711943424137228 treat image : temp/1742952447_638219_1333383144_944a60c62b1a4069b6c5d77f2fd74ebb.jpg resize: (1080, 1632) 1333383144 2.042700527021681 treat image : temp/1742952447_638219_1333383077_8dc7803711e9fe3c3538c391ad18b9fa.jpg resize: (1080, 1632) 1333383077 3.9651571570219426 treat image : temp/1742952447_638219_1333383013_7f0794477b99957eb8d581eec856c601.jpg resize: (1080, 1632) 1333383013 3.1546642156069913 treat image : temp/1742952447_638219_1333382940_2f7f62573aa0df3676469ffe57d61e3c.jpg resize: (1080, 1632) 1333382940 4.540438487436325 treat image : temp/1742952447_638219_1333382939_e2bc1f1512f423cd3979528d3e86a775.jpg resize: (1080, 1632) 1333382939 3.84194447263292 treat image : temp/1742952447_638219_1333382938_be434a7477264b09fb1cd4b7d83e0990.jpg resize: (1080, 1632) 1333382938 3.0399975315595857 treat image : temp/1742952447_638219_1333382936_a6bb39d019c1c349390e33cd002e3685.jpg resize: (1080, 1632) 1333382936 3.796518587657088 treat image : temp/1742952447_638219_1333382933_ab5bb3752373e57d88a362b4899ffa54.jpg resize: (1080, 1632) 1333382933 4.061965001698651 treat image : temp/1742952447_638219_1333382930_cbc4250a8bf55fb03a79cbea99400f21.jpg resize: (1080, 1632) 1333382930 0.5843194307659265 treat image : temp/1742952447_638219_1333382841_7b1f089452f6ce4b046eba7f7803b946.jpg resize: (1080, 1632) 1333382841 1.1243251053918355 treat image : temp/1742952447_638219_1333382827_5fd0b68c84becdd3e18d34e893339ee8.jpg resize: (1080, 1632) 1333382827 2.2011333084235147 treat image : temp/1742952447_638219_1333382718_d40f3840d5e4be9b53008664b642225c.jpg resize: (1080, 1632) 1333382718 2.6521619503594422 treat image : temp/1742952447_638219_1333382652_3d767074cd3f291c9243d343563a3a44.jpg resize: (1080, 1632) 1333382652 3.899656061530065 treat image : temp/1742952447_638219_1333382649_c7e3a4b3e55d4cb8939ff143aabdc662.jpg resize: (1080, 1632) 1333382649 5.877999266668559 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.015885591506958008 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.5818383693695068 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.02491450309753418 save missing photos in datou_result : time spend for datou_step_exec : 17.591260194778442 time spend to save output : 0.627314567565918 total time spend for step 1 : 18.21857476234436 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.38user 4.88system 0:23.02elapsed 83%CPU (0avgtext+0avgdata 135544maxresident)k 488inputs+3064outputs (19major+259597minor)pagefaults 0swaps