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 : 1675354 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 : 1305>100 please execute split_portfolio.py -i 23145313 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2900260'] with mtr_portfolio_ids : ['23145313'] and first list_photo_ids : [] new path : /proc/1675354/ 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.256727933883667 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 May 20 10:07: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/1747728447_1675354_1359787247_96690b108341cc138e24382e2f05d513.jpg resize: (1080, 1632) 1359787247 -5.055977688704437 treat image : temp/1747728447_1675354_1359787241_11e6964b902303596cb082615a2391f5.jpg resize: (1080, 1632) 1359787241 -5.3702192696424085 treat image : temp/1747728447_1675354_1359787236_998200f26cee7a4292788ada5e3296dd.jpg resize: (1080, 1632) 1359787236 -4.817852029643738 treat image : temp/1747728447_1675354_1359787231_a1a2ad688fe720f1dbcc8c9646052946.jpg resize: (1080, 1632) 1359787231 -1.3275575562566413 treat image : temp/1747728447_1675354_1359787207_710cba4b6c2e4b8a084c68ecc07d0a07.jpg resize: (1080, 1632) 1359787207 -4.3677024221954195 treat image : temp/1747728447_1675354_1359787203_a1558e85f4d36ae8f817dbfdbb482354.jpg resize: (1080, 1632) 1359787203 -3.4723699281308003 treat image : temp/1747728447_1675354_1359787201_1ae84f015258b7de9271634bad851815.jpg resize: (1080, 1632) 1359787201 -3.688683774340164 treat image : temp/1747728447_1675354_1359787197_4ff883ddce1b51516b68bb098c951ac7.jpg resize: (1080, 1632) 1359787197 -4.904115077513992 treat image : temp/1747728447_1675354_1359787193_f2ca78bb0b297fc1632b2769b8677570.jpg resize: (1080, 1632) 1359787193 -4.428424548514493 treat image : temp/1747728447_1675354_1359787189_0df80b83d792b0f741b84eeb42e453b0.jpg resize: (1080, 1632) 1359787189 -4.308274606659106 treat image : temp/1747728447_1675354_1359787162_d41ead6a17918d46fd019d04ebe920cb.jpg resize: (1080, 1632) 1359787162 -1.1667542189664806 treat image : temp/1747728447_1675354_1359787157_f82d70202c818bcb4fc4f21f39f9bdb1.jpg resize: (1080, 1632) 1359787157 -2.1651569463601334 treat image : temp/1747728447_1675354_1359787153_e6af47b0ea65788bed1266bc778ca9b3.jpg resize: (1080, 1632) 1359787153 -4.967084397986988 treat image : temp/1747728447_1675354_1359787135_c19bdb00180aeb1b21fe1950687a72c5.jpg resize: (1080, 1632) 1359787135 -5.038689943617728 treat image : temp/1747728447_1675354_1359787132_8bdd40ba6c7cdd44f5d05097c0689910.jpg resize: (1080, 1632) 1359787132 -6.076148286329879 treat image : temp/1747728447_1675354_1359787126_caac108ea1c90ab3ae03f0c8b20d13fb.jpg resize: (1080, 1632) 1359787126 -5.456504121855178 treat image : temp/1747728447_1675354_1359787121_6de84697ae03f763beb21ef13bb568f6.jpg resize: (1080, 1632) 1359787121 -5.424394133080666 treat image : temp/1747728447_1675354_1359787117_fadd4b6e0d3ebceffb8f4ba072b635b2.jpg resize: (1080, 1632) 1359787117 -5.184539012301609 treat image : temp/1747728447_1675354_1359787113_3f5b0f867068cd6e4aef3f4561622ea3.jpg resize: (1080, 1632) 1359787113 -2.9193197531963984 treat image : temp/1747728447_1675354_1359786781_ce3104280ced94a831b178138aed2450.jpg resize: (1080, 1632) 1359786781 -1.4486363230315218 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.013550519943237305 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.10706067085266113 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.06676793098449707 save missing photos in datou_result : time spend for datou_step_exec : 18.986600875854492 time spend to save output : 0.1927030086517334 total time spend for step 1 : 19.179303884506226 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.42user 7.15system 0:23.47elapsed 91%CPU (0avgtext+0avgdata 136488maxresident)k 0inputs+9104outputs (13major+262947minor)pagefaults 0swaps