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 : 1143264 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/1143264/ 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.3053276538848877 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 Sat Jul 19 05:27:33 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/1752895649_1143264_1372311216_ece351b58a0dbc74434236eace3cdc30.jpg resize: (1080, 1632) 1372311216 -5.348550342582793 treat image : temp/1752895649_1143264_1372311211_78d4fe515c21f10f46a33a0969cdeff2.jpg resize: (1080, 1632) 1372311211 -5.355678107590808 treat image : temp/1752895649_1143264_1372311206_e656c8d5cc87d8d69749332f3e667e3b.jpg resize: (1080, 1632) 1372311206 -3.9765990718253383 treat image : temp/1752895649_1143264_1372311203_7514ec41ac70c93e30d72b7ec098f975.jpg resize: (1080, 1632) 1372311203 -2.1535891327408287 treat image : temp/1752895649_1143264_1372311199_0def1471c58db8ccc6cd748423a2e981.jpg resize: (1080, 1632) 1372311199 -1.68845050080419 treat image : temp/1752895649_1143264_1372311188_a1470995928fea52b0290e3b773cb72d.jpg resize: (1080, 1632) 1372311188 -2.2557758123353873 treat image : temp/1752895649_1143264_1372311164_b1c909b275066fdb3b02a9720ac5fe23.jpg resize: (1080, 1632) 1372311164 -4.726311857397265 treat image : temp/1752895649_1143264_1372311161_c588d82d2254f03e223203503ce7c223.jpg resize: (1080, 1632) 1372311161 -4.736051135358624 treat image : temp/1752895649_1143264_1372311158_b6a9459df0283b03d24c63a1a61389ca.jpg resize: (1080, 1632) 1372311158 -4.76979468040544 treat image : temp/1752895649_1143264_1372311156_42b5b06f76a06408a5e4c1523ccaf7a5.jpg resize: (1080, 1632) 1372311156 -3.841581870681851 treat image : temp/1752895649_1143264_1372311154_136115704e0f1c4551f1cd13c47298bd.jpg resize: (1080, 1632) 1372311154 -5.327176718867935 treat image : temp/1752895649_1143264_1372311146_3aede11e49c6595d5adc16e9f43d8eb7.jpg resize: (1080, 1632) 1372311146 -5.345192907120525 treat image : temp/1752895649_1143264_1372311124_c53499b334abd37965793db7e499e6f7.jpg resize: (1080, 1632) 1372311124 -5.392013996956857 treat image : temp/1752895649_1143264_1372311122_653a0227defa6f998b857db48ca4869f.jpg resize: (1080, 1632) 1372311122 -5.328231629338392 treat image : temp/1752895649_1143264_1372311118_0c5046f7a90eeb579f33834390d182b6.jpg resize: (1080, 1632) 1372311118 -5.346489798599563 treat image : temp/1752895649_1143264_1372311115_cef864460bd7c200d69b7f7d1c90b0fb.jpg resize: (1080, 1632) 1372311115 -5.039587820077446 treat image : temp/1752895649_1143264_1372311112_956f28ceef0e9e55984d4b072ce05a1a.jpg resize: (1080, 1632) 1372311112 -5.028891207044643 treat image : temp/1752895649_1143264_1372311103_7fdfcd686f0561a2f58752989bcab03e.jpg resize: (1080, 1632) 1372311103 -4.722687040690151 treat image : temp/1752895649_1143264_1372311071_ea5b4e13680f64610c32cdcedc870a60.jpg resize: (1080, 1632) 1372311071 -4.937483730432765 treat image : temp/1752895649_1143264_1372311069_d27ce58898c283787b658c65dfed8483.jpg resize: (1080, 1632) 1372311069 -4.890966747931365 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.01275944709777832 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.020862579345703125 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013017416000366211 save missing photos in datou_result : time spend for datou_step_exec : 15.204085350036621 time spend to save output : 0.051552772521972656 total time spend for step 1 : 15.255638122558594 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.19user 3.52system 0:22.38elapsed 79%CPU (0avgtext+0avgdata 137856maxresident)k 104inputs+9272outputs (15major+259242minor)pagefaults 0swaps