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 : 2373838 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 : 584>100 please execute split_portfolio.py -i 21403117 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2667237'] with mtr_portfolio_ids : ['21403117'] and first list_photo_ids : [] new path : /proc/2373838/ 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 : 4.204726219177246 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 Fri Mar 14 06:47:32 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/1741931248_2373838_1344077689_629851c7d8d39139a1132c95861404d6.jpg resize: (1080, 1632) 1344077689 -6.713986763283082 treat image : temp/1741931248_2373838_1344077685_b0e6b3c9a735795a147703bf413bd704.jpg resize: (1080, 1632) 1344077685 -5.005204348648474 treat image : temp/1741931248_2373838_1344077681_94c24cbb36a70c121d7c0b4c1ebcb991.jpg resize: (1080, 1632) 1344077681 -6.464854583721965 treat image : temp/1741931248_2373838_1344077678_aa1e18dfda0fe16c807da0976d7c43f9.jpg resize: (1080, 1632) 1344077678 -6.395500638953928 treat image : temp/1741931248_2373838_1344077655_ed0a491cfc996c962c206e4aff871303.jpg resize: (1080, 1632) 1344077655 -6.0977285725383945 treat image : temp/1741931248_2373838_1344077653_83a501c0988cb9c0713a74a45ee897ab.jpg resize: (1080, 1632) 1344077653 -5.5579744561885045 treat image : temp/1741931248_2373838_1344077651_c9b5aa6fd3dcc0dfe218165c3564e298.jpg resize: (1080, 1632) 1344077651 -2.4649004817219544 treat image : temp/1741931248_2373838_1344077650_8b951aac7c919d6315cee9aa900a097a.jpg resize: (1080, 1632) 1344077650 -2.881156934315486 treat image : temp/1741931248_2373838_1344077648_6dc192f9e4a999139797249a83d3199f.jpg resize: (1080, 1632) 1344077648 -3.529333224000257 treat image : temp/1741931248_2373838_1344077645_4f7f563fb86bfd63284eb4e11eb68013.jpg resize: (1080, 1632) 1344077645 -6.521263149134017 treat image : temp/1741931248_2373838_1344077516_95266f71c7d3bff4dfa97d3baa3227ee.jpg resize: (1080, 1632) 1344077516 -6.034195214787999 treat image : temp/1741931248_2373838_1344077512_d3e1146995870eb27044c2014e294356.jpg resize: (1080, 1632) 1344077512 -5.961383251295612 treat image : temp/1741931248_2373838_1344077510_a8cec5ebac7d1e35b866447e76dc52ff.jpg resize: (1080, 1632) 1344077510 -2.1935228498770756 treat image : temp/1741931248_2373838_1344077504_d5a815ac6ab504cf243ffa4e88931596.jpg resize: (1080, 1632) 1344077504 -0.9478303305289231 treat image : temp/1741931248_2373838_1344077494_1824172e972e5a33e36add155f900d27.jpg resize: (1080, 1632) 1344077494 -4.379220072667966 treat image : temp/1741931248_2373838_1344077465_7898d79e09f8346ee78948354fe6619b.jpg resize: (1080, 1632) 1344077465 -4.570848397013245 treat image : temp/1741931248_2373838_1344077462_94f234a8600764d0a8722a9d340e3ac7.jpg resize: (1080, 1632) 1344077462 -6.157012055753865 treat image : temp/1741931248_2373838_1344077367_6b36fedce002cfbf9cd8ea18583b23b3.jpg resize: (1080, 1632) 1344077367 -0.9478303305289231 treat image : temp/1741931248_2373838_1344077364_b4c87649b09794c8079fa53614f0dc5b.jpg resize: (1080, 1632) 1344077364 -4.379220072667966 treat image : temp/1741931248_2373838_1344077361_83869d09691b256bb69384183f96252d.jpg resize: (1080, 1632) 1344077361 -4.570848397013245 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.015597820281982422 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.375957727432251 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015918493270874023 save missing photos in datou_result : time spend for datou_step_exec : 16.90927505493164 time spend to save output : 0.4120798110961914 total time spend for step 1 : 17.321354866027832 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.94user 5.51system 0:24.42elapsed 79%CPU (0avgtext+0avgdata 139452maxresident)k 144inputs+10288outputs (6major+253734minor)pagefaults 0swaps