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 : 2714928 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 : 2179>100 please execute split_portfolio.py -i 23145313 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2900260'] with mtr_portfolio_ids : ['23145313'] and first list_photo_ids : [] new path : /proc/2714928/ 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.5085179805755615 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 20 15:02: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/1747746146_2714928_1359814903_e445009cbc8c4bc0ac5489ad9ce996a6.jpg resize: (1080, 1632) 1359814903 -6.14976010919406 treat image : temp/1747746146_2714928_1359814898_c6363c3f273defeca94c3c7df052f845.jpg resize: (1080, 1632) 1359814898 -4.439789654458491 treat image : temp/1747746146_2714928_1359814893_dec7f82091b1d41a156d8306fa85cec1.jpg resize: (1080, 1632) 1359814893 -5.555916661227735 treat image : temp/1747746146_2714928_1359814890_1813815d97326a92bfc6ee95bedf498a.jpg resize: (1080, 1632) 1359814890 -5.146590505228708 treat image : temp/1747746146_2714928_1359814793_508fe0fe9e9a38690abe2ea7ff13d655.jpg resize: (1080, 1632) 1359814793 -5.202436340471659 treat image : temp/1747746146_2714928_1359814762_3a5587df950b18885dbd3dbf0f8d08a4.jpg resize: (1080, 1632) 1359814762 -4.0907792519748885 treat image : temp/1747746146_2714928_1359814725_01e9dc305ea50bacbbba92e4a84f059c.jpg resize: (1080, 1632) 1359814725 -4.8065879502338404 treat image : temp/1747746146_2714928_1359814666_c0fb988d9bf0d9b05a0a85c49790397a.jpg resize: (1080, 1632) 1359814666 -5.701068190527129 treat image : temp/1747746146_2714928_1359814628_1973b45ca45b6d08c6f63b332b1d6b4a.jpg resize: (1080, 1632) 1359814628 -3.6726723504961485 treat image : temp/1747746146_2714928_1359814295_96ff6b6f4e785c2746796db1a173446d.jpg resize: (1080, 1632) 1359814295 -5.398047524634617 treat image : temp/1747746146_2714928_1359814263_9672f92997b6b3957c14c0d7e3f8ae79.jpg resize: (1080, 1632) 1359814263 -4.79590793035281 treat image : temp/1747746146_2714928_1359814221_e5ea64f9042fadbed2752cf270709a45.jpg resize: (1080, 1632) 1359814221 -4.636893321710921 treat image : temp/1747746146_2714928_1359814186_6c80c60ba26dff3913bd6a7e5fe29945.jpg resize: (1080, 1632) 1359814186 -3.1487011033159993 treat image : temp/1747746146_2714928_1359814154_5fdf89e569ce45a17b1fde2c525d9472.jpg resize: (1080, 1632) 1359814154 -5.331603269892576 treat image : temp/1747746146_2714928_1359813962_a16336556322d72007ac125b7b1ddf49.jpg resize: (1080, 1632) 1359813962 -4.563728003668711 treat image : temp/1747746146_2714928_1359813958_fc600e14fe68355f9e488477a7984a48.jpg resize: (1080, 1632) 1359813958 -5.738039582224743 treat image : temp/1747746146_2714928_1359813954_679883c50ef1b77422d1dfe33e09af6c.jpg resize: (1080, 1632) 1359813954 -5.278017704019216 treat image : temp/1747746146_2714928_1359813950_751ed52c6d341d299d514f7a4a06b7b4.jpg resize: (1080, 1632) 1359813950 -5.485552891341079 treat image : temp/1747746146_2714928_1359813743_037c730d3a9e08443aea77bf6003283e.jpg resize: (1080, 1632) 1359813743 -5.707781810305765 treat image : temp/1747746146_2714928_1359813712_2912dae8b277c5e80e9455a3936c035e.jpg resize: (1080, 1632) 1359813712 -5.661071478597686 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.01721358299255371 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.015065193176269531 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.024753332138061523 save missing photos in datou_result : time spend for datou_step_exec : 17.20795178413391 time spend to save output : 0.06146359443664551 total time spend for step 1 : 17.269415378570557 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.88user 4.76system 0:21.71elapsed 90%CPU (0avgtext+0avgdata 139812maxresident)k 5504inputs+10152outputs (26major+250564minor)pagefaults 0swaps