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 : 458124 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 : 8891>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/458124/ 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.273231029510498 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 11 22: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/1752264147_458124_1371677791_1a30557d6d8400259781b0821da939e6.jpg resize: (1080, 1632) 1371677791 -5.418193464735945 treat image : temp/1752264147_458124_1371677764_156599d2aebc71cd60245ae124566fd6.jpg resize: (1080, 1632) 1371677764 -5.434885585715352 treat image : temp/1752264147_458124_1371677747_ff99a66e2fd8bafb5d30d587beed797a.jpg resize: (1080, 1632) 1371677747 -5.425645896242894 treat image : temp/1752264147_458124_1371677743_0f566388087b3f4a9e43c1f0e9c37bec.jpg resize: (1080, 1632) 1371677743 -5.439581125646152 treat image : temp/1752264147_458124_1371677740_0be8a908a0312680995afd619ed68323.jpg resize: (1080, 1632) 1371677740 -5.457330864898887 treat image : temp/1752264147_458124_1371677735_2d622cabdb1329bc7553b561ca761a98.jpg resize: (1080, 1632) 1371677735 -5.450531719119147 treat image : temp/1752264147_458124_1371677721_9c85a1a8b2a0a0f687c2cdf6b918029a.jpg resize: (1080, 1632) 1371677721 -4.99533893081619 treat image : temp/1752264147_458124_1371677716_0ff661038bf1fae9323bd5cebfc4174b.jpg resize: (1080, 1632) 1371677716 -4.78059778631548 treat image : temp/1752264147_458124_1371677697_07c9b4bb658d1ade27a7e07e5564806f.jpg resize: (1080, 1632) 1371677697 -4.270454271737358 treat image : temp/1752264147_458124_1371677673_f7844160cc29c1a19fc236ef2643ddcb.jpg resize: (1080, 1632) 1371677673 -5.129110866704373 treat image : temp/1752264147_458124_1371677645_20e4f18381a9d10c86fc19cbc24bfe86.jpg resize: (1080, 1632) 1371677645 -5.261813976651926 treat image : temp/1752264147_458124_1371677618_d39b705daa104a5114367f7b889c99b5.jpg resize: (1080, 1632) 1371677618 -2.6644845739299323 treat image : temp/1752264147_458124_1371677507_18d6c67a30bad34545011c5e1b363d47.jpg resize: (1080, 1632) 1371677507 -5.468459823804532 treat image : temp/1752264147_458124_1371677476_6a3f81841acef62860d8b6708752ceb0.jpg resize: (1080, 1632) 1371677476 -5.815630244996674 treat image : temp/1752264147_458124_1371677443_f8271898e384f127d200d15e15996479.jpg resize: (1080, 1632) 1371677443 -5.644035309109968 treat image : temp/1752264147_458124_1371677406_7cbc330e532eaaf0e9ad5e6451e41e31.jpg resize: (1080, 1632) 1371677406 -5.871739552980221 treat image : temp/1752264147_458124_1371677373_090b286f01591dcc018cf8a308bd334b.jpg resize: (1080, 1632) 1371677373 -6.37833704616042 treat image : temp/1752264147_458124_1371677365_06c14b544f07ca7b72a2c6bd8a8e158f.jpg resize: (1080, 1632) 1371677365 -4.676506927902093 treat image : temp/1752264147_458124_1371677355_4729b43adf11ee8930fccc0963200d3a.jpg resize: (1080, 1632) 1371677355 -1.9355827487260155 treat image : temp/1752264147_458124_1371677347_9a6cd8ca2bdc6ebbb13b7307e9e05e0a.jpg resize: (1080, 1632) 1371677347 -2.308783354217152 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.01883220672607422 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.019185304641723633 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016874313354492188 save missing photos in datou_result : time spend for datou_step_exec : 16.06345224380493 time spend to save output : 0.05960583686828613 total time spend for step 1 : 16.123058080673218 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.59user 3.50system 0:20.92elapsed 86%CPU (0avgtext+0avgdata 139316maxresident)k 0inputs+10088outputs (7major+258549minor)pagefaults 0swaps