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 : 3760002 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/3760002/ 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.5864336490631104 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 21:12: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/1758049946_3760002_1383531534_6290cf7e5fe0dc01ae6a1e5b1d3d196f.jpg resize: (1080, 1632) 1383531534 -5.295965354455874 treat image : temp/1758049946_3760002_1383531507_d40c3eb15e26c8fae651f86e70289b52.jpg resize: (1080, 1632) 1383531507 -3.2294606197270888 treat image : temp/1758049946_3760002_1383531460_205fbf918a32c8fbc93ed3090ef13993.jpg resize: (1080, 1632) 1383531460 -1.8000993699054673 treat image : temp/1758049946_3760002_1383530925_38459324386061352ba2566770fdee75.jpg resize: (1080, 1632) 1383530925 -5.083083266210356 treat image : temp/1758049946_3760002_1383530853_276619e99d16a0b51f97955e43946d7c.jpg resize: (1080, 1632) 1383530853 -5.61191708611309 treat image : temp/1758049946_3760002_1383530781_ef7ecb771ccc3cccceff226378f77a55.jpg resize: (1080, 1632) 1383530781 -5.443300168617447 treat image : temp/1758049946_3760002_1383530732_61cb88eebe24202d703fb274dbf9c326.jpg resize: (1080, 1632) 1383530732 -4.4951633246319 treat image : temp/1758049946_3760002_1383530693_0272b937cee099eaf6760474306e90fb.jpg resize: (1080, 1632) 1383530693 -3.8357629046287607 treat image : temp/1758049946_3760002_1383530260_eca60f91d7b75592f143e9ad6690a5fa.jpg resize: (1080, 1632) 1383530260 -0.4957688111538565 treat image : temp/1758049946_3760002_1383530213_10f8c1e243f41b8cfe784685f735d5ab.jpg resize: (1080, 1632) 1383530213 -2.213083081810145 treat image : temp/1758049946_3760002_1383530161_bddef9c68b90469ee122c27bb77bdf63.jpg resize: (1080, 1632) 1383530161 -2.3419610326304627 treat image : temp/1758049946_3760002_1383530027_f6c0d5f46151df31b837c60ec2d86105.jpg resize: (1080, 1632) 1383530027 -4.191710947484482 treat image : temp/1758049946_3760002_1383529998_30539f1e309fb71cfff5bfc1248fcdb1.jpg resize: (1080, 1632) 1383529998 -4.126625657368605 treat image : temp/1758049946_3760002_1383529973_877bfa66715e1d89b4d039d8531ca396.jpg resize: (1080, 1632) 1383529973 -3.4343300495129983 treat image : temp/1758049946_3760002_1383529949_a6eb2f644a2300c99849b41deb34dcbc.jpg resize: (1080, 1632) 1383529949 -5.907548842027766 treat image : temp/1758049946_3760002_1383529925_fd648391df23c5d0a928a7bf4b7d1a22.jpg resize: (1080, 1632) 1383529925 -5.990239462309207 treat image : temp/1758049946_3760002_1383529780_d69fb8b4ff77381b4c3c5798860213bc.jpg resize: (1080, 1632) 1383529780 -4.900605792143324 treat image : temp/1758049946_3760002_1383529755_cc4ceb6bada094426910fce1d008eb0a.jpg resize: (1080, 1632) 1383529755 -1.787749005869726 treat image : temp/1758049946_3760002_1383529695_493c7019700bb9f801962e9ff52e9f7c.jpg resize: (1080, 1632) 1383529695 -2.426597155594608 treat image : temp/1758049946_3760002_1383529642_0681cf5ecd07b23782f69d13a12d4753.jpg resize: (1080, 1632) 1383529642 -5.784281328746022 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.012729644775390625 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.015052080154418945 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01697397232055664 save missing photos in datou_result : time spend for datou_step_exec : 15.623107433319092 time spend to save output : 0.04964923858642578 total time spend for step 1 : 15.672756671905518 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.01user 4.07system 0:21.08elapsed 85%CPU (0avgtext+0avgdata 137820maxresident)k 304inputs+9152outputs (15major+250928minor)pagefaults 0swaps