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 : 406605 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 : 3084>100 please execute split_portfolio.py -i 21570233 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2678697'] with mtr_portfolio_ids : ['21570233'] and first list_photo_ids : [] new path : /proc/406605/ 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.730661153793335 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 Fri Mar 21 16:57:31 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/1742572649_406605_1346079446_64a53776d000fc22e408418673abed24.jpg resize: (1080, 1632) 1346079446 -5.216185611582765 treat image : temp/1742572649_406605_1346079422_6c02fec089f237138f2d938f08580cdb.jpg resize: (1080, 1632) 1346079422 -6.34720862312952 treat image : temp/1742572649_406605_1346079408_866da7e9f499e31b01a09094ae8eda92.jpg resize: (1080, 1632) 1346079408 -6.124055323324684 treat image : temp/1742572649_406605_1346079387_1f7c4cf45b0592f8d982e8145ab4a42b.jpg resize: (1080, 1632) 1346079387 -6.279937231050063 treat image : temp/1742572649_406605_1346079358_775a7104cc0d633a556d534fb66811f1.jpg resize: (1080, 1632) 1346079358 -2.418124666361181 treat image : temp/1742572649_406605_1346079330_ead560515ce2445c70e3ef32e6b5f768.jpg resize: (1080, 1632) 1346079330 -2.1343639745366154 treat image : temp/1742572649_406605_1346078590_64e77767680398b8c961adecf3a8ce21.jpg resize: (1080, 1632) 1346078590 -5.566757113038799 treat image : temp/1742572649_406605_1346078507_5114f03dc89c724b289385fd116207b2.jpg resize: (1080, 1632) 1346078507 -6.924981317959323 treat image : temp/1742572649_406605_1346078377_29ef15fb9ec158852d2de20a7dee2ea0.jpg resize: (1080, 1632) 1346078377 -5.863674816445631 treat image : temp/1742572649_406605_1346078329_db7365fa6f9c46b33c3d70b380b13c95.jpg resize: (1080, 1632) 1346078329 -5.516481785603369 treat image : temp/1742572649_406605_1346078212_a4b4476eabae72a2d48bbbb4d083926e.jpg resize: (1080, 1632) 1346078212 -5.669609597899155 treat image : temp/1742572649_406605_1346078186_0b3b53bdce05183d23e9aed63708b619.jpg resize: (1080, 1632) 1346078186 -4.745399147356955 treat image : temp/1742572649_406605_1346078157_dca38eae82d6a670f2a8bbc77055edc5.jpg resize: (1080, 1632) 1346078157 -5.89788103374723 treat image : temp/1742572649_406605_1346078134_a195cc4ef6a85d6238e41445b8850839.jpg resize: (1080, 1632) 1346078134 -5.947040667936579 treat image : temp/1742572649_406605_1346078130_47b2e1c0ed23f6978e3b6c25936b5314.jpg resize: (1080, 1632) 1346078130 -5.897056367518332 treat image : temp/1742572649_406605_1346078125_d38de7a2b180c95abdb71cbfc294df74.jpg resize: (1080, 1632) 1346078125 -4.313759303721171 treat image : temp/1742572649_406605_1346077266_decc64d3108a270de35a0c156e55f26b.jpg resize: (1080, 1632) 1346077266 -6.340224941427008 treat image : temp/1742572649_406605_1346077244_1a21f88fc3b846010c7117e8a5a86f38.jpg resize: (1080, 1632) 1346077244 -4.954888602092197 treat image : temp/1742572649_406605_1346077214_69df0e431601864c556deffc36015aeb.jpg resize: (1080, 1632) 1346077214 -0.640113735814391 treat image : temp/1742572649_406605_1346077182_356b9f56eff0c5d332d710251699bf70.jpg resize: (1080, 1632) 1346077182 -3.9563914494047605 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.012520313262939453 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.012195348739624023 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01464700698852539 save missing photos in datou_result : time spend for datou_step_exec : 17.64374327659607 time spend to save output : 0.04443788528442383 total time spend for step 1 : 17.688181161880493 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.43user 5.54system 0:24.37elapsed 81%CPU (0avgtext+0avgdata 141708maxresident)k 104inputs+10808outputs (12major+262116minor)pagefaults 0swaps