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 : 2743252 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/2743252/ 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.2933359146118164 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 05:57: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/1752811049_2743252_1372326046_8fcb49ae14f488ad69a9fbeded32fe03.jpg resize: (1080, 1632) 1372326046 -4.96865944942019 treat image : temp/1752811049_2743252_1372326025_1da25ea9d41eff354e806e56ac77eb97.jpg resize: (1080, 1632) 1372326025 -5.299983070924504 treat image : temp/1752811049_2743252_1372326021_2d6d745f931895ba8ec9af3220b3d879.jpg resize: (1080, 1632) 1372326021 -5.6777868965860465 treat image : temp/1752811049_2743252_1372326017_ca5470ffcab1f266c8429b250d656ae5.jpg resize: (1080, 1632) 1372326017 -3.5815947662042307 treat image : temp/1752811049_2743252_1372326013_9196d55f621e25d325d230d323bbe7da.jpg resize: (1080, 1632) 1372326013 -1.5813304854600523 treat image : temp/1752811049_2743252_1372326010_39da02ab37d3d37954e3b6d5f97c11fe.jpg resize: (1080, 1632) 1372326010 -2.6452883852784104 treat image : temp/1752811049_2743252_1372326006_8f8e35a90cf692e227f5d06958710542.jpg resize: (1080, 1632) 1372326006 -2.614633769428211 treat image : temp/1752811049_2743252_1372325987_2fd052cb2b247221e1e8048a04379c73.jpg resize: (1080, 1632) 1372325987 -2.4405875467373512 treat image : temp/1752811049_2743252_1372325983_603bd90aefb8afe7b30b0ffd36369583.jpg resize: (1080, 1632) 1372325983 -5.4635488955424485 treat image : temp/1752811049_2743252_1372325980_35937befd26e5b2d91272e7969dfb077.jpg resize: (1080, 1632) 1372325980 -5.84582025651857 treat image : temp/1752811049_2743252_1372325975_8489417f80b30affe44ee3cd62f49f8d.jpg resize: (1080, 1632) 1372325975 -5.362837917518941 treat image : temp/1752811049_2743252_1372325973_2cc48a3fe7cbfcda709d47de87dcc05b.jpg resize: (1080, 1632) 1372325973 -5.43087562674996 treat image : temp/1752811049_2743252_1372325968_cfe8788c1dd3bc69f247301469c44a20.jpg resize: (1080, 1632) 1372325968 -5.690775237251102 treat image : temp/1752811049_2743252_1372325944_06bf84749ee52b36807f9ff1c97a2b3d.jpg resize: (1080, 1632) 1372325944 -4.834271016290111 treat image : temp/1752811049_2743252_1372325942_86b139a48bb9e5f49932f4baa9b47b90.jpg resize: (1080, 1632) 1372325942 -5.164419294840984 treat image : temp/1752811049_2743252_1372325940_01b4dc34e5fddd79e3819a4e59cfc348.jpg resize: (1080, 1632) 1372325940 -2.7993797096707427 treat image : temp/1752811049_2743252_1372325936_98195c48032cb96c18bedd528b6cd574.jpg resize: (1080, 1632) 1372325936 -1.9608480998205902 treat image : temp/1752811049_2743252_1372325934_8fd4aa90efa775a6b9ac723073334c09.jpg resize: (1080, 1632) 1372325934 -2.8559018546795834 treat image : temp/1752811049_2743252_1372325931_83695c7d2e6387868aa901d7305f41ac.jpg resize: (1080, 1632) 1372325931 -2.099947181074026 treat image : temp/1752811049_2743252_1372325908_0283935d550877fff2481fe68f3d13b1.jpg resize: (1080, 1632) 1372325908 -3.374229632612406 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.014645576477050781 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.020151853561401367 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.022974252700805664 save missing photos in datou_result : time spend for datou_step_exec : 17.456567525863647 time spend to save output : 0.061945438385009766 total time spend for step 1 : 17.518512964248657 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.65user 5.21system 0:23.99elapsed 82%CPU (0avgtext+0avgdata 138532maxresident)k 3456inputs+8904outputs (26major+245373minor)pagefaults 0swaps