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 : 2216884 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/2216884/ 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 : 3.301990509033203 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 18 02:27:31 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/1752798448_2216884_1372329226_29fdf3d8e9a5b0804919f1145285a925.jpg resize: (1080, 1632) 1372329226 -2.7634511284352117 treat image : temp/1752798448_2216884_1372329225_0ed46cefd5d1a76c564a8a299e9d421f.jpg resize: (1080, 1632) 1372329225 -2.4528298921181477 treat image : temp/1752798448_2216884_1372329223_3c312fe77d546af085cf45950afd6433.jpg resize: (1080, 1632) 1372329223 -2.4842570725048727 treat image : temp/1752798448_2216884_1372329220_33aa2c4a2655051fabe3a1db352975bf.jpg resize: (1080, 1632) 1372329220 -5.467026541772337 treat image : temp/1752798448_2216884_1372329218_ef2544aa92b578b754e962bcfb2726f8.jpg resize: (1080, 1632) 1372329218 -5.452999427036912 treat image : temp/1752798448_2216884_1372329188_d8be5beacd755e19abe58d785e2ed555.jpg resize: (1080, 1632) 1372329188 -1.6267075710028693 treat image : temp/1752798448_2216884_1372329165_db5d3f24d544f06a897c2fb64f74e984.jpg resize: (1080, 1632) 1372329165 -4.058476314375298 treat image : temp/1752798448_2216884_1372329163_fd0d6a3ac5bb09dde9217beed336f7e3.jpg resize: (1080, 1632) 1372329163 -5.6375688358456255 treat image : temp/1752798448_2216884_1372329161_efab28809f3cd84575242dab86aed921.jpg resize: (1080, 1632) 1372329161 -6.074680711926038 treat image : temp/1752798448_2216884_1372329159_6216327d61216672e3755ab8bf2e7fac.jpg resize: (1080, 1632) 1372329159 -6.076027102192299 treat image : temp/1752798448_2216884_1372329156_5c9cb501460f488880b99fc1c26e5ef8.jpg resize: (1080, 1632) 1372329156 -5.467965008950486 treat image : temp/1752798448_2216884_1372329151_005ff6559bf35d9425ebf404f2fdf037.jpg resize: (1080, 1632) 1372329151 -6.026292303830586 treat image : temp/1752798448_2216884_1372329121_e408d33a997e6de580c307c700f7b0bb.jpg resize: (1080, 1632) 1372329121 -2.794155695936247 treat image : temp/1752798448_2216884_1372329119_f40bce3517f182f9b9f2212d6f8682af.jpg resize: (1080, 1632) 1372329119 -2.9939479322352343 treat image : temp/1752798448_2216884_1372329118_1f4bbea86f5b6195ef7e4a46c1601ac2.jpg resize: (1080, 1632) 1372329118 -4.024847300561671 treat image : temp/1752798448_2216884_1372329116_cb3b05f9d9614b160d2c767ab7322202.jpg resize: (1080, 1632) 1372329116 -5.224769636199406 treat image : temp/1752798448_2216884_1372329114_ae2b4e6acfd1633330321d26566575d6.jpg resize: (1080, 1632) 1372329114 -5.025794376147116 treat image : temp/1752798448_2216884_1372329113_90bc2b44a7d64dcc8d9051c140065076.jpg resize: (1080, 1632) 1372329113 -6.01022369333907 treat image : temp/1752798448_2216884_1372329090_5e9dc9af93e01b542c7a160bd8208f1c.jpg resize: (1080, 1632) 1372329090 -3.7273421079551974 treat image : temp/1752798448_2216884_1372329088_33fe68056e3dacb94849ed2ae21fc814.jpg resize: (1080, 1632) 1372329088 -5.5831911204164655 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.013278961181640625 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.013887643814086914 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014975309371948242 save missing photos in datou_result : time spend for datou_step_exec : 15.696324348449707 time spend to save output : 0.0469050407409668 total time spend for step 1 : 15.743229389190674 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.07user 4.24system 0:21.18elapsed 86%CPU (0avgtext+0avgdata 138176maxresident)k 48inputs+9448outputs (16major+242546minor)pagefaults 0swaps