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 : 3729835 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 : 3222>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/3729835/ 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.3325417041778564 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 Wed Jul 9 18:42:28 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/1752079346_3729835_1371426941_dc5f068f46a5cb4f2c21551312fb490f.jpg resize: (1080, 1632) 1371426941 -5.662338261240803 treat image : temp/1752079346_3729835_1371426940_109cd00c55875c7691176a9d7c04305b.jpg resize: (1080, 1632) 1371426940 -5.626696040546608 treat image : temp/1752079346_3729835_1371426939_46c8ce4890f54336495b5427a8c8ebc9.jpg resize: (1080, 1632) 1371426939 -5.194890964799971 treat image : temp/1752079346_3729835_1371426937_a3cd61b5d8f06733d76b9ebd0b0c518f.jpg resize: (1080, 1632) 1371426937 -4.904199705687821 treat image : temp/1752079346_3729835_1371426935_ff900a7e827fa203d137b972c32fb05f.jpg resize: (1080, 1632) 1371426935 -1.382552201598151 treat image : temp/1752079346_3729835_1371426933_4f5ba51b511e707a01b4aa4872500e6d.jpg resize: (1080, 1632) 1371426933 -2.2013243642132876 treat image : temp/1752079346_3729835_1371426931_82d352020fa9656dca408fff25d69d17.jpg resize: (1080, 1632) 1371426931 -2.2141073473772765 treat image : temp/1752079346_3729835_1371426929_a8c269d5464ada7f93a5e9e933da9173.jpg resize: (1080, 1632) 1371426929 -2.2267796844557424 treat image : temp/1752079346_3729835_1371426927_8666f5a0b77d7435b2542d2574b01238.jpg resize: (1080, 1632) 1371426927 -3.4073583292062706 treat image : temp/1752079346_3729835_1371426925_e4222bff0d44f5da6138e2e21f3e335f.jpg resize: (1080, 1632) 1371426925 -3.4030585631849575 treat image : temp/1752079346_3729835_1371426921_7f59a6969e12ba591c3751067264a57e.jpg resize: (1080, 1632) 1371426921 -1.1039202957460128 treat image : temp/1752079346_3729835_1371426919_4ea45a742d5b6b0202657837229aee61.jpg resize: (1080, 1632) 1371426919 -3.8812592854288797 treat image : temp/1752079346_3729835_1371426918_d20432e9f5a5a0ee8155d2dd43676a03.jpg resize: (1080, 1632) 1371426918 -4.203320146714443 treat image : temp/1752079346_3729835_1371426917_914bb2f1dcb1aaf6eb43b6c4f561d622.jpg resize: (1080, 1632) 1371426917 -4.196503268922112 treat image : temp/1752079346_3729835_1371426916_b825daf59e20674a1bdece7f54f58e37.jpg resize: (1080, 1632) 1371426916 -4.930323183137925 treat image : temp/1752079346_3729835_1371426915_b4bc912b14f3f51e13e6b423bbe65f3a.jpg resize: (1080, 1632) 1371426915 -4.629195475412337 treat image : temp/1752079346_3729835_1371426797_8a6a100a34882691192abb32c620f3a6.jpg resize: (1080, 1632) 1371426797 -5.017468466842942 treat image : temp/1752079346_3729835_1371426795_6f7bfcb033ad436bdaf15edf80a56f23.jpg resize: (1080, 1632) 1371426795 -4.942327088844689 treat image : temp/1752079346_3729835_1371426794_630c3978629f43c68a02902bf24c681d.jpg resize: (1080, 1632) 1371426794 -5.135076630462124 treat image : temp/1752079346_3729835_1371426793_f2fe0b71e77c940b141fee4652b7e3f8.jpg resize: (1080, 1632) 1371426793 -5.067178096961047 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.014681577682495117 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.013428211212158203 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014963865280151367 save missing photos in datou_result : time spend for datou_step_exec : 15.852007865905762 time spend to save output : 0.04766106605529785 total time spend for step 1 : 15.89966893196106 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.77user 4.04system 0:19.86elapsed 94%CPU (0avgtext+0avgdata 139436maxresident)k 128inputs+8536outputs (1major+226099minor)pagefaults 0swaps