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 : 3154655 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 : 2140>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/3154655/ 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.538703203201294 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 15:22: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/1747142548_3154655_1357856545_c0f883042b4da707b0b009da93cd8d63.jpg resize: (1080, 1632) 1357856545 -2.8609278865939483 treat image : temp/1747142548_3154655_1357856508_0d6c0d7cfb8a562db941c4eaa960fff9.jpg resize: (1080, 1632) 1357856508 -4.50849049649531 treat image : temp/1747142548_3154655_1357856457_a99d9ab342267b5fe28140800ca1fac2.jpg resize: (1080, 1632) 1357856457 -5.974690675223432 treat image : temp/1747142548_3154655_1357856421_ded43e979a27db43cbcc1561b41c46a8.jpg resize: (1080, 1632) 1357856421 -3.7115318810253113 treat image : temp/1747142548_3154655_1357856400_0612ab29c124d2f2734993024e9d022c.jpg resize: (1080, 1632) 1357856400 -5.287529345998711 treat image : temp/1747142548_3154655_1357856397_5da14a6bd14a33440aae255bcfd278ce.jpg resize: (1080, 1632) 1357856397 -5.903700953918972 treat image : temp/1747142548_3154655_1357856181_46f05e56b07cbc312678fe5ce0c2fbc6.jpg resize: (1080, 1632) 1357856181 -6.475454775910666 treat image : temp/1747142548_3154655_1357856122_381ef1a7734633cc82878463a432b442.jpg resize: (1080, 1632) 1357856122 -6.239873537330033 treat image : temp/1747142548_3154655_1357856066_de10ae13a339d5f0eae50b00fa46f13b.jpg resize: (1080, 1632) 1357856066 -5.621945700871768 treat image : temp/1747142548_3154655_1357856008_d038b61b471c239ee2644676caa6d77e.jpg resize: (1080, 1632) 1357856008 -1.9883194668845854 treat image : temp/1747142548_3154655_1357855693_055bcf9ee878df2f3d5a139a57b0f0f2.jpg resize: (1080, 1632) 1357855693 -6.020519179993182 treat image : temp/1747142548_3154655_1357855664_c465d940affa3c18a6b4a48a3e664ee9.jpg resize: (1080, 1632) 1357855664 -4.202905063215765 treat image : temp/1747142548_3154655_1357855634_34a2717cb8f475f6bf918b88fa322347.jpg resize: (1080, 1632) 1357855634 -6.329317519768322 treat image : temp/1747142548_3154655_1357855605_93901de955001a7039504876f12a35a8.jpg resize: (1080, 1632) 1357855605 -6.353541264791986 treat image : temp/1747142548_3154655_1357855578_13048f4bc364cd03f3ac49ea1050ff76.jpg resize: (1080, 1632) 1357855578 -6.162916485795132 treat image : temp/1747142548_3154655_1357855574_23c8882a59916fe44d9aee0767ea98f4.jpg resize: (1080, 1632) 1357855574 -6.24644621218411 treat image : temp/1747142548_3154655_1357855526_81e7aa13c7bcbb48c1396439734f228f.jpg resize: (1080, 1632) 1357855526 -4.274659892030753 treat image : temp/1747142548_3154655_1357855523_c374da3da8f57301362a326d193aefcd.jpg resize: (1080, 1632) 1357855523 -5.737216336304974 treat image : temp/1747142548_3154655_1357855518_f490e3dc367088867dcd2fd35f909d43.jpg resize: (1080, 1632) 1357855518 -5.959878728246502 treat image : temp/1747142548_3154655_1357854543_fb4eb29750965a0ffead13fdb5e58e72.jpg resize: (1080, 1632) 1357854543 -5.845040944368496 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.014519691467285156 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.016222476959228516 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017802953720092773 save missing photos in datou_result : time spend for datou_step_exec : 16.98834800720215 time spend to save output : 0.05323076248168945 total time spend for step 1 : 17.041578769683838 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.51user 5.06system 0:23.21elapsed 84%CPU (0avgtext+0avgdata 137908maxresident)k 160inputs+11112outputs (8major+258478minor)pagefaults 0swaps