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 : 1277887 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 : 1777>100 please execute split_portfolio.py -i 26103981 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3565041'] with mtr_portfolio_ids : ['26103981'] and first list_photo_ids : [] new path : /proc/1277887/ 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.297942638397217 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 Thu Aug 21 22:07: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/1755806848_1277887_1378266961_2661ff617b77520c78654c1c9b1463ac.jpg resize: (1080, 1632) 1378266961 -5.575904589176591 treat image : temp/1755806848_1277887_1378266887_a40d1c53eb37c7645974c19b8a86986d.jpg resize: (1080, 1632) 1378266887 -5.25357087995519 treat image : temp/1755806848_1277887_1378266788_3bc01584a2ea9d6d7250ff672409bd78.jpg resize: (1080, 1632) 1378266788 -4.247168264887312 treat image : temp/1755806848_1277887_1378266698_e145ef063d19fa188bc910cdbae57965.jpg resize: (1080, 1632) 1378266698 -5.874123663010097 treat image : temp/1755806848_1277887_1378266620_df301204b4dfcddc7be0ee6def95d395.jpg resize: (1080, 1632) 1378266620 -5.746167330601716 treat image : temp/1755806848_1277887_1378266539_87a43d59b1be24f673992b8883d0911c.jpg resize: (1080, 1632) 1378266539 -5.16029668587345 treat image : temp/1755806848_1277887_1378266226_91d8e9a8346bb826f43bb6ff0ab036ae.jpg resize: (1080, 1632) 1378266226 -1.72562380356104 treat image : temp/1755806848_1277887_1378266179_8234b7b61fa32b4406528f04653cb7a9.jpg resize: (1080, 1632) 1378266179 -0.6446672255929656 treat image : temp/1755806848_1277887_1378266125_8a095b4fd8f3a37255c595c2cbc8456f.jpg resize: (1080, 1632) 1378266125 -3.1846396760387115 treat image : temp/1755806848_1277887_1378266076_9c58faba6bc7ba7e5d9499462bfeed7e.jpg resize: (1080, 1632) 1378266076 -3.666142651011155 treat image : temp/1755806848_1277887_1378266027_efe65d5ef3fd2d4a999c43721dc560bd.jpg resize: (1080, 1632) 1378266027 -4.048422391175798 treat image : temp/1755806848_1277887_1378265975_5746c35d330f0802e18f1ddd33e58cf9.jpg resize: (1080, 1632) 1378265975 -4.830782199239568 treat image : temp/1755806848_1277887_1378265781_2a28a8df7cbdbd56ced29a47d80e03e9.jpg resize: (1080, 1632) 1378265781 -5.403236160827215 treat image : temp/1755806848_1277887_1378265725_1ffb3463e9d35578bdfdadefb31c0718.jpg resize: (1080, 1632) 1378265725 -4.266033831307624 treat image : temp/1755806848_1277887_1378265677_390fde27ab0e918423a9ba27d928c79e.jpg resize: (1080, 1632) 1378265677 -5.027949146120769 treat image : temp/1755806848_1277887_1378265628_c412bc58fa87dbddadcad450fe6b4c45.jpg resize: (1080, 1632) 1378265628 -5.092932247056529 treat image : temp/1755806848_1277887_1378265569_473815ee52d4a6c5bfbebb74a53547e4.jpg resize: (1080, 1632) 1378265569 -4.356021501157983 treat image : temp/1755806848_1277887_1378265518_6234818f5cfc87e3db62c6fe747e5180.jpg resize: (1080, 1632) 1378265518 -3.578895572382768 treat image : temp/1755806848_1277887_1378264053_82a58a3241d9ff87e1d51e779c635525.jpg resize: (1080, 1632) 1378264053 -6.330787908061289 treat image : temp/1755806848_1277887_1378264052_53869d35625c7884df144ae39b39c915.jpg resize: (1080, 1632) 1378264052 -6.330787908061289 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.012659311294555664 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.012336492538452148 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015812158584594727 save missing photos in datou_result : time spend for datou_step_exec : 15.242849826812744 time spend to save output : 0.04579901695251465 total time spend for step 1 : 15.288648843765259 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.46user 3.49system 0:20.00elapsed 89%CPU (0avgtext+0avgdata 141548maxresident)k 16inputs+9344outputs (11major+256868minor)pagefaults 0swaps