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 : 813504 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 : 726>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/813504/ 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.3567285537719727 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 03:32:28 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/1747099946_813504_1357763089_ba36c5af07098e7d3be13f326d245e03.jpg resize: (1080, 1632) 1357763089 -6.012509064992847 treat image : temp/1747099946_813504_1357763081_e70cfeed7146d20de15dbbd6140dd895.jpg resize: (1080, 1632) 1357763081 -2.7358097834489876 treat image : temp/1747099946_813504_1357763079_84c0a9966e0e710ca8e1552c4f62e9eb.jpg resize: (1080, 1632) 1357763079 -1.601317130495004 treat image : temp/1747099946_813504_1357763076_bf24aa126e0ee6bb91a17442ab91b4d7.jpg resize: (1080, 1632) 1357763076 -3.2213559856964897 treat image : temp/1747099946_813504_1357763026_276bf4c118dd8a79f026311a6ea9c3d2.jpg resize: (1080, 1632) 1357763026 -5.990800533441297 treat image : temp/1747099946_813504_1357763024_fd93b5d3d526789afb9fd66ec0c8969b.jpg resize: (1080, 1632) 1357763024 -5.922185910540439 treat image : temp/1747099946_813504_1357763022_2e8e41d02ffcdab04ac33bb0ba3b7bef.jpg resize: (1080, 1632) 1357763022 -5.918404470633404 treat image : temp/1747099946_813504_1357763019_89c8887485cef5f482cf972bddf1eea8.jpg resize: (1080, 1632) 1357763019 -5.996419204097498 treat image : temp/1747099946_813504_1357763016_60446432a1176d83cf300aa2af7bb1e8.jpg resize: (1080, 1632) 1357763016 -5.957431968181346 treat image : temp/1747099946_813504_1357763013_b4c124696d9bd17af1f889f85dee9939.jpg resize: (1080, 1632) 1357763013 -6.092795533211107 treat image : temp/1747099946_813504_1357762996_b532054d13ab95b7de76350fea49df81.jpg resize: (1080, 1632) 1357762996 -3.2344229818609187 treat image : temp/1747099946_813504_1357762993_965feac922571ce4ace32b4d7ec65ca6.jpg resize: (1080, 1632) 1357762993 -4.722890455334955 treat image : temp/1747099946_813504_1357762991_2308fdd35dd757f81dabdcad521dbe98.jpg resize: (1080, 1632) 1357762991 -5.6470701849722325 treat image : temp/1747099946_813504_1357762988_9378f468e20b50138f506aa13a076374.jpg resize: (1080, 1632) 1357762988 -6.225935613548164 treat image : temp/1747099946_813504_1357762986_5838f85cbc6aae8061b1cf709b6f5593.jpg resize: (1080, 1632) 1357762986 -5.914136001190607 treat image : temp/1747099946_813504_1357762969_e53c5322e551d26e50a62f9b1cebc82e.jpg resize: (1080, 1632) 1357762969 -2.3767816034034643 treat image : temp/1747099946_813504_1357762968_4e34843fb53a117fb2de14bee0381fe9.jpg resize: (1080, 1632) 1357762968 -3.7010865224004297 treat image : temp/1747099946_813504_1357762966_26a2712c20730d28f0e4d6faf5f047ad.jpg resize: (1080, 1632) 1357762966 -2.02538587566552 treat image : temp/1747099946_813504_1357762788_d629e4022c061d70a1852798197957a5.jpg resize: (1080, 1632) 1357762788 -4.443395059884969 treat image : temp/1747099946_813504_1357762786_709963861c5f225cfd53f78d2f5eee5d.jpg resize: (1080, 1632) 1357762786 -5.947756631742788 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.016711950302124023 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.015089988708496094 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017934799194335938 save missing photos in datou_result : time spend for datou_step_exec : 15.061362981796265 time spend to save output : 0.05412411689758301 total time spend for step 1 : 15.115487098693848 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.33user 4.22system 0:19.13elapsed 96%CPU (0avgtext+0avgdata 140456maxresident)k 216inputs+9936outputs (10major+258253minor)pagefaults 0swaps