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 : 3669827 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 : 3934>100 please execute split_portfolio.py -i 25050138 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3305006'] with mtr_portfolio_ids : ['25050138'] and first list_photo_ids : [] new path : /proc/3669827/ 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.745663642883301 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 18 18: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/1752854847_3669827_1372638661_19be014c03aadb063aae76ecb4f38e14.jpg resize: (1080, 1632) 1372638661 -4.665164368556051 treat image : temp/1752854847_3669827_1372638656_f48969bbbcd7a24b94414d30a460882b.jpg resize: (1080, 1632) 1372638656 -4.666635839393173 treat image : temp/1752854847_3669827_1372638651_c5fc5db8b5129929e3c9e1a8d35597f6.jpg resize: (1080, 1632) 1372638651 -5.077251258514929 treat image : temp/1752854847_3669827_1372638624_98be41b4e292743826421d4b2fce816c.jpg resize: (1080, 1632) 1372638624 -2.0229446342559934 treat image : temp/1752854847_3669827_1372638599_c2dc504a7c5ab8f6c7bc8b2295077ba8.jpg resize: (1080, 1632) 1372638599 -3.08762821753308 treat image : temp/1752854847_3669827_1372638563_629f52b73ba293eed9b386e38d4513b2.jpg resize: (1080, 1632) 1372638563 -3.0829174507507457 treat image : temp/1752854847_3669827_1372630948_f56d478664c146ab45e3d614878a3746.jpg resize: (1080, 1632) 1372630948 -4.734478281472694 treat image : temp/1752854847_3669827_1372630945_a8162ee8a2b61c84470511ca853fa282.jpg resize: (1080, 1632) 1372630945 -4.741322130900887 treat image : temp/1752854847_3669827_1372630943_f4345b0da6c72c831e0c20a20be99b1d.jpg resize: (1080, 1632) 1372630943 -5.0277195553006395 treat image : temp/1752854847_3669827_1372630941_57650edf81238195ed1e979c9c3d1533.jpg resize: (1080, 1632) 1372630941 -5.168743324110464 treat image : temp/1752854847_3669827_1372630938_fa5d1d3188093aff1ecefd5e285b2300.jpg resize: (1080, 1632) 1372630938 -4.968680868303886 treat image : temp/1752854847_3669827_1372630912_0d5625f685f7ca4ea9d725be2d26ebc6.jpg resize: (1080, 1632) 1372630912 -1.5901897259880895 treat image : temp/1752854847_3669827_1372630909_f3fa9e939cef745ff928794785b0fce2.jpg resize: (1080, 1632) 1372630909 -4.556135719249591 treat image : temp/1752854847_3669827_1372630906_09b338d9c2602f8da2bf80e780d376f4.jpg resize: (1080, 1632) 1372630906 -4.578026349282919 treat image : temp/1752854847_3669827_1372630897_2a0c7f25745a11c6b77b1dec357ae3fc.jpg resize: (1080, 1632) 1372630897 -5.441736922974715 treat image : temp/1752854847_3669827_1372630894_1c8541d2cf0baffa82a6db0989765364.jpg resize: (1080, 1632) 1372630894 -4.479253347499946 treat image : temp/1752854847_3669827_1372630890_354405aaa3a80d2f08d82c62a5b51757.jpg resize: (1080, 1632) 1372630890 -5.157893997319449 treat image : temp/1752854847_3669827_1372630861_b8d40dea0d6aeced90dcc6f52a460ad8.jpg resize: (1080, 1632) 1372630861 -1.8178115414298759 treat image : temp/1752854847_3669827_1372630838_30804efa34566dec9a6f731068c1dfd4.jpg resize: (1080, 1632) 1372630838 -4.71571357308009 treat image : temp/1752854847_3669827_1372630836_f76ba9d78da549944b85db8d87a76d2c.jpg resize: (1080, 1632) 1372630836 -4.818000883092089 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.012745380401611328 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.012144088745117188 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01573038101196289 save missing photos in datou_result : time spend for datou_step_exec : 17.257250547409058 time spend to save output : 0.04501652717590332 total time spend for step 1 : 17.30226707458496 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.48user 5.16system 0:22.44elapsed 87%CPU (0avgtext+0avgdata 140864maxresident)k 2584inputs+8976outputs (26major+260455minor)pagefaults 0swaps