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 : 214794 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 : 145>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/214794/ 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.3333182334899902 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 Mon May 19 05:37:28 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/1747625846_214794_1359277131_ea68c0240083d4d793358edb5dde96bb.jpg resize: (1080, 1632) 1359277131 -1.3457241769881532 treat image : temp/1747625846_214794_1359277129_6f78c2d9bd69ca73a363c8f383d0a67f.jpg resize: (1080, 1632) 1359277129 -3.5836640857964595 treat image : temp/1747625846_214794_1359277127_4b962e66e2f2861a64356d27573a5283.jpg resize: (1080, 1632) 1359277127 -5.609528782661491 treat image : temp/1747625846_214794_1359277124_ba5666f94ac72fb4f3a57b37a2fe482e.jpg resize: (1080, 1632) 1359277124 -5.752140403300638 treat image : temp/1747625846_214794_1359277121_9a332753b5670ed054089345539b795c.jpg resize: (1080, 1632) 1359277121 -4.133928874999316 treat image : temp/1747625846_214794_1359277117_d6a6b6832dcf29f95da3c20c22f7497c.jpg resize: (1080, 1632) 1359277117 -5.504132237937409 treat image : temp/1747625846_214794_1359277101_ac2442a2a47cc079ed7d8e1603aead60.jpg resize: (1080, 1632) 1359277101 -5.680344130196818 treat image : temp/1747625846_214794_1359277098_36c984d00290a0d90ddaff72f28050a1.jpg resize: (1080, 1632) 1359277098 -4.711292346975292 treat image : temp/1747625846_214794_1359277094_ab3833c8fd9ba699e1e57b53ccd3e64b.jpg resize: (1080, 1632) 1359277094 -1.291649537641664 treat image : temp/1747625846_214794_1359277092_988241f8bcba1fece38c2a403ef3db7f.jpg resize: (1080, 1632) 1359277092 -1.8897653638666687 treat image : temp/1747625846_214794_1359277080_336a2448042e8a6638f100f75753227e.jpg resize: (1080, 1632) 1359277080 -5.448832282402783 treat image : temp/1747625846_214794_1359277078_ad2490e89010318c8cf91faf98298b5b.jpg resize: (1080, 1632) 1359277078 -5.259447952664925 treat image : temp/1747625846_214794_1359277074_c2cc7077b157e7a60c891812265e62ba.jpg resize: (1080, 1632) 1359277074 -4.952098094978828 treat image : temp/1747625846_214794_1359277072_e6acc665b669bc78d474a17538498d25.jpg resize: (1080, 1632) 1359277072 -5.490242927990861 treat image : temp/1747625846_214794_1359277069_3065e2a1243432a705f48dba2ef1b9c3.jpg resize: (1080, 1632) 1359277069 -5.604244877595415 treat image : temp/1747625846_214794_1359277056_6c71138d976155394186742e76d15cb9.jpg resize: (1080, 1632) 1359277056 -1.183651499058573 treat image : temp/1747625846_214794_1359277054_51a7fce91814c29a05468a173b84c5fe.jpg resize: (1080, 1632) 1359277054 -3.513319211740902 treat image : temp/1747625846_214794_1359277051_bb83b0d7b1f690e9a6f43ce13ab7343b.jpg resize: (1080, 1632) 1359277051 -4.96926852283463 treat image : temp/1747625846_214794_1359277049_edacff2c626ac09db3dc0143452424ea.jpg resize: (1080, 1632) 1359277049 -5.232736850945608 treat image : temp/1747625846_214794_1359277045_a90d6cf61cf48bae903ad66e8e377753.jpg resize: (1080, 1632) 1359277045 -4.442565634557412 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.015624284744262695 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.054749250411987305 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.021968364715576172 save missing photos in datou_result : time spend for datou_step_exec : 15.889851093292236 time spend to save output : 0.09751439094543457 total time spend for step 1 : 15.987365484237671 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.12user 4.50system 0:20.12elapsed 92%CPU (0avgtext+0avgdata 138884maxresident)k 120inputs+9016outputs (5major+260434minor)pagefaults 0swaps