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 : 3085108 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 : 3113>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/3085108/ 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.5256078243255615 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 Jul 11 10:02: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/1752220946_3085108_1371562971_d7e54ff1e6f450d90c74374d6e8438a1.jpg resize: (1080, 1632) 1371562971 -5.410481302015111 treat image : temp/1752220946_3085108_1371562967_6f029b3e1922f63d56bf94e19844195b.jpg resize: (1080, 1632) 1371562967 -5.398918771295034 treat image : temp/1752220946_3085108_1371562676_23c1f534a18e9f2d1c9226549bbd7b70.jpg resize: (1080, 1632) 1371562676 -5.408971140007429 treat image : temp/1752220946_3085108_1371562572_53c38c2ec3d2051fc40d78049dcd7120.jpg resize: (1080, 1632) 1371562572 -5.401445052824038 treat image : temp/1752220946_3085108_1371562329_1fbced825d6535a475629571a7521625.jpg resize: (1080, 1632) 1371562329 -5.407925851529897 treat image : temp/1752220946_3085108_1371562322_e3fd50111825bdc4f0186d911dfd5d52.jpg resize: (1080, 1632) 1371562322 -5.3944003998299 treat image : temp/1752220946_3085108_1371562067_74b2102b7575bf8ceccf863636bab176.jpg resize: (1080, 1632) 1371562067 -5.41424314546694 treat image : temp/1752220946_3085108_1371562039_1383a2e06403d717444c4eb652b2ebe1.jpg resize: (1080, 1632) 1371562039 -5.4038095039905665 treat image : temp/1752220946_3085108_1371561768_6ee4ebe9d386244f0d9b4d22d98b5a27.jpg resize: (1080, 1632) 1371561768 -5.414758042663797 treat image : temp/1752220946_3085108_1371561699_28c1db3ae3b571514099908f498ac28c.jpg resize: (1080, 1632) 1371561699 -5.407980672499965 treat image : temp/1752220946_3085108_1371561698_6f0d501b2305941355db62d2b42e3752.jpg resize: (1080, 1632) 1371561698 -5.414462466385562 treat image : temp/1752220946_3085108_1371561694_baa529b22539532cf2d9d3f196361ef1.jpg resize: (1080, 1632) 1371561694 -5.407980672499965 treat image : temp/1752220946_3085108_1371561626_901625a41ef0c80df1fdf29b10cedf01.jpg resize: (1080, 1632) 1371561626 -5.405816041232574 treat image : temp/1752220946_3085108_1371561621_63928f1a04e90f1c9b0fbd6e6b94d3da.jpg resize: (1080, 1632) 1371561621 -5.400361928788251 treat image : temp/1752220946_3085108_1371561553_d95bfd5c9d2ebe848a99093a208891a9.jpg resize: (1080, 1632) 1371561553 -5.402256645710882 treat image : temp/1752220946_3085108_1371561431_433ad23a4b4b8f28857552cf233c6a03.jpg resize: (1080, 1632) 1371561431 -5.411230145390101 treat image : temp/1752220946_3085108_1371561368_799b69a98ebd2fd90e4bae291dd4413b.jpg resize: (1080, 1632) 1371561368 -5.413245168438531 treat image : temp/1752220946_3085108_1371561367_819479365da06741bcc065dc56be9817.jpg resize: (1080, 1632) 1371561367 -5.405723438285941 treat image : temp/1752220946_3085108_1371561362_283698ed680040bf6a761248b035229e.jpg resize: (1080, 1632) 1371561362 -5.405723438285941 treat image : temp/1752220946_3085108_1371561245_7fdcbea3374ad039b8cc3f4b3bc5ebf3.jpg resize: (1080, 1632) 1371561245 -5.405036264110742 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.011790275573730469 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.013988971710205078 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014964580535888672 save missing photos in datou_result : time spend for datou_step_exec : 15.597689390182495 time spend to save output : 0.04556894302368164 total time spend for step 1 : 15.643258333206177 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.03user 3.99system 0:20.46elapsed 88%CPU (0avgtext+0avgdata 141772maxresident)k 16inputs+10424outputs (1major+256647minor)pagefaults 0swaps