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 : 1386298 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 : 259>100 please execute split_portfolio.py -i 23235666 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2930256'] with mtr_portfolio_ids : ['23235666'] and first list_photo_ids : [] new path : /proc/1386298/ 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.2548828125 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 Thu May 22 05: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/1747886249_1386298_1360398606_57e2a43aa31968ca73fdf0ab4fad402d.jpg resize: (1080, 1632) 1360398606 -5.021003173157788 treat image : temp/1747886249_1386298_1360398588_e838f16fbd17b7461b43d44782240c79.jpg resize: (1080, 1632) 1360398588 -5.977832887018897 treat image : temp/1747886249_1386298_1360398434_c1f363448c49ebf32bb831687fc430a5.jpg resize: (1080, 1632) 1360398434 -3.146654055252877 treat image : temp/1747886249_1386298_1360398431_e7c8a2762fbb5f4c393e585f49684bbb.jpg resize: (1080, 1632) 1360398431 -0.25990624964803755 treat image : temp/1747886249_1386298_1360398428_b398650174da8d7c7c1fbb438c5c009f.jpg resize: (1080, 1632) 1360398428 -2.3247078297218846 treat image : temp/1747886249_1386298_1360398425_84de387c37dd8c311c040c7a716e407b.jpg resize: (1080, 1632) 1360398425 -5.536801688969467 treat image : temp/1747886249_1386298_1360398409_7808d0bdbfcc3bc42d109bb257d93712.jpg resize: (1080, 1632) 1360398409 -5.554559841616333 treat image : temp/1747886249_1386298_1360398407_01038104c81e3fd1fb9821caceeb2ed9.jpg resize: (1080, 1632) 1360398407 -5.072187363240579 treat image : temp/1747886249_1386298_1360398405_adad80f5feb25dba01a29441f7056bee.jpg resize: (1080, 1632) 1360398405 -3.675506118850771 treat image : temp/1747886249_1386298_1360398402_7f5b4f0883e12c6e8d960443522023f5.jpg resize: (1080, 1632) 1360398402 -5.9235015089131755 treat image : temp/1747886249_1386298_1360398399_9467321587ddf2f438a016a3ee918f91.jpg resize: (1080, 1632) 1360398399 -5.858553018963226 treat image : temp/1747886249_1386298_1360398397_5b876a4c16145fc54f1bd3c9f2e91c7c.jpg resize: (1080, 1632) 1360398397 -5.899419053848241 treat image : temp/1747886249_1386298_1360398223_0eeb46b403376b5ad71efaffb4523cda.jpg resize: (1080, 1632) 1360398223 -1.9500727604728165 treat image : temp/1747886249_1386298_1360398206_bdeae35df9494757ef90336815ea8b86.jpg resize: (1080, 1632) 1360398206 -2.3711658677987364 treat image : temp/1747886249_1386298_1360398173_1ac87fc229826232d7cd09113e0786ae.jpg resize: (1080, 1632) 1360398173 -5.255797883792714 treat image : temp/1747886249_1386298_1360398132_89f070b728ac797d0a79f95cb4865101.jpg resize: (1080, 1632) 1360398132 -2.432031620282311 treat image : temp/1747886249_1386298_1360397935_6b23371a186968ea921e054e84c1052d.jpg resize: (1080, 1632) 1360397935 -5.001498130648706 treat image : temp/1747886249_1386298_1360397904_59375aadfcd4626446b611bb20277d30.jpg resize: (1080, 1632) 1360397904 -5.943358324321675 treat image : temp/1747886249_1386298_1360397875_3c25a31ae143a854b44e82db596cf57e.jpg resize: (1080, 1632) 1360397875 -5.942851674328458 treat image : temp/1747886249_1386298_1360397850_3a81c3f2006424cf55867a74adf300b1.jpg resize: (1080, 1632) 1360397850 -6.578828439351896 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.01667046546936035 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.01798272132873535 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0208890438079834 save missing photos in datou_result : time spend for datou_step_exec : 15.266520977020264 time spend to save output : 0.060692787170410156 total time spend for step 1 : 15.327213764190674 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.12user 3.53system 0:21.52elapsed 82%CPU (0avgtext+0avgdata 142360maxresident)k 64inputs+9880outputs (3major+259551minor)pagefaults 0swaps