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 : 784727 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 : 683>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/784727/ 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.3383355140686035 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 May 13 03:22: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/1747099347_784727_1357762743_b917a3f1c0cd7a159174f465929c7dd7.jpg resize: (1080, 1632) 1357762743 -3.216271592268381 treat image : temp/1747099347_784727_1357762737_edafd22b5b2653c0e066c1b5a86c0a74.jpg resize: (1080, 1632) 1357762737 -6.190827910280906 treat image : temp/1747099347_784727_1357762711_1e24b19afb8221a88ecd23902a6ffd3d.jpg resize: (1080, 1632) 1357762711 -6.400808727610826 treat image : temp/1747099347_784727_1357762679_97d1a0981e63b0fb6dbc1af3a795675c.jpg resize: (1080, 1632) 1357762679 -4.829611836064953 treat image : temp/1747099347_784727_1357762678_de3067a455cc248e2671b6abf8d05aa6.jpg resize: (1080, 1632) 1357762678 -5.380411333709514 treat image : temp/1747099347_784727_1357762676_8e2231f6b49a14a109f621b4d1698573.jpg resize: (1080, 1632) 1357762676 -6.160466963090423 treat image : temp/1747099347_784727_1357762626_5dcd66d8d3349e05dcc0dc7bc58b72d1.jpg resize: (1080, 1632) 1357762626 -1.7423814157413913 treat image : temp/1747099347_784727_1357762623_a90689a951ff383aed45ef366b105493.jpg resize: (1080, 1632) 1357762623 -4.112697782917632 treat image : temp/1747099347_784727_1357762620_75f8e3e4d9bf5497e663fdf56942487b.jpg resize: (1080, 1632) 1357762620 -4.1101118989159415 treat image : temp/1747099347_784727_1357762599_635f6890b99cc460f3b484cd447ef8dc.jpg resize: (1080, 1632) 1357762599 -5.384417844425766 treat image : temp/1747099347_784727_1357762598_87604b5090eb7383d31b5287a8bd90e0.jpg resize: (1080, 1632) 1357762598 -5.024129043475651 treat image : temp/1747099347_784727_1357762596_5fe5e3c58464e69ea933d6e2cc8ab786.jpg resize: (1080, 1632) 1357762596 -5.619639225973117 treat image : temp/1747099347_784727_1357762594_9892e44e93d98e22467b0055b1f74e18.jpg resize: (1080, 1632) 1357762594 -1.6211900874531884 treat image : temp/1747099347_784727_1357762557_f85fa61ebc75ed35d427ba6f78255d0b.jpg resize: (1080, 1632) 1357762557 -5.5762049668620035 treat image : temp/1747099347_784727_1357762536_177d2e6c2f50095e73f58a3d53f6110a.jpg resize: (1080, 1632) 1357762536 -5.839027533260071 treat image : temp/1747099347_784727_1357762500_c53ee9df768e54fa5e155451533de27c.jpg resize: (1080, 1632) 1357762500 -5.226709970203279 treat image : temp/1747099347_784727_1357762478_32b4df0bda571955593f890de5fa9b11.jpg resize: (1080, 1632) 1357762478 -2.0508520747977395 treat image : temp/1747099347_784727_1357762474_c6ab650eb831deefe81bc21434d3c518.jpg resize: (1080, 1632) 1357762474 -1.7451939978485083 treat image : temp/1747099347_784727_1357762472_225f958cde1246f110a70e2e5f71fe64.jpg resize: (1080, 1632) 1357762472 -2.490572424347636 treat image : temp/1747099347_784727_1357762471_893f5945ec168b6e714395bcf883aea4.jpg resize: (1080, 1632) 1357762471 -3.119415747291539 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.012651681900024414 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.013805150985717773 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015081644058227539 save missing photos in datou_result : time spend for datou_step_exec : 16.69322657585144 time spend to save output : 0.04638075828552246 total time spend for step 1 : 16.739607334136963 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.47user 4.79system 0:21.09elapsed 91%CPU (0avgtext+0avgdata 139484maxresident)k 136inputs+9728outputs (0major+260386minor)pagefaults 0swaps