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 : 2613019 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 : 3076>100 please execute split_portfolio.py -i 22126404 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2730774'] with mtr_portfolio_ids : ['22126404'] and first list_photo_ids : [] new path : /proc/2613019/ 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 : 3.634899377822876 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 Apr 9 19:27:33 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/1744219649_2613019_1350654878_8cfc1390aee399e2e54cd458fb6ef611.jpg resize: (1080, 1632) 1350654878 -4.244250100494043 treat image : temp/1744219649_2613019_1350654874_0a13bbad7aa3f1e54f408d74bf8f1688.jpg resize: (1080, 1632) 1350654874 -3.549023935798807 treat image : temp/1744219649_2613019_1350654843_38bb372d6ff0dd49c164fe83167ee4f1.jpg resize: (1080, 1632) 1350654843 -1.798629340723728 treat image : temp/1744219649_2613019_1350654839_5dfa7d1864637460fe32e5b7557386d9.jpg resize: (1080, 1632) 1350654839 -1.1961880678975587 treat image : temp/1744219649_2613019_1350654835_facbf06e017728b5dbbc98823cefd99c.jpg resize: (1080, 1632) 1350654835 -4.323263384689122 treat image : temp/1744219649_2613019_1350654830_15856a17440d55261b299a252a3277e4.jpg resize: (1080, 1632) 1350654830 -6.272856291805184 treat image : temp/1744219649_2613019_1350654826_0e82b8e89b7b9671ce2c844f6b7f7b7f.jpg resize: (1080, 1632) 1350654826 -5.152188040611596 treat image : temp/1744219649_2613019_1350654786_45b2dd0c9a498f5edaa3e960652428a6.jpg resize: (1080, 1632) 1350654786 -4.895428495887514 treat image : temp/1744219649_2613019_1350654784_5c3048edcaebf75aa04e4285af8e6b1f.jpg resize: (1080, 1632) 1350654784 -5.406399243831377 treat image : temp/1744219649_2613019_1350654781_30aa32390e668e509521471a7ac2b8b1.jpg resize: (1080, 1632) 1350654781 -2.8393714429377144 treat image : temp/1744219649_2613019_1350654746_e26686f6df61a190c3c4f90617ea1536.jpg resize: (1080, 1632) 1350654746 -3.7937943074536995 treat image : temp/1744219649_2613019_1350654743_031e6629de93cfa3572915d1af9f3bf5.jpg resize: (1080, 1632) 1350654743 -6.031571683338805 treat image : temp/1744219649_2613019_1350654740_aa57d59abc03639353c94b2a998aca43.jpg resize: (1080, 1632) 1350654740 -5.01380071123333 treat image : temp/1744219649_2613019_1350654735_e51ac53b6850c236c320319a4faebcc3.jpg resize: (1080, 1632) 1350654735 -5.638231117351369 treat image : temp/1744219649_2613019_1350654731_03583b8417aaaa95a3dae1adb1d46419.jpg resize: (1080, 1632) 1350654731 -5.51171196243616 treat image : temp/1744219649_2613019_1350654697_0391a38bbb2b4c9a4d633f79dcf8a78b.jpg resize: (1080, 1632) 1350654697 -1.076833020348226 treat image : temp/1744219649_2613019_1350654693_d71cc8d00fb208355a2055e95bf6d9b1.jpg resize: (1080, 1632) 1350654693 -2.839139173920834 treat image : temp/1744219649_2613019_1350654689_9c209b7f3d8a425edc2314935d185052.jpg resize: (1080, 1632) 1350654689 -2.92930129558284 treat image : temp/1744219649_2613019_1350654688_d3659735559b86625ff1189fba167ca3.jpg resize: (1080, 1632) 1350654688 -4.572877661116916 treat image : temp/1744219649_2613019_1350654661_79869b8a0a5935b8e18ae54977f86bd6.jpg resize: (1080, 1632) 1350654661 -5.431170843536152 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.016661405563354492 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.0167236328125 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.019158363342285156 save missing photos in datou_result : time spend for datou_step_exec : 17.74929666519165 time spend to save output : 0.058620452880859375 total time spend for step 1 : 17.80791711807251 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.07user 5.21system 0:25.86elapsed 78%CPU (0avgtext+0avgdata 139488maxresident)k 184inputs+9168outputs (0major+261215minor)pagefaults 0swaps