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 : 261970 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 : 1985>100 please execute split_portfolio.py -i 23101416 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2889281'] with mtr_portfolio_ids : ['23101416'] and first list_photo_ids : [] new path : /proc/261970/ 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 : 4.094075679779053 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 Sep 17 02:57:32 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/1758070648_261970_1359496846_d06f6c28eeab23d93e61fa664aaeab22.jpg resize: (1080, 1632) 1359496846 -6.219017219096329 treat image : temp/1758070648_261970_1359495985_ed81439759fd18c3aa3c27bdd22c2e5d.jpg resize: (1080, 1632) 1359495985 -4.406709579743472 treat image : temp/1758070648_261970_1359495898_1b68bab76ea451d3ab2f94302cde15e6.jpg resize: (1080, 1632) 1359495898 -6.160920288555929 treat image : temp/1758070648_261970_1359495795_23caf76bfef394d87c9e0a6ea689511b.jpg resize: (1080, 1632) 1359495795 -5.636442425969624 treat image : temp/1758070648_261970_1359495692_1a710a1c19e402e0b8bb08f6a3406c17.jpg resize: (1080, 1632) 1359495692 -3.5354670162168818 treat image : temp/1758070648_261970_1359495042_afb1566e489c3e6039112be2fb641104.jpg resize: (1080, 1632) 1359495042 -5.43006381259965 treat image : temp/1758070648_261970_1359494985_eaae44e902b7e982a4bbba8fe31e6aaf.jpg resize: (1080, 1632) 1359494985 -5.927817872947437 treat image : temp/1758070648_261970_1359494906_6515a1c07863f53ee81729bacc47e3fa.jpg resize: (1080, 1632) 1359494906 -5.853262141201202 treat image : temp/1758070648_261970_1359494817_69657c7c9f49220846aeaf356f601213.jpg resize: (1080, 1632) 1359494817 -6.003325124482556 treat image : temp/1758070648_261970_1359494763_a2bca4aa1f59bcf50413a6c4256b809f.jpg resize: (1080, 1632) 1359494763 -6.15971665006431 treat image : temp/1758070648_261970_1359494288_f7d9b4b99ab7dfdb0ef5af2cf164fc8f.jpg resize: (1080, 1632) 1359494288 -1.1207455991908477 treat image : temp/1758070648_261970_1359494285_1fa9fb26d88b53a3b619228ee300f520.jpg resize: (1080, 1632) 1359494285 -4.735884118087774 treat image : temp/1758070648_261970_1359494135_acf5b51858c3ac18b17d5c3c0bafa5f6.jpg resize: (1080, 1632) 1359494135 -2.502181123350782 treat image : temp/1758070648_261970_1359494109_b4c5cf65b8dd24974001dc63f992b527.jpg resize: (1080, 1632) 1359494109 -5.856666976426995 treat image : temp/1758070648_261970_1359494080_54747aa0f25ede5c82a16ca7995cbca6.jpg resize: (1080, 1632) 1359494080 -6.080836693694255 treat image : temp/1758070648_261970_1359494050_565d3418149ac675aab1a3fc90843894.jpg resize: (1080, 1632) 1359494050 -5.18113224190437 treat image : temp/1758070648_261970_1359494023_6c2928fedbf88f232bfef937afc9f579.jpg resize: (1080, 1632) 1359494023 -5.9166054934782215 treat image : temp/1758070648_261970_1359493996_350054fe44c507b5160238e4d52f68e7.jpg resize: (1080, 1632) 1359493996 -4.5854482851502025 treat image : temp/1758070648_261970_1359493888_2aaae809485abd0f3321538244b26fdc.jpg resize: (1080, 1632) 1359493888 -5.718762849323203 treat image : temp/1758070648_261970_1359493885_6f1325dac7c64113a3601dbba5d872d5.jpg resize: (1080, 1632) 1359493885 -5.84053447241704 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.01374363899230957 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.020082473754882812 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01683664321899414 save missing photos in datou_result : time spend for datou_step_exec : 15.00951099395752 time spend to save output : 0.055791378021240234 total time spend for step 1 : 15.06530237197876 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.36user 3.51system 0:22.21elapsed 80%CPU (0avgtext+0avgdata 137108maxresident)k 96inputs+10848outputs (0major+253214minor)pagefaults 0swaps