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 : 1753354 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 : 2745>100 please execute split_portfolio.py -i 22700488 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2795252'] with mtr_portfolio_ids : ['22700488'] and first list_photo_ids : [] new path : /proc/1753354/ 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.5623910427093506 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 6 19:47: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/1746553646_1753354_1356397509_2b7b7eb67747a2d3b7bd39b265efed1f.jpg resize: (1080, 1632) 1356397509 -4.889339527230577 treat image : temp/1746553646_1753354_1356397442_4f122d6e6e6d73c1d131ea4e23325fec.jpg resize: (1080, 1632) 1356397442 -5.824722916391809 treat image : temp/1746553646_1753354_1356397439_7a52bbede6e54c4a7c9c9c18c90db103.jpg resize: (1080, 1632) 1356397439 -5.432269199192829 treat image : temp/1746553646_1753354_1356397431_2d887313e28c4554b914fbad2c3b99f1.jpg resize: (1080, 1632) 1356397431 -6.1627559707002595 treat image : temp/1746553646_1753354_1356397426_25956ed5c0abc0d20e684597e3ece014.jpg resize: (1080, 1632) 1356397426 -5.770608229127423 treat image : temp/1746553646_1753354_1356397381_13b7cb90d451156b5d932ab9bbfdbbce.jpg resize: (1080, 1632) 1356397381 -3.369715239665064 treat image : temp/1746553646_1753354_1356397215_afdb107de0065ba9607d25d7a6ee372a.jpg resize: (1080, 1632) 1356397215 -4.362558218620071 treat image : temp/1746553646_1753354_1356397212_1c7d34526828c8d0856018d57b12830d.jpg resize: (1080, 1632) 1356397212 -4.272656522452331 treat image : temp/1746553646_1753354_1356397202_22399da4d037220bb7fe51b5730b63c1.jpg resize: (1080, 1632) 1356397202 -5.330023492117077 treat image : temp/1746553646_1753354_1356397189_5e824f970b79391f33615a8eb62e0506.jpg resize: (1080, 1632) 1356397189 -5.311029404976585 treat image : temp/1746553646_1753354_1356397134_91c49749f795790b5455c77c13d9b107.jpg resize: (1080, 1632) 1356397134 -1.974492684141486 treat image : temp/1746553646_1753354_1356397105_c590776f44c78f1296b6508e80e9326d.jpg resize: (1080, 1632) 1356397105 -4.2445050029725255 treat image : temp/1746553646_1753354_1356397027_de9670058ccfa3a6f849fad129a7742c.jpg resize: (1080, 1632) 1356397027 -4.181557490171844 treat image : temp/1746553646_1753354_1356397023_181008c74f7d20b390f08ca359f023b9.jpg resize: (1080, 1632) 1356397023 -4.4839866795232135 treat image : temp/1746553646_1753354_1356397013_6b28cb1b6c67764b4674f042f4bc514e.jpg resize: (1080, 1632) 1356397013 -0.8342222483517554 treat image : temp/1746553646_1753354_1356397009_2d5e8166468bd4ccdea6a71d6f3a9dd1.jpg resize: (1080, 1632) 1356397009 -1.2065464459790047 treat image : temp/1746553646_1753354_1356397005_bc132fe303790581ee6450cf3981b1fc.jpg resize: (1080, 1632) 1356397005 -4.326460366790513 treat image : temp/1746553646_1753354_1356397000_b519312850cf1db6b51a9d8aac17ff55.jpg resize: (1080, 1632) 1356397000 -5.771620730479483 treat image : temp/1746553646_1753354_1356396232_1d6b1533f349211714deee31eafbff34.jpg resize: (1080, 1632) 1356396232 -4.678910993683863 treat image : temp/1746553646_1753354_1356396182_f8f7491d5a5cd1424b8e1d64f8518911.jpg resize: (1080, 1632) 1356396182 -4.460979565612316 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.013170957565307617 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.012573480606079102 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014066934585571289 save missing photos in datou_result : time spend for datou_step_exec : 15.674705266952515 time spend to save output : 0.04425477981567383 total time spend for step 1 : 15.718960046768188 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.82user 3.98system 0:19.96elapsed 94%CPU (0avgtext+0avgdata 141872maxresident)k 248inputs+9168outputs (22major+225185minor)pagefaults 0swaps