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 : 3239760 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 : 7812>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/3239760/ 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.4127590656280518 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 Sat Jul 5 06:07: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/1751688449_3239760_1370742344_cfd5294f5fd5f79f5256bfefd5438f5d.jpg resize: (1080, 1632) 1370742344 -3.3782048094159114 treat image : temp/1751688449_3239760_1370742341_1e80158a53670acb58d117648c77c261.jpg resize: (1080, 1632) 1370742341 -4.7722682654627615 treat image : temp/1751688449_3239760_1370742339_e1175863b0328f72e72727fefae835ad.jpg resize: (1080, 1632) 1370742339 -4.754335355546638 treat image : temp/1751688449_3239760_1370742335_1e298c6b92943d9dda53c54b01410598.jpg resize: (1080, 1632) 1370742335 -5.455473593738142 treat image : temp/1751688449_3239760_1370742332_5eb7cb33a521ce5d211c9e2481115dec.jpg resize: (1080, 1632) 1370742332 -5.476977700480307 treat image : temp/1751688449_3239760_1370742330_36d0e48e418b672ec9a55b6d17b78be4.jpg resize: (1080, 1632) 1370742330 -5.544683554195202 treat image : temp/1751688449_3239760_1370742322_965c590da374119d0edf3c9721d092aa.jpg resize: (1080, 1632) 1370742322 -5.240590159341517 treat image : temp/1751688449_3239760_1370742319_923a0f00129d245f0136e2a50cd4cb77.jpg resize: (1080, 1632) 1370742319 -5.2437224973695935 treat image : temp/1751688449_3239760_1370742316_584c6710b1186f1dc94d8f90bb4bab67.jpg resize: (1080, 1632) 1370742316 -5.3594741496196745 treat image : temp/1751688449_3239760_1370742313_64dd3016886b6fc34b0c232e7ab00558.jpg resize: (1080, 1632) 1370742313 -5.285971884435523 treat image : temp/1751688449_3239760_1370742311_2a81e9b4491ce1eca3572ea0ab4909cb.jpg resize: (1080, 1632) 1370742311 -4.73542264307823 treat image : temp/1751688449_3239760_1370742309_5fe811ae4c7742ae95a2aa344cf408b8.jpg resize: (1080, 1632) 1370742309 -1.418427919859858 treat image : temp/1751688449_3239760_1370742218_601066da7666e3028f671d788fa19376.jpg resize: (1080, 1632) 1370742218 -4.898853733345683 treat image : temp/1751688449_3239760_1370742215_88482a05560f5c73c838b9da169621bc.jpg resize: (1080, 1632) 1370742215 -3.963199579796707 treat image : temp/1751688449_3239760_1370742206_97b542eec5c022efeeb83f37c7a423f4.jpg resize: (1080, 1632) 1370742206 -3.0907466047138423 treat image : temp/1751688449_3239760_1370742203_fc12973e6d83cbbdc1502287f81e8d55.jpg resize: (1080, 1632) 1370742203 -4.566920558602113 treat image : temp/1751688449_3239760_1370726433_03793256e8f4facbcd6d21769fe28be9.jpg resize: (1080, 1632) 1370726433 -4.684156382949336 treat image : temp/1751688449_3239760_1370726430_e9ddebc511d959d2e5f3ce3c0a681802.jpg resize: (1080, 1632) 1370726430 -4.683491350872773 treat image : temp/1751688449_3239760_1370726335_96d92d05c9cfbd1c46e469573052db2b.jpg resize: (1080, 1632) 1370726335 -4.689008028006624 treat image : temp/1751688449_3239760_1370726334_fef64ffa4d1f8723ba81669d4626c642.jpg resize: (1080, 1632) 1370726334 -4.693479906854751 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.011647224426269531 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.04921293258666992 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01665186882019043 save missing photos in datou_result : time spend for datou_step_exec : 18.738662242889404 time spend to save output : 0.08229851722717285 total time spend for step 1 : 18.820960760116577 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.50user 6.67system 0:24.57elapsed 86%CPU (0avgtext+0avgdata 137912maxresident)k 3008inputs+9016outputs (13major+261370minor)pagefaults 0swaps