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 : 2916697 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 : 5506>100 please execute split_portfolio.py -i 26769748 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3700792'] with mtr_portfolio_ids : ['26769748'] and first list_photo_ids : [] new path : /proc/2916697/ 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 : 3.430504560470581 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 Sep 16 14:57:31 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/1758027447_2916697_1383578681_d42957c950736f41f4b052e07f090a16.jpg resize: (1080, 1632) 1383578681 -5.515629500576911 treat image : temp/1758027447_2916697_1383578635_6e8d39697e856c5cfbb41258cad5ca5a.jpg resize: (1080, 1632) 1383578635 -5.627619960238498 treat image : temp/1758027447_2916697_1383578275_a48703671b89178bf744d3a6f5a4ed7e.jpg resize: (1080, 1632) 1383578275 -5.685738975327398 treat image : temp/1758027447_2916697_1383578248_109b2931a9126b1ffc656fe4ed2e2688.jpg resize: (1080, 1632) 1383578248 -5.400822537190111 treat image : temp/1758027447_2916697_1383578223_0f041dddab8da52ef79a710e18c7cd32.jpg resize: (1080, 1632) 1383578223 -5.1788543531231275 treat image : temp/1758027447_2916697_1383578198_4f48572e6e1396e105d03d78085d31d7.jpg resize: (1080, 1632) 1383578198 -4.75015814286246 treat image : temp/1758027447_2916697_1383577792_ca12e0a5629684eb56ba4c5c94819a12.jpg resize: (1080, 1632) 1383577792 -2.450433383565148 treat image : temp/1758027447_2916697_1383577768_935212233ac5dff39b7f0cca4ebc53ad.jpg resize: (1080, 1632) 1383577768 -4.661200635832596 treat image : temp/1758027447_2916697_1383577744_0bac717730b3999325b2eb55d2a6cb26.jpg resize: (1080, 1632) 1383577744 -5.353584803839458 treat image : temp/1758027447_2916697_1383577716_121714ca38f8e569ade04d708dc04b4c.jpg resize: (1080, 1632) 1383577716 -4.140545122178106 treat image : temp/1758027447_2916697_1383577081_81c56a87577f6594a3de9a560f772bc7.jpg resize: (1080, 1632) 1383577081 -1.0453726582154883 treat image : temp/1758027447_2916697_1383576967_aa490e257fa5bb46db835591c4aedd05.jpg resize: (1080, 1632) 1383576967 -5.600195708797124 treat image : temp/1758027447_2916697_1383576939_6f019a7f7f7ccad9c03fee62c4fe210c.jpg resize: (1080, 1632) 1383576939 -5.956419128391605 treat image : temp/1758027447_2916697_1383576907_26030a3d15b26b14b06165b94062823c.jpg resize: (1080, 1632) 1383576907 -5.743115136168252 treat image : temp/1758027447_2916697_1383576883_5e6da787f3c3f880a38673fb91a8cc88.jpg resize: (1080, 1632) 1383576883 -5.8840587318862685 treat image : temp/1758027447_2916697_1383576801_979130089bb1cff82e3f8e777b1a8f7d.jpg resize: (1080, 1632) 1383576801 -5.332748912757264 treat image : temp/1758027447_2916697_1383576776_4267f113d3b65134015128cf9903d43e.jpg resize: (1080, 1632) 1383576776 -5.7574740608723545 treat image : temp/1758027447_2916697_1383576753_67e1f04207cddd59a6a9b2ad9ad19f35.jpg resize: (1080, 1632) 1383576753 -5.71684931952269 treat image : temp/1758027447_2916697_1383576729_b99e615ae9244d478f01b8e89cbf6a0c.jpg resize: (1080, 1632) 1383576729 -5.434190233416352 treat image : temp/1758027447_2916697_1383576634_554f12c24e63f4b565cfd6e2844d29af.jpg resize: (1080, 1632) 1383576634 -4.806394969386279 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.01572251319885254 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.015123605728149414 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015933752059936523 save missing photos in datou_result : time spend for datou_step_exec : 15.770425796508789 time spend to save output : 0.051569223403930664 total time spend for step 1 : 15.82199501991272 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.43user 4.12system 0:22.43elapsed 82%CPU (0avgtext+0avgdata 138136maxresident)k 352inputs+10184outputs (0major+256881minor)pagefaults 0swaps