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 : 1660313 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 : 4254>100 please execute split_portfolio.py -i 24493811 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3224247'] with mtr_portfolio_ids : ['24493811'] and first list_photo_ids : [] new path : /proc/1660313/ 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.3286280632019043 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 Jul 2 19:17: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/1751476647_1660313_1370031251_6c429f30799999061a27d9c69fbeae6b.jpg resize: (1080, 1632) 1370031251 -2.9790931834934855 treat image : temp/1751476647_1660313_1370031216_71f110c6287c5f32abe4cd760761c82e.jpg resize: (1080, 1632) 1370031216 -3.7411714119382014 treat image : temp/1751476647_1660313_1370031202_13754e7870de366c093b8512d2910a16.jpg resize: (1080, 1632) 1370031202 -5.999672775702839 treat image : temp/1751476647_1660313_1370031167_528953727df359a8d9f6311f3197cdca.jpg resize: (1080, 1632) 1370031167 -5.901834300730896 treat image : temp/1751476647_1660313_1370031103_a38222b274e0cadbad8499bf554d1838.jpg resize: (1080, 1632) 1370031103 -5.668717668415841 treat image : temp/1751476647_1660313_1370031003_ae91a14daf9934ff3749139bb4fa44d6.jpg resize: (1080, 1632) 1370031003 -4.69605793494048 treat image : temp/1751476647_1660313_1370030591_d2c4434ec8b35f99f33d5b7ed42cac10.jpg resize: (1080, 1632) 1370030591 -1.749771423789947 treat image : temp/1751476647_1660313_1370030485_1988dc7b5641ba9baa45c7b0695e0a59.jpg resize: (1080, 1632) 1370030485 -1.7808567119382377 treat image : temp/1751476647_1660313_1370030382_7acda3be2e436c5c734bb4dda213dc16.jpg resize: (1080, 1632) 1370030382 -3.0173299926458577 treat image : temp/1751476647_1660313_1370030287_66638002ed624b9c80c9766f015b27d4.jpg resize: (1080, 1632) 1370030287 -2.097248610452831 treat image : temp/1751476647_1660313_1370030198_d27143fd2f7d90be951045b956144407.jpg resize: (1080, 1632) 1370030198 -2.1033902103228463 treat image : temp/1751476647_1660313_1370030106_cb295841c8b5c5a03c9f08770c516574.jpg resize: (1080, 1632) 1370030106 -3.1029739811330503 treat image : temp/1751476647_1660313_1370029830_9c50e45824c18a343d9f9ed3538402de.jpg resize: (1080, 1632) 1370029830 -4.922903523092851 treat image : temp/1751476647_1660313_1370029794_d9c0373fe71114adbd935f01834215c2.jpg resize: (1080, 1632) 1370029794 -1.9555286095313413 treat image : temp/1751476647_1660313_1370029699_42d4de38774fbbc096c3033fd75b11b8.jpg resize: (1080, 1632) 1370029699 -1.5616059065892918 treat image : temp/1751476647_1660313_1370029592_e70b94f797b2e227aaf78624dc367c5a.jpg resize: (1080, 1632) 1370029592 -2.724390832399484 treat image : temp/1751476647_1660313_1370029479_c9e1358d2bfd7ebfb073dd6fae71ddbd.jpg resize: (1080, 1632) 1370029479 -2.4478451405549224 treat image : temp/1751476647_1660313_1370029416_dde131cded466b03fc08c64116719716.jpg resize: (1080, 1632) 1370029416 -0.9342116129123312 treat image : temp/1751476647_1660313_1370026798_37a3cff11397b9b8394f6d7bc799a30e.jpg resize: (1080, 1632) 1370026798 -5.757412182171182 treat image : temp/1751476647_1660313_1370026733_69bb43c8f25bbd3c6a7d9e82ddeed9cb.jpg resize: (1080, 1632) 1370026733 -4.963505816574022 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.015863418579101562 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.012986898422241211 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.021828413009643555 save missing photos in datou_result : time spend for datou_step_exec : 16.853217363357544 time spend to save output : 0.055811166763305664 total time spend for step 1 : 16.90902853012085 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.44user 4.88system 0:21.03elapsed 91%CPU (0avgtext+0avgdata 138292maxresident)k 296inputs+8320outputs (11major+256819minor)pagefaults 0swaps