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 : 3617980 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 : 2951>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/3617980/ 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.2810003757476807 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 12 19:27:31 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/1747070849_3617980_1357708175_2a0347e8f7ec1a02584c0b2f0558e2a2.jpg resize: (1080, 1632) 1357708175 -5.642933883427109 treat image : temp/1747070849_3617980_1357708143_e56142ba31c9931caacec54b2d35eaa8.jpg resize: (1080, 1632) 1357708143 -5.23014207501978 treat image : temp/1747070849_3617980_1357708118_5949ae2459f377c0fa559bfd1b29ec50.jpg resize: (1080, 1632) 1357708118 -4.899009493939331 treat image : temp/1747070849_3617980_1357708090_af6d6ad947db7bb845ddb3f7b7e9b580.jpg resize: (1080, 1632) 1357708090 -1.7121385304384538 treat image : temp/1747070849_3617980_1357707848_93a4f3fe88c31961d73ff738ff414c6e.jpg resize: (1080, 1632) 1357707848 -5.360617830906358 treat image : temp/1747070849_3617980_1357707846_3760b86f2f95a37dc19f974e370b75a6.jpg resize: (1080, 1632) 1357707846 -3.064649810798807 treat image : temp/1747070849_3617980_1357707843_11697aa4de8f677ac4d42539d6454d21.jpg resize: (1080, 1632) 1357707843 -4.776794132454479 treat image : temp/1747070849_3617980_1357707840_de8df7cdaaefc91468c76e6813206c95.jpg resize: (1080, 1632) 1357707840 -2.674955000894008 treat image : temp/1747070849_3617980_1357707839_2dddeb0b6fee4fd2f5605e7f149c95eb.jpg resize: (1080, 1632) 1357707839 -5.674006361450036 treat image : temp/1747070849_3617980_1357707819_7c6bbbff363d50602c31323b4917fd8e.jpg resize: (1080, 1632) 1357707819 -5.313690315050815 treat image : temp/1747070849_3617980_1357707815_3d7f2603913b6a3af9319a6f43638e33.jpg resize: (1080, 1632) 1357707815 -1.0699043728754258 treat image : temp/1747070849_3617980_1357707810_331fe4952f37d2511893f6434450e7dc.jpg resize: (1080, 1632) 1357707810 -2.0177849831995975 treat image : temp/1747070849_3617980_1357707807_2e642c1d574eb10515a55f1e47de0219.jpg resize: (1080, 1632) 1357707807 -1.8821265154380322 treat image : temp/1747070849_3617980_1357707790_802d3b0ed545d82ac21f29ac18534091.jpg resize: (1080, 1632) 1357707790 -5.1047004353962375 treat image : temp/1747070849_3617980_1357707787_db8b5d62154124fed145d0c0a40af181.jpg resize: (1080, 1632) 1357707787 -4.834670163057782 treat image : temp/1747070849_3617980_1357707783_d2baff29ad5088f2f464f8020c5b2d24.jpg resize: (1080, 1632) 1357707783 -5.6890595061518425 treat image : temp/1747070849_3617980_1357707779_5cfe6998f2d93748417d4cf56164cfa2.jpg resize: (1080, 1632) 1357707779 -5.539191041757125 treat image : temp/1747070849_3617980_1357707775_452b0143e1b132e448df6a070e876cf6.jpg resize: (1080, 1632) 1357707775 -5.085405569498071 treat image : temp/1747070849_3617980_1357707772_baf2bb78fda2573b553d9b55cbd06c48.jpg resize: (1080, 1632) 1357707772 -6.371814193418232 treat image : temp/1747070849_3617980_1357707688_4242cfa56073ec02cd5e4310343ed44a.jpg resize: (1080, 1632) 1357707688 -1.7072339005379606 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.014669418334960938 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.01487112045288086 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01484990119934082 save missing photos in datou_result : time spend for datou_step_exec : 17.59756875038147 time spend to save output : 0.11199808120727539 total time spend for step 1 : 17.709566831588745 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.53user 4.40system 0:23.78elapsed 83%CPU (0avgtext+0avgdata 137872maxresident)k 11744inputs+9800outputs (32major+258925minor)pagefaults 0swaps