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 : 2523740 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 : 7636>100 please execute split_portfolio.py -i 24580131 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3234427'] with mtr_portfolio_ids : ['24580131'] and first list_photo_ids : [] new path : /proc/2523740/ 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.148390531539917 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 Jul 4 23:47:28 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/1751665646_2523740_1370711778_74fa518bba12696c497354e0ade9750f.jpg resize: (1080, 1632) 1370711778 -4.750290861121403 treat image : temp/1751665646_2523740_1370711777_bae401086650cea49649bf329ef15ca5.jpg resize: (1080, 1632) 1370711777 -4.140936520679287 treat image : temp/1751665646_2523740_1370711761_924679b6451f481c40b733e5a0379955.jpg resize: (1080, 1632) 1370711761 -2.241064601127591 treat image : temp/1751665646_2523740_1370711753_3c2eb0685db86fc8ab08a0bce22e3602.jpg resize: (1080, 1632) 1370711753 -4.643048832589975 treat image : temp/1751665646_2523740_1370711744_f741749eafde199eabbb00c345f2a8d9.jpg resize: (1080, 1632) 1370711744 -4.277057541906839 treat image : temp/1751665646_2523740_1370711740_5bd9a0e01e3cb50a83a893f36594625c.jpg resize: (1080, 1632) 1370711740 -3.727507856158043 treat image : temp/1751665646_2523740_1370711734_af0829043928d20280d0c8e938a2a336.jpg resize: (1080, 1632) 1370711734 -2.84583582614567 treat image : temp/1751665646_2523740_1370711731_7fc585cf76c8e50bdb7366e9430ff81a.jpg resize: (1080, 1632) 1370711731 -2.776953045552609 treat image : temp/1751665646_2523740_1370711727_3d77bb40fe01d210f5aa420b8c3f5375.jpg resize: (1080, 1632) 1370711727 -3.19818492923019 treat image : temp/1751665646_2523740_1370711724_d047a3f50b48bdd39f16157f6ea88f12.jpg resize: (1080, 1632) 1370711724 -2.5370528286391534 treat image : temp/1751665646_2523740_1370711718_e032cbdf793569e863758051981912a0.jpg resize: (1080, 1632) 1370711718 -4.9837085205087 treat image : temp/1751665646_2523740_1370711706_a7436e38c26a778289cb4fe9e488b42d.jpg resize: (1080, 1632) 1370711706 -4.974206555108392 treat image : temp/1751665646_2523740_1370711697_af6dcb8cfabc9ac2a81024853295582d.jpg resize: (1080, 1632) 1370711697 -5.110638928225892 treat image : temp/1751665646_2523740_1370711693_1058e52c5204dda6861f81753c8b79c8.jpg resize: (1080, 1632) 1370711693 -5.123137190770761 treat image : temp/1751665646_2523740_1370711690_b2b954fd8e9006ad0ace9fee3bfaa9df.jpg resize: (1080, 1632) 1370711690 -5.115219934912793 treat image : temp/1751665646_2523740_1370711688_5b205c22675a44919f8e64aa8acb840c.jpg resize: (1080, 1632) 1370711688 -1.1605729964750984 treat image : temp/1751665646_2523740_1370711685_d65f327d82528d473a9807bed85da582.jpg resize: (1080, 1632) 1370711685 -2.8531456407348887 treat image : temp/1751665646_2523740_1370711684_7113df444839087623dcc1aea70fb2b4.jpg resize: (1080, 1632) 1370711684 -2.8703604994020315 treat image : temp/1751665646_2523740_1370711580_6f61c933f9016f843ef157ef62d1dee1.jpg resize: (1080, 1632) 1370711580 -4.646532996684508 treat image : temp/1751665646_2523740_1370711577_bbdaf656dc083534c62121374e51617c.jpg resize: (1080, 1632) 1370711577 -4.65890455813692 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.014303445816040039 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.01324605941772461 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017605066299438477 save missing photos in datou_result : time spend for datou_step_exec : 16.45718216896057 time spend to save output : 0.05001425743103027 total time spend for step 1 : 16.5071964263916 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.42user 4.90system 0:20.33elapsed 95%CPU (0avgtext+0avgdata 137976maxresident)k 256inputs+8232outputs (15major+254328minor)pagefaults 0swaps