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 : 1256516 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 : 1119>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/1256516/ 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 : 4.941404819488525 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 Tue May 13 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/1747108647_1256516_1357769447_6cf2a19c326861f596b348874409587b.jpg resize: (1080, 1632) 1357769447 -2.0737500806079523 treat image : temp/1747108647_1256516_1357769445_f625ed7c4ea44f9c08a3be175f6740e8.jpg resize: (1080, 1632) 1357769445 -2.709965267804449 treat image : temp/1747108647_1256516_1357769444_ec738fc14478ce46080ab2202fd6659f.jpg resize: (1080, 1632) 1357769444 -4.0487045079003305 treat image : temp/1747108647_1256516_1357769443_9f15ce094a5f6005d3ef524e670bc6aa.jpg resize: (1080, 1632) 1357769443 -5.79308587385215 treat image : temp/1747108647_1256516_1357769441_b7b8be26172b6369032e3fcb145f43a4.jpg resize: (1080, 1632) 1357769441 -5.585285497116284 treat image : temp/1747108647_1256516_1357769417_7f08a926e23d3e729393da9ab5a541ba.jpg resize: (1080, 1632) 1357769417 -5.153623084045765 treat image : temp/1747108647_1256516_1357769416_d74c5864ee9f02f4644b9a6e29377042.jpg resize: (1080, 1632) 1357769416 -5.672369258856737 treat image : temp/1747108647_1256516_1357769415_c45f0ff8de639c80e86f6b4a7989c052.jpg resize: (1080, 1632) 1357769415 -3.119506806049476 treat image : temp/1747108647_1256516_1357769414_fdf26cbbe42dd4d399f14b1e9ac0488f.jpg resize: (1080, 1632) 1357769414 -0.3561659998652905 treat image : temp/1747108647_1256516_1357769390_5ee7522d5cb3d7bf00028e8de9fe87f2.jpg resize: (1080, 1632) 1357769390 -5.328863704783439 treat image : temp/1747108647_1256516_1357769388_ac65db9852f29df216152b73aba0bdcc.jpg resize: (1080, 1632) 1357769388 -2.7403465042017388 treat image : temp/1747108647_1256516_1357769386_53130332b417233879b9affcdc9a9546.jpg resize: (1080, 1632) 1357769386 -5.94271718209055 treat image : temp/1747108647_1256516_1357769384_602da8f97e02e0aee5ae7559dfaa4d89.jpg resize: (1080, 1632) 1357769384 -5.823196516611717 treat image : temp/1747108647_1256516_1357769361_c8d1697129863bd579410f8176bec311.jpg resize: (1080, 1632) 1357769361 -0.9624624294848942 treat image : temp/1747108647_1256516_1357769357_cbca13d7d0f83a13a428a698cf11e55c.jpg resize: (1080, 1632) 1357769357 -5.710604083392461 treat image : temp/1747108647_1256516_1357769354_69aae32eb4a6ae4f7d6a3cc6fa5d4d0c.jpg resize: (1080, 1632) 1357769354 -6.329647635212812 treat image : temp/1747108647_1256516_1357769351_0784e400714c3abad1d2aaeff56632ac.jpg resize: (1080, 1632) 1357769351 -5.835348229542198 treat image : temp/1747108647_1256516_1357769349_e92d8f2f1ef0dac5f2ba9202eb85c43f.jpg resize: (1080, 1632) 1357769349 -3.411110915876654 treat image : temp/1747108647_1256516_1357769347_5b881840b485a4f73fdd3c7d2825b1c5.jpg resize: (1080, 1632) 1357769347 -5.165244786391521 treat image : temp/1747108647_1256516_1357768244_54823c907e5b435d6cfe88bac5443eec.jpg resize: (1080, 1632) 1357768244 -3.321854973736525 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.014599800109863281 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.376049280166626 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.9810326099395752 save missing photos in datou_result : time spend for datou_step_exec : 16.657494068145752 time spend to save output : 1.3772780895233154 total time spend for step 1 : 18.034772157669067 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.62user 4.70system 0:24.92elapsed 77%CPU (0avgtext+0avgdata 139772maxresident)k 5984inputs+9536outputs (70major+257536minor)pagefaults 0swaps