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 : 187688 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 : 7931>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/187688/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBHTTP Error 404: Not Found can't download the photo : 1371580658 complete_path : /home/admin/workarea/git/Velours/python/temp/1752258450_187688_1371580658_1359e13014c6b4443a752856131e3c8e.jpg FBFBHTTP Error 404: Not Found can't download the photo : 1371579854 complete_path : /home/admin/workarea/git/Velours/python/temp/1752258450_187688_1371579854_9574c2c57b77d4fcd764219291a02df7.jpg FBFBFBFBHTTP Error 404: Not Found can't download the photo : 1371579597 complete_path : /home/admin/workarea/git/Velours/python/temp/1752258450_187688_1371579597_45b40a85620f8f9a44dc36996094611a.jpg FBFwe have missing 3 photos in the step downloads : photo missing : [1371580658, 1371579854, 1371579597] try to delete the photos missing in DB Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371580658 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371579854 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371579597 length of list_filenames : 17 ; length of list_pids : 17 ; length of list_args : 17 time to download the photos : 3.36034893989563 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 20: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/1752258450_187688_1371658834_eeaacb25301c9cf27c00552758771ea3.jpg resize: (1080, 1632) 1371658834 -5.113845911107854 treat image : temp/1752258450_187688_1371658804_8d861a1c528859edffc1bbf6735e6520.jpg resize: (1080, 1632) 1371658804 -5.106546166373085 treat image : temp/1752258450_187688_1371658772_fad9e1cec13f5a1714b7b5fde5655c5d.jpg resize: (1080, 1632) 1371658772 -5.1038847918350845 treat image : temp/1752258450_187688_1371658745_b17e46b2211a0b7b9c4055395db20989.jpg resize: (1080, 1632) 1371658745 -5.114011113828644 treat image : temp/1752258450_187688_1371658723_90c0005835547fcfa0bda58dae5e2431.jpg resize: (1080, 1632) 1371658723 -5.3437429139313615 treat image : temp/1752258450_187688_1371658719_8e0f8a65c42875c9b98e86653227e759.jpg resize: (1080, 1632) 1371658719 -3.308958417022888 treat image : temp/1752258450_187688_1371658715_76a01629292ff260079fa97e133d238d.jpg resize: (1080, 1632) 1371658715 -5.341396899170977 treat image : temp/1752258450_187688_1371658711_b5af5330acb3d55f81f5df27c70176f7.jpg resize: (1080, 1632) 1371658711 -3.1633238059080853 treat image : temp/1752258450_187688_1371658708_21f4d060538d7b2c73304170aff3de2e.jpg resize: (1080, 1632) 1371658708 -1.7635442116223536 treat image : temp/1752258450_187688_1371658705_36c208c7ffbb91e24496263e91c9a7b0.jpg resize: (1080, 1632) 1371658705 -2.7015678043315616 treat image : temp/1752258450_187688_1371653630_27adcf76871e800282dad31146ffe653.jpg resize: (1080, 1632) 1371653630 -5.192762894718251 treat image : temp/1752258450_187688_1371653595_00aec26310e36893c96a3a9537b93524.jpg resize: (1080, 1632) 1371653595 -5.190503635919595 treat image : temp/1752258450_187688_1371580103_fa4f3de8e187b5a0a2736f2bd2e56cf7.jpg resize: (1080, 1632) 1371580103 -5.207530240782368 treat image : temp/1752258450_187688_1371579688_569b78119638e14fb331a5dbafff75e4.jpg resize: (1080, 1632) 1371579688 -5.208739932804738 treat image : temp/1752258450_187688_1371579656_d959f7b4f671a49764b2181c0002c0b6.jpg resize: (1080, 1632) 1371579656 -5.174556898277188 treat image : temp/1752258450_187688_1371579653_ba2914de3683bb2cdddb8a5fe8cac298.jpg resize: (1080, 1632) 1371579653 -4.831156303923905 treat image : temp/1752258450_187688_1371579584_ebf993d76c92f1e21648d90b2433953a.jpg resize: (1080, 1632) 1371579584 -5.078637643347158 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 : 17 time used for this insertion : 0.011720418930053711 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 17 time used for this insertion : 0.012970447540283203 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 17 time used for this insertion : 0.014992237091064453 save missing photos in datou_result : begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 time used for this insertion : 0.011991739273071289 time spend for datou_step_exec : 13.44287395477295 time spend to save output : 0.05661940574645996 total time spend for step 1 : 13.49949336051941 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 12.46user 3.22system 0:21.07elapsed 74%CPU (0avgtext+0avgdata 138524maxresident)k 0inputs+8024outputs (9major+228294minor)pagefaults 0swaps