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 : 91065 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 : 1985>100 please execute split_portfolio.py -i 23101416 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2889281'] with mtr_portfolio_ids : ['23101416'] and first list_photo_ids : [] new path : /proc/91065/ 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.958418369293213 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 Wed Sep 17 01:27: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/1758065249_91065_1359513396_466a7be1dd3be6df014e1663c56ce8c7.jpg resize: (1080, 1632) 1359513396 -1.586809009765323 treat image : temp/1758065249_91065_1359513281_b5bdb7f01bf35e54eae747598f438f78.jpg resize: (1080, 1632) 1359513281 -5.19044174215847 treat image : temp/1758065249_91065_1359513276_6c1a1aaeaebae036b8706b40ab7bfbd3.jpg resize: (1080, 1632) 1359513276 -5.292988675808249 treat image : temp/1758065249_91065_1359513274_d1b8f441e348fbadfea7183d64258f53.jpg resize: (1080, 1632) 1359513274 -6.25029850327114 treat image : temp/1758065249_91065_1359513270_034b7571256dc359a998e0720461aaae.jpg resize: (1080, 1632) 1359513270 -5.954135764948701 treat image : temp/1758065249_91065_1359513266_2864a53296060b16801c6f475144a751.jpg resize: (1080, 1632) 1359513266 -5.647702862560745 treat image : temp/1758065249_91065_1359513263_0e1bc24dd36a5d91699c90c426663a23.jpg resize: (1080, 1632) 1359513263 -6.143619322792043 treat image : temp/1758065249_91065_1359513236_17a108b9621b8e8d8d763ed4366a23d1.jpg resize: (1080, 1632) 1359513236 -5.83777773348885 treat image : temp/1758065249_91065_1359513232_3250ffef3b4b0978530ba451de70fde9.jpg resize: (1080, 1632) 1359513232 -5.62737589688403 treat image : temp/1758065249_91065_1359513226_93423af24b31b143c325f44b157699e7.jpg resize: (1080, 1632) 1359513226 -5.272964187106693 treat image : temp/1758065249_91065_1359513206_f8356b4e16e03be3bb9ad63e74b1b21c.jpg resize: (1080, 1632) 1359513206 -4.818944263114722 treat image : temp/1758065249_91065_1359512916_534cf2122437a0bace9d7e705b099247.jpg resize: (1080, 1632) 1359512916 -5.642989207597023 treat image : temp/1758065249_91065_1359512705_d0635d6ac699d46a238519e9da9063cf.jpg resize: (1080, 1632) 1359512705 -3.635473767418549 treat image : temp/1758065249_91065_1359512678_efd5dfe2a78deaeb51bcc308d8655379.jpg resize: (1080, 1632) 1359512678 -3.152462760864565 treat image : temp/1758065249_91065_1359512448_f5431f22f47c60e84efc2bc7a9684669.jpg resize: (1080, 1632) 1359512448 -1.2371855950322215 treat image : temp/1758065249_91065_1359512444_54b15f9e50310c3bec5e1f5103a133c6.jpg resize: (1080, 1632) 1359512444 -2.8733241843673016 treat image : temp/1758065249_91065_1359512415_9c29a22302620351b4c1ad7f15aefe57.jpg resize: (1080, 1632) 1359512415 -5.579242086142758 treat image : temp/1758065249_91065_1359512410_c8d31782389af7b24a250f6e36e7f1c1.jpg resize: (1080, 1632) 1359512410 -3.8586684148722386 treat image : temp/1758065249_91065_1359512406_e2df62e24d604fe81cd35553d89d185f.jpg resize: (1080, 1632) 1359512406 -5.487110837388949 treat image : temp/1758065249_91065_1359512402_1e3f91e4e1165888c8b295d4e5be986e.jpg resize: (1080, 1632) 1359512402 -1.2210366450051757 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.01871633529663086 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.0178067684173584 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017989635467529297 save missing photos in datou_result : time spend for datou_step_exec : 16.42409348487854 time spend to save output : 0.059989213943481445 total time spend for step 1 : 16.48408269882202 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.08user 3.74system 0:23.97elapsed 78%CPU (0avgtext+0avgdata 138020maxresident)k 760inputs+9344outputs (35major+260115minor)pagefaults 0swaps