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 : 2799000 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 : 3207>100 please execute split_portfolio.py -i 21089077 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2640530'] with mtr_portfolio_ids : ['21089077'] and first list_photo_ids : [] new path : /proc/2799000/ 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.039628028869629 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 Thu Mar 6 18:12:31 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/1741281149_2799000_1341274969_84dd787526c41ae55188f26ecf1947a2.jpg resize: (1080, 1632) 1341274969 -6.267042562758275 treat image : temp/1741281149_2799000_1341274964_c4037c5384db78139fed1d4d72561bcb.jpg resize: (1080, 1632) 1341274964 -5.695772095900194 treat image : temp/1741281149_2799000_1341274955_2c9a7346bac0e124e7e0d58f23897a18.jpg resize: (1080, 1632) 1341274955 -5.532874756081083 treat image : temp/1741281149_2799000_1341274951_829f09a9c8ca0b246bae93177b5aaedd.jpg resize: (1080, 1632) 1341274951 -2.355739236771878 treat image : temp/1741281149_2799000_1341274942_3c227be60f8447f6e1c5390b2618d915.jpg resize: (1080, 1632) 1341274942 -2.2859021981056684 treat image : temp/1741281149_2799000_1341274937_ca0c6b32e5870f7aeda3397ce30a3462.jpg resize: (1080, 1632) 1341274937 -4.022130035782545 treat image : temp/1741281149_2799000_1341274918_613bc80da4c2a984f467a481f0b471c0.jpg resize: (1080, 1632) 1341274918 -4.8532260923171515 treat image : temp/1741281149_2799000_1341274915_916b98c544cb0404bea164246c0c173b.jpg resize: (1080, 1632) 1341274915 -5.226714489209067 treat image : temp/1741281149_2799000_1341274908_9ac6362ca5bebbb446999fd99876fd39.jpg resize: (1080, 1632) 1341274908 -5.582802316484362 treat image : temp/1741281149_2799000_1341274900_def53ea857e24fcab0b2b0fb3879afdc.jpg resize: (1080, 1632) 1341274900 -6.196769302033169 treat image : temp/1741281149_2799000_1341274895_cca4e14e2e07de2664020546f37ea23c.jpg resize: (1080, 1632) 1341274895 -6.63334186186581 treat image : temp/1741281149_2799000_1341274891_df2acf8906c86077fcd14187924abb7f.jpg resize: (1080, 1632) 1341274891 -5.938840952591244 treat image : temp/1741281149_2799000_1341274878_03c6fc1655ac30c343891010d63b6a18.jpg resize: (1080, 1632) 1341274878 -3.1818439778344376 treat image : temp/1741281149_2799000_1341274871_a1e720d331d456778486f041abb3891c.jpg resize: (1080, 1632) 1341274871 -2.0315870964784524 treat image : temp/1741281149_2799000_1341274867_8aad3a4dff4b32d1b665ce13cc486a1c.jpg resize: (1080, 1632) 1341274867 -3.680003488646928 treat image : temp/1741281149_2799000_1341274864_5b1521f85a9873cd2169ec601b33e53b.jpg resize: (1080, 1632) 1341274864 -5.871436893194524 treat image : temp/1741281149_2799000_1341274862_6543dc73fffe930ece9d1d4120cff647.jpg resize: (1080, 1632) 1341274862 -5.942139929990007 treat image : temp/1741281149_2799000_1341274859_fc69b993e07257837089e64dd322ad60.jpg resize: (1080, 1632) 1341274859 -5.5709361551660255 treat image : temp/1741281149_2799000_1341274842_b6bbfbfb356a30fb43d4754f6b31347c.jpg resize: (1080, 1632) 1341274842 -4.926674427447921 treat image : temp/1741281149_2799000_1341274838_eb3ec3e63d5cc786247f2c4778d9c673.jpg resize: (1080, 1632) 1341274838 -6.4086760932498725 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.013484001159667969 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.01268315315246582 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014957904815673828 save missing photos in datou_result : time spend for datou_step_exec : 18.798276662826538 time spend to save output : 0.04624629020690918 total time spend for step 1 : 18.844522953033447 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.69user 6.40system 0:24.71elapsed 85%CPU (0avgtext+0avgdata 141636maxresident)k 2624inputs+10424outputs (19major+252075minor)pagefaults 0swaps