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 : 578690 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 : 2598>100 please execute split_portfolio.py -i 21605229 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2681618'] with mtr_portfolio_ids : ['21605229'] and first list_photo_ids : [] new path : /proc/578690/ 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.04640793800354 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 Mar 22 10:32: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/1742635948_578690_1346381494_16576fcca5a2cebc4a85c800b94e95c9.jpg resize: (1080, 1632) 1346381494 -6.063815175810573 treat image : temp/1742635948_578690_1346381492_76f288e11347d38a2f07f73ca95d1c16.jpg resize: (1080, 1632) 1346381492 -5.0001698294452055 treat image : temp/1742635948_578690_1346381490_21768972e78846cf10dd29810f44baf7.jpg resize: (1080, 1632) 1346381490 -2.5326237278295483 treat image : temp/1742635948_578690_1346381488_fa7ac019611cbf92876ca6f539d59094.jpg resize: (1080, 1632) 1346381488 -4.657761400666083 treat image : temp/1742635948_578690_1346381486_00dd6dfa0fa678e570a0ef88b9588174.jpg resize: (1080, 1632) 1346381486 -6.231435463392492 treat image : temp/1742635948_578690_1346381482_f4d3654fbdcf7aa6aff96333b0439623.jpg resize: (1080, 1632) 1346381482 -5.930333959091232 treat image : temp/1742635948_578690_1346381473_45effed931585758bab06e163a42e542.jpg resize: (1080, 1632) 1346381473 -6.225696745163738 treat image : temp/1742635948_578690_1346381470_cf866187aadb91b04e25f13f603c0ce2.jpg resize: (1080, 1632) 1346381470 -6.352458872004036 treat image : temp/1742635948_578690_1346381468_168a6a9b0e8c60da051a68fecbf5dde2.jpg resize: (1080, 1632) 1346381468 -6.4711922693420965 treat image : temp/1742635948_578690_1346381466_c06693eb8fb43301a667fe9f052432fe.jpg resize: (1080, 1632) 1346381466 -5.757500923361619 treat image : temp/1742635948_578690_1346381462_ad7c7d01f4d1f08fb132f592796383e0.jpg resize: (1080, 1632) 1346381462 -5.975442432235176 treat image : temp/1742635948_578690_1346381448_56ff107f4df40663d4a19503ea0a1f85.jpg resize: (1080, 1632) 1346381448 -6.592470058231436 treat image : temp/1742635948_578690_1346381413_078e3a5057eeab0245017511808a6330.jpg resize: (1080, 1632) 1346381413 -6.634182399616393 treat image : temp/1742635948_578690_1346381411_a4ac25975901c1779ef1084ba1f3e35d.jpg resize: (1080, 1632) 1346381411 -5.679734358747282 treat image : temp/1742635948_578690_1346381386_3d23eb7d98478abde0674a73eb5a46d6.jpg resize: (1080, 1632) 1346381386 -2.057129590266329 treat image : temp/1742635948_578690_1346381382_655ead21f404027e2c9cfbb66741e074.jpg resize: (1080, 1632) 1346381382 -3.759966828841846 treat image : temp/1742635948_578690_1346381367_1054834c3dc07113b88a426e8708db4c.jpg resize: (1080, 1632) 1346381367 -4.662215707224364 treat image : temp/1742635948_578690_1346381343_3d3b5390418b7592bc9cecfb51c1df5d.jpg resize: (1080, 1632) 1346381343 -5.725912530572754 treat image : temp/1742635948_578690_1346381207_bc0d313d09fc40b9205211086d56f83f.jpg resize: (1080, 1632) 1346381207 -6.155648248118843 treat image : temp/1742635948_578690_1346381114_f778666d579dd9c5d88eb3829db48ca0.jpg resize: (1080, 1632) 1346381114 -5.182360570223851 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.013378143310546875 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.011887311935424805 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014957904815673828 save missing photos in datou_result : time spend for datou_step_exec : 15.679761409759521 time spend to save output : 0.0453948974609375 total time spend for step 1 : 15.725156307220459 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.26user 3.79system 0:21.45elapsed 84%CPU (0avgtext+0avgdata 141208maxresident)k 48inputs+11104outputs (9major+205119minor)pagefaults 0swaps