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 : 3058385 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 : 5378>100 please execute split_portfolio.py -i 25516015 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3403011'] with mtr_portfolio_ids : ['25516015'] and first list_photo_ids : [] new path : /proc/3058385/ 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.5043983459472656 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 Thu Jul 31 16: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/1753973548_3058385_1374617232_c261fc89adbeae71993d8f36bc4fcb1b.jpg resize: (1080, 1632) 1374617232 -4.339948249463604 treat image : temp/1753973548_3058385_1374617231_94dde4c4ffafef2b97e477daaa222c48.jpg resize: (1080, 1632) 1374617231 -4.322959815853608 treat image : temp/1753973548_3058385_1374617210_e8879fd23f095776dbbf925e2516f174.jpg resize: (1080, 1632) 1374617210 -3.500007397479583 treat image : temp/1753973548_3058385_1374617209_976771f3c032fbec43e427723a935d12.jpg resize: (1080, 1632) 1374617209 -5.634419290452773 treat image : temp/1753973548_3058385_1374617202_9758d5b1ddaacb2dba22fa311d23cdab.jpg resize: (1080, 1632) 1374617202 -3.9422853735498258 treat image : temp/1753973548_3058385_1374617197_991fd877c0617b321656d53acaa2a6ea.jpg resize: (1080, 1632) 1374617197 -4.929603807591381 treat image : temp/1753973548_3058385_1374617195_8ddc37e011b6943fb5093592c71354e5.jpg resize: (1080, 1632) 1374617195 -5.053555672387118 treat image : temp/1753973548_3058385_1374617193_37db27709e0b38cd196f40a5f5ba144f.jpg resize: (1080, 1632) 1374617193 -5.18717233024393 treat image : temp/1753973548_3058385_1374617190_a7c99ddf21146406c0a20514d5124f7a.jpg resize: (1080, 1632) 1374617190 -4.502102005073326 treat image : temp/1753973548_3058385_1374617188_2d40bc79cb1855cc1ec81101fc919b0a.jpg resize: (1080, 1632) 1374617188 -4.568608238718209 treat image : temp/1753973548_3058385_1374617185_1fcd57ca684f42ac3db1cefaf8c034b4.jpg resize: (1080, 1632) 1374617185 -2.3186450168476336 treat image : temp/1753973548_3058385_1374617182_6b7558e00fd7b839dfa8887376c987e6.jpg resize: (1080, 1632) 1374617182 -1.5553059426841653 treat image : temp/1753973548_3058385_1374617041_bc075009aef4f4625f606a753b95ad21.jpg resize: (1080, 1632) 1374617041 -5.142518361709714 treat image : temp/1753973548_3058385_1374617040_bf51b9b291c3c933940fc786af7fb81b.jpg resize: (1080, 1632) 1374617040 -5.142518361709714 treat image : temp/1753973548_3058385_1374617036_952e9a052f1ba43e720f835fc52a0121.jpg resize: (1080, 1632) 1374617036 -5.94271855183023 treat image : temp/1753973548_3058385_1374617035_7c41c0d7f8e3ba56cda125eada40d932.jpg resize: (1080, 1632) 1374617035 -5.94271855183023 treat image : temp/1753973548_3058385_1374617032_c45efe268412b494817f11b5e57ea4df.jpg resize: (1080, 1632) 1374617032 -5.3533470256203834 treat image : temp/1753973548_3058385_1374617031_c24592bc762e718c3ac1c6135696aa8a.jpg resize: (1080, 1632) 1374617031 -5.3533470256203834 treat image : temp/1753973548_3058385_1374617028_a89a97a2610580b699d83167a03af059.jpg resize: (1080, 1632) 1374617028 -5.8168565150109695 treat image : temp/1753973548_3058385_1374617027_a17e041236490951ab87f11cc08dc02a.jpg resize: (1080, 1632) 1374617027 -5.8168565150109695 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.01355886459350586 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.012906551361083984 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013939380645751953 save missing photos in datou_result : time spend for datou_step_exec : 16.585719108581543 time spend to save output : 0.0456998348236084 total time spend for step 1 : 16.63141894340515 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.45user 4.92system 0:23.11elapsed 83%CPU (0avgtext+0avgdata 139040maxresident)k 144inputs+9672outputs (6major+259860minor)pagefaults 0swaps