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 : 1504009 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 : 1435>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/1504009/ 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.153306007385254 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:12: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/1747113148_1504009_1357773657_73a344591905d3b1ddae29008c3d7270.jpg resize: (1080, 1632) 1357773657 -1.3995707244205826 treat image : temp/1747113148_1504009_1357773654_29d117746d5bcfc01c0857a0052076a9.jpg resize: (1080, 1632) 1357773654 -2.202083494491618 treat image : temp/1747113148_1504009_1357773651_b0a5991be86f2282ae7889d6f4b4a2cd.jpg resize: (1080, 1632) 1357773651 -2.763102799848768 treat image : temp/1747113148_1504009_1357773648_027f39ec1b8b9aa25ce80bd4efad6c06.jpg resize: (1080, 1632) 1357773648 -4.237953100838744 treat image : temp/1747113148_1504009_1357773610_4ce1fe1d6f836f18c0fe8783820d1472.jpg resize: (1080, 1632) 1357773610 -6.095414983608252 treat image : temp/1747113148_1504009_1357773606_32523ed8af4516eaacf27d8062a79f9d.jpg resize: (1080, 1632) 1357773606 -5.836284612702581 treat image : temp/1747113148_1504009_1357773602_83d711a4f97abc7fd511f5993afefc76.jpg resize: (1080, 1632) 1357773602 -1.5243298746883487 treat image : temp/1747113148_1504009_1357773570_fc9676b045b4436ab5c47cf9b018ff3f.jpg resize: (1080, 1632) 1357773570 -4.80604468095844 treat image : temp/1747113148_1504009_1357773566_2ac6931bc3b7e88396def2a67be1526b.jpg resize: (1080, 1632) 1357773566 -5.291541084897611 treat image : temp/1747113148_1504009_1357773563_5547e00345a04f13c5c8387bf70d03cc.jpg resize: (1080, 1632) 1357773563 -4.666286000230668 treat image : temp/1747113148_1504009_1357773560_93d5a6354e6dedd3df807ae604a34983.jpg resize: (1080, 1632) 1357773560 -4.861750864930879 treat image : temp/1747113148_1504009_1357773534_8a71645d2d205129c522c9ec95f1a15d.jpg resize: (1080, 1632) 1357773534 -2.722729575010463 treat image : temp/1747113148_1504009_1357773532_db130ed053fc20029ba3d3f309f725d5.jpg resize: (1080, 1632) 1357773532 -3.7348733132559353 treat image : temp/1747113148_1504009_1357773528_70ed3870c18551e8657caeecb0dfe7c2.jpg resize: (1080, 1632) 1357773528 -4.8975292455368855 treat image : temp/1747113148_1504009_1357773524_337dc904c01c007f6727b2118ace1bd0.jpg resize: (1080, 1632) 1357773524 -5.46367689340492 treat image : temp/1747113148_1504009_1357773521_1e1c378ffb749f355ecb36686ae4e8f9.jpg resize: (1080, 1632) 1357773521 -4.648181407988149 treat image : temp/1747113148_1504009_1357773516_06e50318f02f2ce535feab1a7e9a796a.jpg resize: (1080, 1632) 1357773516 -4.975923826427428 treat image : temp/1747113148_1504009_1357773480_b4e1858c5a1382de8c4b05e742848d03.jpg resize: (1080, 1632) 1357773480 -3.8143861766501215 treat image : temp/1747113148_1504009_1357773477_8824781d1ad97f1c3a0a2c2969e57266.jpg resize: (1080, 1632) 1357773477 0.24180778953303703 treat image : temp/1747113148_1504009_1357773473_23f56e272afbfa9c56f6010c8bd9f697.jpg resize: (1080, 1632) 1357773473 -2.1601841130817023 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.015349626541137695 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.2770850658416748 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.03712153434753418 save missing photos in datou_result : time spend for datou_step_exec : 16.646214485168457 time spend to save output : 0.33501100540161133 total time spend for step 1 : 16.98122549057007 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.05user 4.85system 0:21.70elapsed 91%CPU (0avgtext+0avgdata 139672maxresident)k 168inputs+8448outputs (13major+258173minor)pagefaults 0swaps