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 : 1989621 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 : 961>100 please execute split_portfolio.py -i 22940775 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2844070'] with mtr_portfolio_ids : ['22940775'] and first list_photo_ids : [] new path : /proc/1989621/ 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.4803998470306396 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 May 14 08:57: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/1747205846_1989621_1358106311_3084e53e2b09bf101f1c3170933d1a12.jpg resize: (1080, 1632) 1358106311 -6.788211281175537 treat image : temp/1747205846_1989621_1358106307_c533b7cb23f5ec955966df32a53ea9f9.jpg resize: (1080, 1632) 1358106307 -0.7219562498562904 treat image : temp/1747205846_1989621_1358106304_77c9fc8d6da5ec67828569d96845fe27.jpg resize: (1080, 1632) 1358106304 -1.2561943477921669 treat image : temp/1747205846_1989621_1358106301_b69c497bf6f6f790abf934109116de92.jpg resize: (1080, 1632) 1358106301 -1.0244807878633235 treat image : temp/1747205846_1989621_1358106267_fd3653b1a921d76f4e0310a10f628f5b.jpg resize: (1080, 1632) 1358106267 -5.578752372106621 treat image : temp/1747205846_1989621_1358106263_b354e54d8d408691f9841ba6ff62d27d.jpg resize: (1080, 1632) 1358106263 -5.767894319608471 treat image : temp/1747205846_1989621_1358106259_ae7412a210aae8fd4aacc5dc52ab2447.jpg resize: (1080, 1632) 1358106259 -5.828191552050016 treat image : temp/1747205846_1989621_1358106255_9fe88e000afcd2ae6725898b533c5ea9.jpg resize: (1080, 1632) 1358106255 -5.974494627261641 treat image : temp/1747205846_1989621_1358106222_dfe9b595e4127da118b35b9ea22c9aa5.jpg resize: (1080, 1632) 1358106222 -5.68814556240009 treat image : temp/1747205846_1989621_1358105497_a22c0771b391c5a4e5d565ceede1bca0.jpg resize: (1080, 1632) 1358105497 -5.71569008620302 treat image : temp/1747205846_1989621_1358100061_9762537233742c7f249fd83620911e5b.jpg resize: (1080, 1632) 1358100061 -2.9409033003202567 treat image : temp/1747205846_1989621_1358100048_73a8216feeb1b3c02db5b45136e9f2d2.jpg resize: (1080, 1632) 1358100048 -6.085548724357252 treat image : temp/1747205846_1989621_1358100047_6380a3f80b6afda1a337daad1556c75f.jpg resize: (1080, 1632) 1358100047 -6.085548724357252 treat image : temp/1747205846_1989621_1358100044_3c9a97750c1cad16572a8441f38e3cba.jpg resize: (1080, 1632) 1358100044 -4.665625166360934 treat image : temp/1747205846_1989621_1358100043_3d228a86f11217385290d5db883a0d01.jpg resize: (1080, 1632) 1358100043 -4.665625166360934 treat image : temp/1747205846_1989621_1358100033_00473f0476f764c638a0fc5a5dcb95d3.jpg resize: (1080, 1632) 1358100033 -5.4216961847625855 treat image : temp/1747205846_1989621_1358100032_da1f38275c7ffd5a15a9f808912598b7.jpg resize: (1080, 1632) 1358100032 -5.4216961847625855 treat image : temp/1747205846_1989621_1358100024_c0b13b834ac1aa46e6cb3c497bf7e260.jpg resize: (1080, 1632) 1358100024 -6.023609686466359 treat image : temp/1747205846_1989621_1358100023_df7079213321d2c933d25797b2e4defd.jpg resize: (1080, 1632) 1358100023 -6.023609686466359 treat image : temp/1747205846_1989621_1358100021_6aa2435419cc13cfb31020783de827b0.jpg resize: (1080, 1632) 1358100021 -4.42352359934927 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.014805078506469727 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.11688661575317383 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.255962610244751 save missing photos in datou_result : time spend for datou_step_exec : 15.709507942199707 time spend to save output : 0.3925004005432129 total time spend for step 1 : 16.10200834274292 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.09user 4.39system 0:20.81elapsed 88%CPU (0avgtext+0avgdata 140804maxresident)k 4416inputs+10248outputs (46major+259430minor)pagefaults 0swaps