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 : 3803134 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 : 2823>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/3803134/ 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.202376127243042 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 18:27:29 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/1747153647_3803134_1357875621_f0bc2d3552f54bfb1ec656609d0466d2.jpg resize: (1080, 1632) 1357875621 -4.077701302942668 treat image : temp/1747153647_3803134_1357875618_1bfa54cd79be2a67373eed2dcff2d522.jpg resize: (1080, 1632) 1357875618 -6.141931688507105 treat image : temp/1747153647_3803134_1357875610_a4559de75a38e2fa1e53a53b6e5de671.jpg resize: (1080, 1632) 1357875610 -6.286115178288871 treat image : temp/1747153647_3803134_1357875606_205a9412236c3a5e75b3ffcc0101e9bc.jpg resize: (1080, 1632) 1357875606 -6.4803534828731895 treat image : temp/1747153647_3803134_1357875574_774d39997c9c6a24d74b30229bcf040d.jpg resize: (1080, 1632) 1357875574 -5.542769976724003 treat image : temp/1747153647_3803134_1357875572_4a6cd5eb4707a7767d79adb874b37b0b.jpg resize: (1080, 1632) 1357875572 -5.597212479347754 treat image : temp/1747153647_3803134_1357875570_151e62075562bc96070238ed9a3f0856.jpg resize: (1080, 1632) 1357875570 -6.557281192754557 treat image : temp/1747153647_3803134_1357875542_58554db742f6c8f9cb6e72fdee358d82.jpg resize: (1080, 1632) 1357875542 -4.595862842467082 treat image : temp/1747153647_3803134_1357875539_32270abeaac844fd58813f8ffcc4aad3.jpg resize: (1080, 1632) 1357875539 -3.401088376452878 treat image : temp/1747153647_3803134_1357875538_7d6bb6f82bd1aa660646af91d4fdce63.jpg resize: (1080, 1632) 1357875538 -5.184950462301535 treat image : temp/1747153647_3803134_1357875536_865a4265aa7adee0754c0cf5fc21e193.jpg resize: (1080, 1632) 1357875536 -5.78420853296872 treat image : temp/1747153647_3803134_1357875534_6345833ef1abec4e65102a2cdff372e0.jpg resize: (1080, 1632) 1357875534 -5.8083984482110225 treat image : temp/1747153647_3803134_1357875532_de229c97e5e537290b8620720eb25225.jpg resize: (1080, 1632) 1357875532 -3.324376742356705 treat image : temp/1747153647_3803134_1357875500_ad018c0fdb6da592e866af2a202cdd38.jpg resize: (1080, 1632) 1357875500 -2.8858743614218634 treat image : temp/1747153647_3803134_1357875498_ee92d7c491c6009cf24d02dd2cae57b8.jpg resize: (1080, 1632) 1357875498 -1.0458723313427125 treat image : temp/1747153647_3803134_1357875495_dad07ecf14d292bfe0041f30dc2c94fa.jpg resize: (1080, 1632) 1357875495 -2.1591712423927722 treat image : temp/1747153647_3803134_1357875492_c69dfb44dbb72e947bc1c6294233587c.jpg resize: (1080, 1632) 1357875492 -3.9752842630589305 treat image : temp/1747153647_3803134_1357875462_37c4c1d0b88cc29cda3f2cc2467d295a.jpg resize: (1080, 1632) 1357875462 -6.513974651010809 treat image : temp/1747153647_3803134_1357875459_29b6f1f0bd2d18b106f31d0d65e42b9d.jpg resize: (1080, 1632) 1357875459 -5.903551790751809 treat image : temp/1747153647_3803134_1357875457_8a206b7d46c2ec24faad368a4989f920.jpg resize: (1080, 1632) 1357875457 -6.017977895583868 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.013639450073242188 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.013233661651611328 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015694141387939453 save missing photos in datou_result : time spend for datou_step_exec : 17.713521480560303 time spend to save output : 0.04720115661621094 total time spend for step 1 : 17.760722637176514 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.73user 5.66system 0:22.94elapsed 88%CPU (0avgtext+0avgdata 140448maxresident)k 136inputs+10456outputs (4major+260257minor)pagefaults 0swaps