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 : 296099 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 : 8339>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/296099/ 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.416912078857422 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 Fri Jul 11 21: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/1752260847_296099_1371666829_efc02e05fa75af2fe27e21b38d386c90.jpg resize: (1080, 1632) 1371666829 -5.139017832688166 treat image : temp/1752260847_296099_1371666802_1ca65c4ce59507a946aead2d29e27cae.jpg resize: (1080, 1632) 1371666802 -5.124609350958115 treat image : temp/1752260847_296099_1371666787_8fb372615fcdce55ee4e8a6c503ca7ca.jpg resize: (1080, 1632) 1371666787 -5.117643908609161 treat image : temp/1752260847_296099_1371666782_1e7f0ec5b03c284cac65874eb17e1cd5.jpg resize: (1080, 1632) 1371666782 -5.0990395241378925 treat image : temp/1752260847_296099_1371666774_d9d9cae41485f360b44888e5f214ae24.jpg resize: (1080, 1632) 1371666774 -5.1198744651489845 treat image : temp/1752260847_296099_1371666758_71305666fe2e5907d0dd5b816cfc4a13.jpg resize: (1080, 1632) 1371666758 -5.123757554072611 treat image : temp/1752260847_296099_1371666752_2d68a9abe5e1d97e5df21391c34d006c.jpg resize: (1080, 1632) 1371666752 -3.659921539102065 treat image : temp/1752260847_296099_1371666748_8eebe77b82084a6e5ccd6785f9beb76e.jpg resize: (1080, 1632) 1371666748 -3.6995187522026534 treat image : temp/1752260847_296099_1371666745_4d6ca559ae35e634ed41c3bfe760448d.jpg resize: (1080, 1632) 1371666745 -3.7070515644019584 treat image : temp/1752260847_296099_1371666740_e1c9afaf3f49adb6c1550b2fb5b9f3c0.jpg resize: (1080, 1632) 1371666740 -3.6748515904666847 treat image : temp/1752260847_296099_1371666736_5647683d2d0b5808e7b2cdef8d1826e3.jpg resize: (1080, 1632) 1371666736 -3.701610786850353 treat image : temp/1752260847_296099_1371666732_39252c9d8790650f0d6b91d9d364d19e.jpg resize: (1080, 1632) 1371666732 -3.719933866018134 treat image : temp/1752260847_296099_1371666409_cf7def40d035c391efb0e18c584f1555.jpg resize: (1080, 1632) 1371666409 -5.342013371049626 treat image : temp/1752260847_296099_1371666382_e78e3cac22d523576bfa53d5eaf53f50.jpg resize: (1080, 1632) 1371666382 -5.3504797466248695 treat image : temp/1752260847_296099_1371666355_a01e0eb729c434141a0f7d07908e8e41.jpg resize: (1080, 1632) 1371666355 -2.303548096786562 treat image : temp/1752260847_296099_1371666320_1162b601c581219cb5ec1cdb9eb2eca5.jpg resize: (1080, 1632) 1371666320 -1.2078009898940079 treat image : temp/1752260847_296099_1371666229_de2a54391d78b0d098399b7da8c26e0c.jpg resize: (1080, 1632) 1371666229 -5.3322372271918015 treat image : temp/1752260847_296099_1371666168_c5bfd3a1b6cfa031cc41a2f357627529.jpg resize: (1080, 1632) 1371666168 -5.323889740988736 treat image : temp/1752260847_296099_1371666151_0eba29580ce70b59e3fd6d0021043090.jpg resize: (1080, 1632) 1371666151 -5.322597129522536 treat image : temp/1752260847_296099_1371666147_09d4d52df7b0439da2c0a3efb47b679f.jpg resize: (1080, 1632) 1371666147 -5.320817386669698 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.011485576629638672 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.012036561965942383 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016916990280151367 save missing photos in datou_result : time spend for datou_step_exec : 18.24195671081543 time spend to save output : 0.04515218734741211 total time spend for step 1 : 18.287108898162842 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.65user 6.02system 0:23.49elapsed 87%CPU (0avgtext+0avgdata 139024maxresident)k 0inputs+9256outputs (19major+260070minor)pagefaults 0swaps