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 : 1600664 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 : 1476>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/1600664/ 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.4679739475250244 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 Tue May 13 07:37: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/1747114647_1600664_1357775146_d697101f294aa17269234873aa9aeb87.jpg resize: (1080, 1632) 1357775146 -1.5500202748120224 treat image : temp/1747114647_1600664_1357775143_702cef94903b760dabaea8c321e8fd0a.jpg resize: (1080, 1632) 1357775143 -2.632762837166202 treat image : temp/1747114647_1600664_1357775139_a1dfb65d08e1f142f76585567493d362.jpg resize: (1080, 1632) 1357775139 -4.138356774090407 treat image : temp/1747114647_1600664_1357774999_67f00019a1a932a6dbe469a777b8f6a7.jpg resize: (1080, 1632) 1357774999 -5.208005275068449 treat image : temp/1747114647_1600664_1357770766_1e25b53d5391763476e82d727251c18e.jpg resize: (1080, 1632) 1357770766 -3.757072420039672 treat image : temp/1747114647_1600664_1357770763_6b0d5625f8078e9e447c6366991ce24e.jpg resize: (1080, 1632) 1357770763 -5.921639001782929 treat image : temp/1747114647_1600664_1357770761_7e08788e7a1f462d6d23676fcab3403b.jpg resize: (1080, 1632) 1357770761 -3.555411302607797 treat image : temp/1747114647_1600664_1357770759_fe8aaa7fcc05edfcc1b7a6a57b15b166.jpg resize: (1080, 1632) 1357770759 -2.852362648627646 treat image : temp/1747114647_1600664_1357770728_22a55e466ae2f49ca7a2210163d4b3ff.jpg resize: (1080, 1632) 1357770728 -5.6110222745487865 treat image : temp/1747114647_1600664_1357770727_f4f7c3db8554f99ddb37549ff46e979b.jpg resize: (1080, 1632) 1357770727 -5.028899482365927 treat image : temp/1747114647_1600664_1357770701_b38be32b28f844faf579b5fc654c282d.jpg resize: (1080, 1632) 1357770701 -5.315921270531501 treat image : temp/1747114647_1600664_1357770611_1b425e94fcbf43370fc041af4394ab17.jpg resize: (1080, 1632) 1357770611 -4.94973094253587 treat image : temp/1747114647_1600664_1357770609_5a39a28e96726cb7de0e9b8f12365d5b.jpg resize: (1080, 1632) 1357770609 -4.542505715971772 treat image : temp/1747114647_1600664_1357770590_4daafc950c715f9a2985ab1fdfc32095.jpg resize: (1080, 1632) 1357770590 -5.165633465637937 treat image : temp/1747114647_1600664_1357770588_7a16aa28bead9172cb25fe83096fda10.jpg resize: (1080, 1632) 1357770588 -5.826595715356781 treat image : temp/1747114647_1600664_1357770556_620af656ab427a11de41cbca1ce5ec49.jpg resize: (1080, 1632) 1357770556 -3.588244550668287 treat image : temp/1747114647_1600664_1357770555_7f30707ef437e6ba76055bf0bdecd32c.jpg resize: (1080, 1632) 1357770555 -6.404763794887895 treat image : temp/1747114647_1600664_1357770553_aae99d4a84d2f3c9b5f25f88a0f0640d.jpg resize: (1080, 1632) 1357770553 -6.2020273122147875 treat image : temp/1747114647_1600664_1357770552_d63c46280c0618f74775131a296ef548.jpg resize: (1080, 1632) 1357770552 -6.115988645201536 treat image : temp/1747114647_1600664_1357770550_53a7b01db6104f2e34ad0311de6c2087.jpg resize: (1080, 1632) 1357770550 -3.237929071408508 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.014688491821289062 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.019971370697021484 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.029198408126831055 save missing photos in datou_result : time spend for datou_step_exec : 15.720688104629517 time spend to save output : 0.06860613822937012 total time spend for step 1 : 15.789294242858887 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.61user 3.54system 0:21.17elapsed 85%CPU (0avgtext+0avgdata 139056maxresident)k 160inputs+9920outputs (5major+257974minor)pagefaults 0swaps