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 : 3776775 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 : 2741>100 please execute split_portfolio.py -i 20423330 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2574214'] with mtr_portfolio_ids : ['20423330'] and first list_photo_ids : [] new path : /proc/3776775/ 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.1988778114318848 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 Feb 11 19:07:32 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/1739297250_3776775_1336884919_bf181e4943eb2a6ec89b439f90e8a044.jpg resize: (1080, 1632) 1336884919 -5.8125608631845225 treat image : temp/1739297250_3776775_1336884914_772dc91d1779788533410c832bb93c43.jpg resize: (1080, 1632) 1336884914 -6.009749004619479 treat image : temp/1739297250_3776775_1336884908_12448231edaf14e3f9fc456bfff96201.jpg resize: (1080, 1632) 1336884908 -6.484866846071596 treat image : temp/1739297250_3776775_1336884903_86eec04b0064b87ba1465d5ea26595ab.jpg resize: (1080, 1632) 1336884903 -4.9059434137183535 treat image : temp/1739297250_3776775_1336884843_9a5ad4a77a2a1d9bd53d27fe4d5b4d2a.jpg resize: (1080, 1632) 1336884843 -4.612860345170055 treat image : temp/1739297250_3776775_1336884841_7a541f22ef0f01355cd530f40470c68a.jpg resize: (1080, 1632) 1336884841 -6.004418044384502 treat image : temp/1739297250_3776775_1336884836_517fd1914012595c16efc55c8b0ddcf4.jpg resize: (1080, 1632) 1336884836 -5.4771504115251 treat image : temp/1739297250_3776775_1336884819_2454d2ee41b6f3f0d5b5f4b402dcb686.jpg resize: (1080, 1632) 1336884819 -5.780556321832301 treat image : temp/1739297250_3776775_1336884815_7b1c97aed90c33b4cdfc07d9e6147d27.jpg resize: (1080, 1632) 1336884815 -5.96686970521033 treat image : temp/1739297250_3776775_1336884812_fd692fb7fc947d4014e60d8f98740840.jpg resize: (1080, 1632) 1336884812 -5.953956556947544 treat image : temp/1739297250_3776775_1336884743_85bb114a93539b3cc3e7c5a16d87bcb2.jpg resize: (1080, 1632) 1336884743 -1.7358152232991368 treat image : temp/1739297250_3776775_1336884739_cc17138d83450552d70171c19951dfcd.jpg resize: (1080, 1632) 1336884739 -6.085957904130998 treat image : temp/1739297250_3776775_1336884735_d799473f0cbf99bce02e12b416d9d78f.jpg resize: (1080, 1632) 1336884735 -5.072228859737973 treat image : temp/1739297250_3776775_1336884732_c3f2b6fa5ff328dba5a2a426b22b2e8f.jpg resize: (1080, 1632) 1336884732 -6.216232460478683 treat image : temp/1739297250_3776775_1336884715_ecc7b5f271cd354cb8f43c0c28016427.jpg resize: (1080, 1632) 1336884715 -6.10735256100441 treat image : temp/1739297250_3776775_1336884710_aa3bd508b65888edd5bee271dac410fa.jpg resize: (1080, 1632) 1336884710 -6.136503609449974 treat image : temp/1739297250_3776775_1336884706_ad51b736fa01add3221c115784088e94.jpg resize: (1080, 1632) 1336884706 -6.485637688223572 treat image : temp/1739297250_3776775_1336884702_3df8b952628fa0fa5a32d6a1726e028a.jpg resize: (1080, 1632) 1336884702 -5.8136394859488325 treat image : temp/1739297250_3776775_1336884699_f7db6c94b92c9c00cfc72f0780489433.jpg resize: (1080, 1632) 1336884699 -2.9355185925863863 treat image : temp/1739297250_3776775_1336884685_2332caeb3955dd4b85f5e90efe958f46.jpg resize: (1080, 1632) 1336884685 -6.046676763394744 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.015474319458007812 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.015897035598754883 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017136335372924805 save missing photos in datou_result : time spend for datou_step_exec : 17.48287320137024 time spend to save output : 0.053684234619140625 total time spend for step 1 : 17.53655743598938 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.22user 5.87system 0:23.78elapsed 84%CPU (0avgtext+0avgdata 138708maxresident)k 56inputs+11320outputs (0major+259088minor)pagefaults 0swaps