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 : 1880468 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 : 2914>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/1880468/ 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.007603168487549 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 20:22:30 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/1746555747_1880468_1356412119_9237451afb74f85f7460d1e5b490be4a.jpg resize: (1080, 1632) 1356412119 -5.740894691648342 treat image : temp/1746555747_1880468_1356412114_05c8e77270ae9504f60d92c6c19866c5.jpg resize: (1080, 1632) 1356412114 -1.4359572355659886 treat image : temp/1746555747_1880468_1356412110_fe6556b3ccd9e2e181a13d7478260b1b.jpg resize: (1080, 1632) 1356412110 -4.290488678936227 treat image : temp/1746555747_1880468_1356361030_6bf6178ec0da2bc42b84373bae286317.jpg resize: (1080, 1632) 1356361030 -1.3414101714860736 treat image : temp/1746555747_1880468_1356360994_aae1fd14953561ffa5810a6c43d486c7.jpg resize: (1080, 1632) 1356360994 -3.4361886510645654 treat image : temp/1746555747_1880468_1356360991_2db506299880b78da890369ffd7fa81f.jpg resize: (1080, 1632) 1356360991 -5.7003626478638605 treat image : temp/1746555747_1880468_1356360987_a26213f8f38630822b0b11cccd644012.jpg resize: (1080, 1632) 1356360987 -4.485881199736013 treat image : temp/1746555747_1880468_1356360984_0f19395dcd1db34f1d410cca1cdcb37e.jpg resize: (1080, 1632) 1356360984 -5.346889172076727 treat image : temp/1746555747_1880468_1356360981_097523fbc6ff9483dc808aed8bf3b102.jpg resize: (1080, 1632) 1356360981 -5.992929674544626 treat image : temp/1746555747_1880468_1356360979_2bb66738eeaf73c5bbeb869d876026d6.jpg resize: (1080, 1632) 1356360979 -5.296559148747136 treat image : temp/1746555747_1880468_1356360945_26e4322c94871200ebb6760a6ef95036.jpg resize: (1080, 1632) 1356360945 -4.315181418631411 treat image : temp/1746555747_1880468_1356360942_425d9a14b054f4ba45a097b3aed0d4b6.jpg resize: (1080, 1632) 1356360942 -3.849914258782743 treat image : temp/1746555747_1880468_1356360936_b4f16adef515088a44180fb9ecac3f66.jpg resize: (1080, 1632) 1356360936 -0.8399597555765782 treat image : temp/1746555747_1880468_1356360932_d855949a0428ec612d692961a7c13073.jpg resize: (1080, 1632) 1356360932 -1.898307055251934 treat image : temp/1746555747_1880468_1356360897_806b43b1e900a940218a03aff2e846aa.jpg resize: (1080, 1632) 1356360897 -5.164692431865558 treat image : temp/1746555747_1880468_1356360895_5246124402be75ea50c778dbe9388ee6.jpg resize: (1080, 1632) 1356360895 -4.102172149763357 treat image : temp/1746555747_1880468_1356360893_4a970d1f5334dc0ef66c1fea59abcfd6.jpg resize: (1080, 1632) 1356360893 -5.026876185623425 treat image : temp/1746555747_1880468_1356360891_90ec76d9bd747e89f08d68626e5d1c6d.jpg resize: (1080, 1632) 1356360891 -4.920262883381162 treat image : temp/1746555747_1880468_1356360615_4221030027cc995d8c3bedc4c21d199c.jpg resize: (1080, 1632) 1356360615 -5.970865136956739 treat image : temp/1746555747_1880468_1356360610_e8f8474ff15afd2dd41a1553fa062a98.jpg resize: (1080, 1632) 1356360610 -5.89541950920895 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.012537717819213867 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.012001514434814453 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01796579360961914 save missing photos in datou_result : time spend for datou_step_exec : 15.704190254211426 time spend to save output : 0.0473024845123291 total time spend for step 1 : 15.751492738723755 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.07user 3.66system 0:22.14elapsed 84%CPU (0avgtext+0avgdata 140904maxresident)k 40inputs+8904outputs (14major+255615minor)pagefaults 0swaps