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 : 3639110 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 : 3117>100 please execute split_portfolio.py -i 23145313 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2900260'] with mtr_portfolio_ids : ['23145313'] and first list_photo_ids : [] new path : /proc/3639110/ 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.3707427978515625 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 20 19:42: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/1747762947_3639110_1359848931_f07bcdc49c64e72036f8002b30ef937e.jpg resize: (1080, 1632) 1359848931 -1.3716640384462073 treat image : temp/1747762947_3639110_1359848926_1c048e19ef51530c0181822aeaf73f4f.jpg resize: (1080, 1632) 1359848926 -2.7682127621851453 treat image : temp/1747762947_3639110_1359848922_424ebfeca636c6e07f59e6753bbfda65.jpg resize: (1080, 1632) 1359848922 -4.22866798776283 treat image : temp/1747762947_3639110_1359848897_00a8c8eeb4fa012b9f8660ff6d63678e.jpg resize: (1080, 1632) 1359848897 -5.596819685580975 treat image : temp/1747762947_3639110_1359848892_b09ce4fe0f66e820781b0acd68cf85dd.jpg resize: (1080, 1632) 1359848892 -3.5382726531314157 treat image : temp/1747762947_3639110_1359848885_1bb455ef7546637745648d40e950d144.jpg resize: (1080, 1632) 1359848885 -5.385235010751557 treat image : temp/1747762947_3639110_1359848876_713676bbf12987089f9ffb7f62c8792d.jpg resize: (1080, 1632) 1359848876 -5.0676550826974704 treat image : temp/1747762947_3639110_1359848867_5ecb7e6782ae9271308e225e805df05e.jpg resize: (1080, 1632) 1359848867 -2.4514493469728778 treat image : temp/1747762947_3639110_1359848840_a548fdc8ee2a94002b735f24e7339735.jpg resize: (1080, 1632) 1359848840 -3.663507381374818 treat image : temp/1747762947_3639110_1359848837_5ce5d263dbf1d277f2dbfdd5e0fc633f.jpg resize: (1080, 1632) 1359848837 -4.744300888343404 treat image : temp/1747762947_3639110_1359848833_7c3e4dd5c38b07f9bd7e74d773bd4c63.jpg resize: (1080, 1632) 1359848833 -3.4453482476362085 treat image : temp/1747762947_3639110_1359848827_f49226181ab6dd7d851c6155bd069fc1.jpg resize: (1080, 1632) 1359848827 -4.804237455254192 treat image : temp/1747762947_3639110_1359848822_8e68aa89e1667475d5457317754b1a22.jpg resize: (1080, 1632) 1359848822 -3.88714396787665 treat image : temp/1747762947_3639110_1359848801_f0f7721d5b8a58af2a4da8cf119331a2.jpg resize: (1080, 1632) 1359848801 -4.954961232747916 treat image : temp/1747762947_3639110_1359848794_bf5d4e467f361d54afe4ff3b85fc3361.jpg resize: (1080, 1632) 1359848794 -5.800276136850308 treat image : temp/1747762947_3639110_1359848786_4b532b03060ae51961fcb5127b5489ac.jpg resize: (1080, 1632) 1359848786 -4.283662251119823 treat image : temp/1747762947_3639110_1359848781_05df7f29ab3a4027dea12f8d775e6dad.jpg resize: (1080, 1632) 1359848781 -5.43125598901868 treat image : temp/1747762947_3639110_1359848713_39d355c19b11ff1f6aa63c6a47c43e51.jpg resize: (1080, 1632) 1359848713 -4.4108645864313285 treat image : temp/1747762947_3639110_1359848688_2342e232649bd5e77fe2f55ba30a3790.jpg resize: (1080, 1632) 1359848688 -4.974863261944228 treat image : temp/1747762947_3639110_1359848075_e2c534080e1171abe1676e036aee317b.jpg resize: (1080, 1632) 1359848075 -5.948383357262712 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.016235828399658203 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.014781713485717773 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01728987693786621 save missing photos in datou_result : time spend for datou_step_exec : 16.124840021133423 time spend to save output : 0.05362677574157715 total time spend for step 1 : 16.178466796875 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.71user 4.02system 0:21.13elapsed 88%CPU (0avgtext+0avgdata 137380maxresident)k 168inputs+9096outputs (14major+255363minor)pagefaults 0swaps