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 : 2771477 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 : 913>100 please execute split_portfolio.py -i 20624335 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2594849'] with mtr_portfolio_ids : ['20624335'] and first list_photo_ids : [] new path : /proc/2771477/ 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.081756830215454 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 18 09:02:30 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/1739865748_2771477_1338301413_827d7a47541cf2984bbda03214fc1efb.jpg resize: (1080, 1632) 1338301413 -4.839712756906972 treat image : temp/1739865748_2771477_1338301404_eb0f7e86cc296658447dd90aa7214040.jpg resize: (1080, 1632) 1338301404 -5.4915944861035495 treat image : temp/1739865748_2771477_1338301401_4181c353128127d4fdc1ce7267416b46.jpg resize: (1080, 1632) 1338301401 -5.613768704485681 treat image : temp/1739865748_2771477_1338301389_bd63fd057adebe6d6838b0ca25a0edba.jpg resize: (1080, 1632) 1338301389 -5.319247178309446 treat image : temp/1739865748_2771477_1338301387_3d0da5313fd1c5f8eb3d264a1d533823.jpg resize: (1080, 1632) 1338301387 -4.498263151822841 treat image : temp/1739865748_2771477_1338301382_e51be66b001456ff9f26331ada23b943.jpg resize: (1080, 1632) 1338301382 -5.775863171706341 treat image : temp/1739865748_2771477_1338301377_e69b0a12ba06039fddc52bf023f063a4.jpg resize: (1080, 1632) 1338301377 -5.6314469775409 treat image : temp/1739865748_2771477_1338301375_94a3027994c69a2d945fbfeeb22e99f3.jpg resize: (1080, 1632) 1338301375 -5.569871418090729 treat image : temp/1739865748_2771477_1338301364_3345596fbd0001053426db4169ff98b3.jpg resize: (1080, 1632) 1338301364 -2.905257313304446 treat image : temp/1739865748_2771477_1338301358_e3f52667fdb4af33eb9431ae9321edbc.jpg resize: (1080, 1632) 1338301358 -4.548279656990865 treat image : temp/1739865748_2771477_1338301351_0c1a9c5e4bd6f7dbdceabdac821004fd.jpg resize: (1080, 1632) 1338301351 -4.652330816563577 treat image : temp/1739865748_2771477_1338301345_7cdc665e8f6d0bc0804634e59a0720c3.jpg resize: (1080, 1632) 1338301345 -5.7973112568796585 treat image : temp/1739865748_2771477_1338301338_f38688f6b91324765460757f433d9f89.jpg resize: (1080, 1632) 1338301338 -5.78023244971511 treat image : temp/1739865748_2771477_1338301334_84fdf527510a6834118d45c873220798.jpg resize: (1080, 1632) 1338301334 -5.8906059561442135 treat image : temp/1739865748_2771477_1338301146_77d57ec717433f678720ad640a20fa43.jpg resize: (1080, 1632) 1338301146 -2.6528297013301643 treat image : temp/1739865748_2771477_1338301144_0c6c2d3e7e137035d97d2ef0bad424f3.jpg resize: (1080, 1632) 1338301144 -1.6585142278080487 treat image : temp/1739865748_2771477_1338301143_8b7df33cce296e117e08e5c1ca5b349a.jpg resize: (1080, 1632) 1338301143 -5.912102237793814 treat image : temp/1739865748_2771477_1338301117_f8f79bf8c8e1e434a348155ee8f36893.jpg resize: (1080, 1632) 1338301117 -4.848667206096884 treat image : temp/1739865748_2771477_1338301115_dd31ac282e0d00c1d4c084aa027a4e7e.jpg resize: (1080, 1632) 1338301115 -6.423845954065997 treat image : temp/1739865748_2771477_1338301113_11c0999c78903aa72987e2bf97fbb7f6.jpg resize: (1080, 1632) 1338301113 -6.63249664775551 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.013895750045776367 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.013668537139892578 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01591038703918457 save missing photos in datou_result : time spend for datou_step_exec : 16.24208402633667 time spend to save output : 0.06107378005981445 total time spend for step 1 : 16.303157806396484 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.07user 3.86system 0:20.71elapsed 91%CPU (0avgtext+0avgdata 143756maxresident)k 4640inputs+10432outputs (53major+262262minor)pagefaults 0swaps