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 : 3445913 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 : 2625>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/3445913/ 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.6432747840881348 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 Mon May 12 18:22: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/1747066946_3445913_1357687385_ba1048f91d5109caf31589f8b972a934.jpg resize: (1080, 1632) 1357687385 -4.977533528732012 treat image : temp/1747066946_3445913_1357687339_9a69837520c160209d1643e7646a44fa.jpg resize: (1080, 1632) 1357687339 -1.6923695341064673 treat image : temp/1747066946_3445913_1357687292_47dfab1990725a5fb003dd6ed53a626b.jpg resize: (1080, 1632) 1357687292 -1.6538874861241113 treat image : temp/1747066946_3445913_1357687238_5440180e542066b7c07d2785a08df6f8.jpg resize: (1080, 1632) 1357687238 -1.64579383572923 treat image : temp/1747066946_3445913_1357687210_306769cc74a4dda0c01a42e305b60a77.jpg resize: (1080, 1632) 1357687210 -2.7158544204257264 treat image : temp/1747066946_3445913_1357664935_36c6ba7755c6b685be98b0eafc80440c.jpg resize: (1080, 1632) 1357664935 -6.005871933178896 treat image : temp/1747066946_3445913_1357664905_c56f3dfaa3554812a84873fad8acd46a.jpg resize: (1080, 1632) 1357664905 -6.275816503967562 treat image : temp/1747066946_3445913_1357664856_1c795d26ac19c103ded8fc58abb22956.jpg resize: (1080, 1632) 1357664856 -5.861129537201269 treat image : temp/1747066946_3445913_1357664810_dc8582cda7b3d8d24a8150c99385c4d6.jpg resize: (1080, 1632) 1357664810 -6.070100629406375 treat image : temp/1747066946_3445913_1357664438_a965bba7c8bb4a829e42c59fd8813b9c.jpg resize: (1080, 1632) 1357664438 -1.3684565762590868 treat image : temp/1747066946_3445913_1357664407_92237bd070cfc0bcf2d38f3e84726934.jpg resize: (1080, 1632) 1357664407 -1.7799452426263274 treat image : temp/1747066946_3445913_1357664375_35e67ad919bb45b62133f6861711f1b3.jpg resize: (1080, 1632) 1357664375 -5.955763844303482 treat image : temp/1747066946_3445913_1357664342_b7fd4fa574273351df4d2f130daedebc.jpg resize: (1080, 1632) 1357664342 -6.41666977729415 treat image : temp/1747066946_3445913_1357664309_25e2b135e44ae485ac5205ebdd9ce3af.jpg resize: (1080, 1632) 1357664309 -4.455220380446883 treat image : temp/1747066946_3445913_1357664167_73891fe529b5a163a9227269ba5fd75f.jpg resize: (1080, 1632) 1357664167 -4.486331800283091 treat image : temp/1747066946_3445913_1357664158_88e1373a1c31c0c2f92eb7145cffa113.jpg resize: (1080, 1632) 1357664158 -5.116816768365162 treat image : temp/1747066946_3445913_1357664132_62da8c125c4e3f0537fe07a4fad6638d.jpg resize: (1080, 1632) 1357664132 -5.533697879297977 treat image : temp/1747066946_3445913_1357664103_a4074cf66a2af42afd62441ad405cfe2.jpg resize: (1080, 1632) 1357664103 -5.152715721935177 treat image : temp/1747066946_3445913_1357664070_a98bef43cf240845a87ad27e5ad64541.jpg resize: (1080, 1632) 1357664070 -5.705913573529663 treat image : temp/1747066946_3445913_1357663808_815357f835a547735d2a83b132a1a2eb.jpg resize: (1080, 1632) 1357663808 -1.3272645793522435 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.01231074333190918 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.014284849166870117 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.02157735824584961 save missing photos in datou_result : time spend for datou_step_exec : 15.678704261779785 time spend to save output : 0.05353951454162598 total time spend for step 1 : 15.732243776321411 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.94user 4.03system 0:19.85elapsed 90%CPU (0avgtext+0avgdata 139304maxresident)k 96inputs+9680outputs (0major+258702minor)pagefaults 0swaps