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 : 584760 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 : 415>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/584760/ 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.164065361022949 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 13 02: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/1747094847_584760_1357759441_95ede012308c3334568fd88b93397212.jpg resize: (1080, 1632) 1357759441 -6.393525414613598 treat image : temp/1747094847_584760_1357759439_5a46467d46332314d98368ee430448f1.jpg resize: (1080, 1632) 1357759439 -5.269217217933141 treat image : temp/1747094847_584760_1357759425_8c9f3c5372701fcc3e2364df58222931.jpg resize: (1080, 1632) 1357759425 -1.8315957644319931 treat image : temp/1747094847_584760_1357759149_9fe7ae44af2914f1fdfce3afa2c3422e.jpg resize: (1080, 1632) 1357759149 -4.535061695579922 treat image : temp/1747094847_584760_1357759125_e54fbab6e9c67c6b94a229929fcc4b2a.jpg resize: (1080, 1632) 1357759125 -5.459062139343473 treat image : temp/1747094847_584760_1357759098_728bee5e4892684be9aecc7d1e98af6d.jpg resize: (1080, 1632) 1357759098 -5.875460562433322 treat image : temp/1747094847_584760_1357759092_7a449ccb763bab7d002c035f7b3dee44.jpg resize: (1080, 1632) 1357759092 -5.527353446481476 treat image : temp/1747094847_584760_1357759090_99c2cd96ba6e30cadadf39e210c148d9.jpg resize: (1080, 1632) 1357759090 -4.643897146493656 treat image : temp/1747094847_584760_1357759076_a64e848b944f8d23272eb4192eb929df.jpg resize: (1080, 1632) 1357759076 -6.598168739032974 treat image : temp/1747094847_584760_1357759072_8984205e4d85ef35dc6918d1987af5ba.jpg resize: (1080, 1632) 1357759072 -5.733829870400423 treat image : temp/1747094847_584760_1357759070_c2828f69695ce07e80ae209d8d69cad0.jpg resize: (1080, 1632) 1357759070 -6.327186290051271 treat image : temp/1747094847_584760_1357759068_342b9fb71736d400cf2695e7e4721301.jpg resize: (1080, 1632) 1357759068 -6.100197279623199 treat image : temp/1747094847_584760_1357759065_b2744a093deaa0f8d49e1810255377ef.jpg resize: (1080, 1632) 1357759065 -5.8694904658393625 treat image : temp/1747094847_584760_1357759063_74bb3f6faad2651ad230792abbfc4ee1.jpg resize: (1080, 1632) 1357759063 -6.3472970419952 treat image : temp/1747094847_584760_1357759027_3caf9d7407308165440aae668b3d762a.jpg resize: (1080, 1632) 1357759027 -1.2260958477504094 treat image : temp/1747094847_584760_1357759024_46652f71cb8bb545a86d15d6c5e0cf81.jpg resize: (1080, 1632) 1357759024 -2.294012678653831 treat image : temp/1747094847_584760_1357759022_8e7266c1e8a5b9a21707f477649cd31e.jpg resize: (1080, 1632) 1357759022 -1.6705650455935137 treat image : temp/1747094847_584760_1357759010_ddf302c7ade137d5b3b2dc82fd842214.jpg resize: (1080, 1632) 1357759010 -5.7648377213425235 treat image : temp/1747094847_584760_1357759007_58b16d4737b84dbfd2898d6bedf52c00.jpg resize: (1080, 1632) 1357759007 -5.620024416585771 treat image : temp/1747094847_584760_1357759005_8366e97c56bf93ca2051ed306c14e3a0.jpg resize: (1080, 1632) 1357759005 -3.2919869839979183 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.01471710205078125 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.01201009750366211 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01793813705444336 save missing photos in datou_result : time spend for datou_step_exec : 18.584293842315674 time spend to save output : 0.04991030693054199 total time spend for step 1 : 18.634204149246216 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.07user 6.48system 0:23.72elapsed 86%CPU (0avgtext+0avgdata 140468maxresident)k 0inputs+10624outputs (18major+260858minor)pagefaults 0swaps