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 : 1852754 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 : 1017>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/1852754/ 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.7734904289245605 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 May 21 09:07: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/1747811246_1852754_1359967395_1eedceeb81118ae95870fece7f5ca8f0.jpg resize: (1080, 1632) 1359967395 -2.68226269307171 treat image : temp/1747811246_1852754_1359967393_384d4a9429bba43a53923c9b452eb19e.jpg resize: (1080, 1632) 1359967393 -4.42760087845795 treat image : temp/1747811246_1852754_1359967391_cac461a18abc7c3133c4a93bb4e54087.jpg resize: (1080, 1632) 1359967391 -5.480668145599115 treat image : temp/1747811246_1852754_1359967361_ce46643f536e8c219640f7e8fb713e46.jpg resize: (1080, 1632) 1359967361 -5.727774422433216 treat image : temp/1747811246_1852754_1359967359_ed3fc7bedb85f58788d24a2a537b3d7d.jpg resize: (1080, 1632) 1359967359 -5.838858811063286 treat image : temp/1747811246_1852754_1359967357_4ace12064fe5d5860d0d605bc7c5339d.jpg resize: (1080, 1632) 1359967357 -3.3982885549486364 treat image : temp/1747811246_1852754_1359967331_b6b716860da18e7c92a2ee12f2cd0d52.jpg resize: (1080, 1632) 1359967331 -5.657904953546578 treat image : temp/1747811246_1852754_1359967326_49980daa7f78f0afef53d79e5e624ac1.jpg resize: (1080, 1632) 1359967326 -5.882734101018336 treat image : temp/1747811246_1852754_1359967321_caee27cfae3e9a4390f2acfa085f185e.jpg resize: (1080, 1632) 1359967321 -5.7986491571821155 treat image : temp/1747811246_1852754_1359967318_0730cc2b610dba109815d4ac414606dd.jpg resize: (1080, 1632) 1359967318 -5.806406348959128 treat image : temp/1747811246_1852754_1359967258_c70801a1fdaf1df4938883d2bb078ec1.jpg resize: (1080, 1632) 1359967258 -5.852933159915582 treat image : temp/1747811246_1852754_1359967254_426619e32ed424354489ef53bfe475d4.jpg resize: (1080, 1632) 1359967254 -3.8421543437956878 treat image : temp/1747811246_1852754_1359967251_4de9a4c315c23de3444e91f1d89114b6.jpg resize: (1080, 1632) 1359967251 -4.0347239409404585 treat image : temp/1747811246_1852754_1359967247_33658d935da2d54a2fe25b09000c71e4.jpg resize: (1080, 1632) 1359967247 -5.124973594888762 treat image : temp/1747811246_1852754_1359967243_00439b58a089dc9f8f80c9b6ac588a93.jpg resize: (1080, 1632) 1359967243 -3.240723111749853 treat image : temp/1747811246_1852754_1359967240_a1f34da0c14c60e32d64a89366c791ff.jpg resize: (1080, 1632) 1359967240 -5.322634874626394 treat image : temp/1747811246_1852754_1359967085_91829af176e08669673d42a33fb5c5bf.jpg resize: (1080, 1632) 1359967085 -2.1924694642611313 treat image : temp/1747811246_1852754_1359967059_a8b5b52577c3af7343218399bcd08c40.jpg resize: (1080, 1632) 1359967059 -4.847929913703812 treat image : temp/1747811246_1852754_1359967057_16c7ad68eb5ef45010fd4ebaed5ab571.jpg resize: (1080, 1632) 1359967057 -2.633382082339811 treat image : temp/1747811246_1852754_1359967051_bac1ae5817b013cc61af28cb22d5a251.jpg resize: (1080, 1632) 1359967051 -5.160098659701701 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.011784791946411133 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.02414846420288086 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.02693653106689453 save missing photos in datou_result : time spend for datou_step_exec : 16.743305921554565 time spend to save output : 0.06744551658630371 total time spend for step 1 : 16.81075143814087 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.80user 4.78system 0:21.35elapsed 91%CPU (0avgtext+0avgdata 137884maxresident)k 3200inputs+9760outputs (25major+258444minor)pagefaults 0swaps