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 : 4040952 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 : 6647>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/4040952/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBHTTP Error 404: Not Found can't download the photo : 1371587467 complete_path : /home/admin/workarea/git/Velours/python/temp/1752250947_4040952_1371587467_e505934173d3459deec373856a31f6ec.jpg FBHTTP Error 404: Not Found can't download the photo : 1371587455 complete_path : /home/admin/workarea/git/Velours/python/temp/1752250947_4040952_1371587455_bc97dbf44899f11512121141a6d28531.jpg Fwe have missing 2 photos in the step downloads : photo missing : [1371587467, 1371587455] try to delete the photos missing in DB Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371587467 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371587455 length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.7680797576904297 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 11 18:22: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/1752250947_4040952_1371634658_d6324e689194c9b48cc31757081436e8.jpg resize: (1080, 1632) 1371634658 -5.338704731939778 treat image : temp/1752250947_4040952_1371634657_6a660db5038ca6d5db2232a32e3554ba.jpg resize: (1080, 1632) 1371634657 -5.338704731939778 treat image : temp/1752250947_4040952_1371634653_486b36299a47fb6a2c307143ffeaf4b3.jpg resize: (1080, 1632) 1371634653 -5.717636786321981 treat image : temp/1752250947_4040952_1371634651_08351748b3f1b32906e3c669bfb585bd.jpg resize: (1080, 1632) 1371634651 -5.717636786321981 treat image : temp/1752250947_4040952_1371634647_2744cafb8ef382448ab1e54692a545ad.jpg resize: (1080, 1632) 1371634647 -5.7580293131929885 treat image : temp/1752250947_4040952_1371634644_abdfd46c2e615ccb0851db2bf9268ec6.jpg resize: (1080, 1632) 1371634644 -5.7580293131929885 treat image : temp/1752250947_4040952_1371634641_c41c22e638f64487959ffe28a6bb198c.jpg resize: (1080, 1632) 1371634641 -5.3204675784167215 treat image : temp/1752250947_4040952_1371634637_6a04dae81690111c68c0f2dfd6eebbf6.jpg resize: (1080, 1632) 1371634637 -5.3204675784167215 treat image : temp/1752250947_4040952_1371634636_a99d14fc4107b8b2cba678fa6536a1e0.jpg resize: (1080, 1632) 1371634636 -2.785509896703457 treat image : temp/1752250947_4040952_1371634631_12f276fabf063c687f5a1a08c4928bcb.jpg resize: (1080, 1632) 1371634631 -2.785509896703457 treat image : temp/1752250947_4040952_1371634626_a0a4ac720b15e8e11946a5b295135095.jpg resize: (1080, 1632) 1371634626 -4.7223022074401895 treat image : temp/1752250947_4040952_1371634625_c3d1660b2974310e4fb8fe169433f79b.jpg resize: (1080, 1632) 1371634625 -4.7223022074401895 treat image : temp/1752250947_4040952_1371634612_60481c8d365478e4a5eaa993813ab3ee.jpg resize: (1080, 1632) 1371634612 -4.971696057022656 treat image : temp/1752250947_4040952_1371634610_c7dee0ef4459c1578bc35af87646e1b2.jpg resize: (1080, 1632) 1371634610 -4.971515153520367 treat image : temp/1752250947_4040952_1371634608_8ed9885f7a3f53e1bc370e8d5532dcc3.jpg resize: (1080, 1632) 1371634608 -5.000699156837147 treat image : temp/1752250947_4040952_1371634603_e18002053d138af4120dd38795dbc34b.jpg resize: (1080, 1632) 1371634603 -4.998620478445569 treat image : temp/1752250947_4040952_1371634574_e49908aaf4d58fca09d7772382530fcf.jpg resize: (1080, 1632) 1371634574 -4.997981516378428 treat image : temp/1752250947_4040952_1371634547_d70b3505bb5aa11c41f0100df51cc4fc.jpg resize: (1080, 1632) 1371634547 -5.022976745822854 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 : 18 time used for this insertion : 0.012645721435546875 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.014925956726074219 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.014783382415771484 save missing photos in datou_result : begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 time used for this insertion : 0.011211872100830078 time spend for datou_step_exec : 15.41593599319458 time spend to save output : 0.059140682220458984 total time spend for step 1 : 15.475076675415039 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.26user 4.83system 0:19.82elapsed 91%CPU (0avgtext+0avgdata 139488maxresident)k 0inputs+8912outputs (0major+244508minor)pagefaults 0swaps