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 : 1128197 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 : 3076>100 please execute split_portfolio.py -i 22126404 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2730774'] with mtr_portfolio_ids : ['22126404'] and first list_photo_ids : [] new path : /proc/1128197/ 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 : 3.2950439453125 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 Wed Apr 9 13:07:30 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/1744196847_1128197_1350669808_23b74e44d4deccdcd4750c8f7e166a83.jpg resize: (1080, 1632) 1350669808 -4.120804889353092 treat image : temp/1744196847_1128197_1350669804_e34ae7e51e85f48d0553191715391544.jpg resize: (1080, 1632) 1350669804 -6.051186394363409 treat image : temp/1744196847_1128197_1350669800_93439910b65320bb05a9bccf515b2f85.jpg resize: (1080, 1632) 1350669800 -5.659358152670956 treat image : temp/1744196847_1128197_1350669795_52cf92116f435ccaf1b4a4afb31f5a33.jpg resize: (1080, 1632) 1350669795 -5.663253232493913 treat image : temp/1744196847_1128197_1350669785_fff2277010f72d2b3d088fcaf9a34c43.jpg resize: (1080, 1632) 1350669785 -3.414122269954104 treat image : temp/1744196847_1128197_1350669773_11d2a846d2b23787c1054ec6aa80dfe3.jpg resize: (1080, 1632) 1350669773 -2.442509490928772 treat image : temp/1744196847_1128197_1350669767_4e0a3012ba454ca552c79f5873633cc4.jpg resize: (1080, 1632) 1350669767 -1.8668521661731932 treat image : temp/1744196847_1128197_1350669760_8bcb3bf5e93bb26c51518bc819a08a3a.jpg resize: (1080, 1632) 1350669760 -1.3470496091136182 treat image : temp/1744196847_1128197_1350669754_e1ff2948b06e2c61769b27f295e408c8.jpg resize: (1080, 1632) 1350669754 -6.558152013851183 treat image : temp/1744196847_1128197_1350669739_14ed226678b8233237e4bd57f6fcf103.jpg resize: (1080, 1632) 1350669739 -5.638825022421985 treat image : temp/1744196847_1128197_1350669734_9b307e06a8fdd1fd2d6c07aefc65d92a.jpg resize: (1080, 1632) 1350669734 -5.455145275381682 treat image : temp/1744196847_1128197_1350669730_5ab13eb73f4161cde86d275eeb8f68a4.jpg resize: (1080, 1632) 1350669730 -3.975960898052418 treat image : temp/1744196847_1128197_1350669722_879ad7490d3a45be6f87ceb368666a00.jpg resize: (1080, 1632) 1350669722 -3.8162163514123324 treat image : temp/1744196847_1128197_1350669716_ce2eb2c6425f4ed45429314b01110af9.jpg resize: (1080, 1632) 1350669716 -4.629759048566636 treat image : temp/1744196847_1128197_1350669711_f14232bfd331b50c4370f489219b5d9a.jpg resize: (1080, 1632) 1350669711 -5.8086678555222635 treat image : temp/1744196847_1128197_1350669695_fc5f24693714521d0f6e989d2619f2c0.jpg resize: (1080, 1632) 1350669695 -1.6242047706622489 treat image : temp/1744196847_1128197_1350669691_e549bf0e2b2ca138770c7b124a0d8d5e.jpg resize: (1080, 1632) 1350669691 -4.017661521031768 treat image : temp/1744196847_1128197_1350669686_69338d514c0e5bd154864d0364788f81.jpg resize: (1080, 1632) 1350669686 -5.95707457815224 treat image : temp/1744196847_1128197_1350669682_a45aca9d5fbd042a269153eff673398e.jpg resize: (1080, 1632) 1350669682 -4.06308745083197 treat image : temp/1744196847_1128197_1350669661_fea7b8f72195b2251d15afeff3314bbb.jpg resize: (1080, 1632) 1350669661 -6.3032468206410535 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.01569533348083496 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.011940956115722656 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015061616897583008 save missing photos in datou_result : time spend for datou_step_exec : 15.395267486572266 time spend to save output : 0.04719805717468262 total time spend for step 1 : 15.442465543746948 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.12user 3.60system 0:22.10elapsed 80%CPU (0avgtext+0avgdata 137844maxresident)k 80inputs+9920outputs (18major+260793minor)pagefaults 0swaps