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 : 1656205 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 : 1539>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/1656205/ 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.240173578262329 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 07:52: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/1747115548_1656205_1357775789_8be80c8fa0985ba6deedec4abb5ab869.jpg resize: (1080, 1632) 1357775789 -5.410581140774208 treat image : temp/1747115548_1656205_1357775787_ce166a7ff6415f19adc1d2ca949070aa.jpg resize: (1080, 1632) 1357775787 -5.096526999891629 treat image : temp/1747115548_1656205_1357775785_33d83869dfb32ff4774630bb05e3bdda.jpg resize: (1080, 1632) 1357775785 -5.39899395974061 treat image : temp/1747115548_1656205_1357775783_85333e6a2e81f6f68bc27a8ccbfd089f.jpg resize: (1080, 1632) 1357775783 -5.903353879651642 treat image : temp/1747115548_1656205_1357775781_79e4cb0e195610a16248af30309edd18.jpg resize: (1080, 1632) 1357775781 -5.531910422233471 treat image : temp/1747115548_1656205_1357775737_3a7bb9a6f1df20ecb3cbc3638b86ec24.jpg resize: (1080, 1632) 1357775737 -5.666101708259925 treat image : temp/1747115548_1656205_1357775734_756bff29ad171efe487a6b973dece463.jpg resize: (1080, 1632) 1357775734 -5.979090513406077 treat image : temp/1747115548_1656205_1357775724_b7a51962649723503881bee13523b27a.jpg resize: (1080, 1632) 1357775724 -1.8866216333360764 treat image : temp/1747115548_1656205_1357775720_43b02c41a65b5aa21f654173e9034e8a.jpg resize: (1080, 1632) 1357775720 -1.8866216333360764 treat image : temp/1747115548_1656205_1357775718_81c7f0b2d46979509e0d8d0ca757ca3e.jpg resize: (1080, 1632) 1357775718 -3.504012283960461 treat image : temp/1747115548_1656205_1357775715_710b82f43f5f3ac757f452a6d44dfe27.jpg resize: (1080, 1632) 1357775715 -3.504012283960461 treat image : temp/1747115548_1656205_1357775714_ad82c43a64865a79a8a15f09ef18feb1.jpg resize: (1080, 1632) 1357775714 -3.840756475400382 treat image : temp/1747115548_1656205_1357775710_25c3830b9bd3c07c2961fd91ccbdbb10.jpg resize: (1080, 1632) 1357775710 -3.840756475400382 treat image : temp/1747115548_1656205_1357775709_030dc09ca02122c56cd50d0db2e02a5b.jpg resize: (1080, 1632) 1357775709 -4.4060666581726355 treat image : temp/1747115548_1656205_1357775705_a186cb98acc3f872210a72394a7c3afa.jpg resize: (1080, 1632) 1357775705 -4.4060666581726355 treat image : temp/1747115548_1656205_1357775701_0d2093d5faf9e870fe76484fdf1b7fa0.jpg resize: (1080, 1632) 1357775701 -2.797347738702557 treat image : temp/1747115548_1656205_1357775699_bcba011b3d202767d9e260776a83b493.jpg resize: (1080, 1632) 1357775699 -2.797347738702557 treat image : temp/1747115548_1656205_1357775692_563a15f964812ae4460eeb6828b9dd4c.jpg resize: (1080, 1632) 1357775692 -1.8866216333360764 treat image : temp/1747115548_1656205_1357775688_1e6102305222135239ec590d40a131f3.jpg resize: (1080, 1632) 1357775688 -3.504012283960461 treat image : temp/1747115548_1656205_1357775684_7699245ed5feb603ffaf93eab3ed74ef.jpg resize: (1080, 1632) 1357775684 -3.840756475400382 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.016767501831054688 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.18491721153259277 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.2684493064880371 save missing photos in datou_result : time spend for datou_step_exec : 16.276944875717163 time spend to save output : 0.6421012878417969 total time spend for step 1 : 16.91904616355896 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.22user 3.57system 0:23.49elapsed 80%CPU (0avgtext+0avgdata 138876maxresident)k 5392inputs+8664outputs (21major+254976minor)pagefaults 0swaps