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 : 1191642 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 : 1056>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/1191642/ 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.3102710247039795 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 05:42: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/1747107749_1191642_1357768211_50191ea3782edf78f6c09542e9bc8aaa.jpg resize: (1080, 1632) 1357768211 -1.6170843607330148 treat image : temp/1747107749_1191642_1357768208_e953de73ca30f3543c7628dc5b336f10.jpg resize: (1080, 1632) 1357768208 -5.336747404914748 treat image : temp/1747107749_1191642_1357768204_82c12489cb48c98a3461d264898f7996.jpg resize: (1080, 1632) 1357768204 -5.427819295496121 treat image : temp/1747107749_1191642_1357768180_05e4a7f8652be0d80f523cf37f9f7f3a.jpg resize: (1080, 1632) 1357768180 -5.810762717750012 treat image : temp/1747107749_1191642_1357768178_0d185ca052beeec246e024e25df9c01b.jpg resize: (1080, 1632) 1357768178 -2.8498170421479254 treat image : temp/1747107749_1191642_1357768176_b5719a977030c4f797b855c68d2263f3.jpg resize: (1080, 1632) 1357768176 -3.105167709021977 treat image : temp/1747107749_1191642_1357768175_26b8db72bd14274f1e014c8db72a384b.jpg resize: (1080, 1632) 1357768175 -5.37021977281322 treat image : temp/1747107749_1191642_1357768174_443ffff9f34dc35d4b0b941cd6d6fb11.jpg resize: (1080, 1632) 1357768174 -4.7225044080012 treat image : temp/1747107749_1191642_1357768172_f8bc6fd90b2da75d9f4245e93e686b28.jpg resize: (1080, 1632) 1357768172 -6.036962224238652 treat image : temp/1747107749_1191642_1357768148_e78de46b22673be91139965bbc957fdb.jpg resize: (1080, 1632) 1357768148 -0.9995149030458994 treat image : temp/1747107749_1191642_1357768146_84357f91a68223b70c5c0ea025dc602a.jpg resize: (1080, 1632) 1357768146 -5.758438162420852 treat image : temp/1747107749_1191642_1357768144_3a03ac8f3fa402dcee056af73c6b61f1.jpg resize: (1080, 1632) 1357768144 -6.321535593795321 treat image : temp/1747107749_1191642_1357768143_6b99be5acc2edbacc4465a5009fe1efb.jpg resize: (1080, 1632) 1357768143 -3.915249256943375 treat image : temp/1747107749_1191642_1357768142_5a77b04cc77f9becc04de157e4c9635b.jpg resize: (1080, 1632) 1357768142 -5.278598843734605 treat image : temp/1747107749_1191642_1357768141_158cfd436d16315caf16388336b21514.jpg resize: (1080, 1632) 1357768141 -5.181735108405452 treat image : temp/1747107749_1191642_1357768114_df1acf2cbec03a4aba4c9308b4c6f3d1.jpg resize: (1080, 1632) 1357768114 -5.531430473254328 treat image : temp/1747107749_1191642_1357768113_b4daff09a1807f2d4e1b3ca10c6c3c81.jpg resize: (1080, 1632) 1357768113 -5.018370051433111 treat image : temp/1747107749_1191642_1357768111_52bcee0b4a0e64d8277232fce4f90ab8.jpg resize: (1080, 1632) 1357768111 -1.4778492478220053 treat image : temp/1747107749_1191642_1357768086_eeb756939369c405b2edaca0e2134b5f.jpg resize: (1080, 1632) 1357768086 -2.279469511058532 treat image : temp/1747107749_1191642_1357768084_b4ab0a73e90fa75064b593d6cd8e2e85.jpg resize: (1080, 1632) 1357768084 -4.363050463372606 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.012717247009277344 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.014883995056152344 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.021971464157104492 save missing photos in datou_result : time spend for datou_step_exec : 18.16029191017151 time spend to save output : 0.0647590160369873 total time spend for step 1 : 18.225050926208496 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 16.49user 4.58system 0:23.86elapsed 88%CPU (0avgtext+0avgdata 139552maxresident)k 8720inputs+9448outputs (24major+260749minor)pagefaults 0swaps