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 : 3790951 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 : 5783>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/3790951/ 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.393758773803711 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 Fri Jul 11 16:57: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/1752245849_3790951_1371612389_70c3d0470ddc3de48b293801d18b3524.jpg resize: (1080, 1632) 1371612389 -4.611408266557847 treat image : temp/1752245849_3790951_1371612358_5451d08beae1b7dbb63292aafb5a0036.jpg resize: (1080, 1632) 1371612358 -5.1786631800419345 treat image : temp/1752245849_3790951_1371612330_15cfad93db42a3bd7e18910c56a3b3bd.jpg resize: (1080, 1632) 1371612330 -5.1522525283319505 treat image : temp/1752245849_3790951_1371612290_9b30d906ec6a8cec0de2657370e5ea21.jpg resize: (1080, 1632) 1371612290 -5.194870260063205 treat image : temp/1752245849_3790951_1371612264_d6cf53d8d8cbe3d9bd00456563e66baa.jpg resize: (1080, 1632) 1371612264 -5.317244478398729 treat image : temp/1752245849_3790951_1371612234_26220d6089877ae85b5dceb0a631d004.jpg resize: (1080, 1632) 1371612234 -4.744158659867829 treat image : temp/1752245849_3790951_1371611361_99b8753440165947d0704f8198be381b.jpg resize: (1080, 1632) 1371611361 -5.236082756660539 treat image : temp/1752245849_3790951_1371611316_d6e5a40492be86198b997592c8367f46.jpg resize: (1080, 1632) 1371611316 -5.225010821548598 treat image : temp/1752245849_3790951_1371611287_952e6cf8fe301018d2606c9ba94c555a.jpg resize: (1080, 1632) 1371611287 -5.2282076974447556 treat image : temp/1752245849_3790951_1371611259_20bfaa1b92cece97642fd8d3abc0a9e0.jpg resize: (1080, 1632) 1371611259 -5.216032971893064 treat image : temp/1752245849_3790951_1371611141_ba47b025ad03a92dec0a2e9909f51ab4.jpg resize: (1080, 1632) 1371611141 -5.834516882897011 treat image : temp/1752245849_3790951_1371611110_93f0bc1cde7c8739f0131db23268fed5.jpg resize: (1080, 1632) 1371611110 -5.913150825740781 treat image : temp/1752245849_3790951_1371611081_d473be66c63faa12fd0f15f24a91d60c.jpg resize: (1080, 1632) 1371611081 -5.905944323715672 treat image : temp/1752245849_3790951_1371611052_fcbb5ff1cfa159dbc62e44d35c079bc1.jpg resize: (1080, 1632) 1371611052 -6.158250485311764 treat image : temp/1752245849_3790951_1371611026_f5ca0e92ab9b3194bd45dc9b1baca27b.jpg resize: (1080, 1632) 1371611026 -6.1525543348786265 treat image : temp/1752245849_3790951_1371610998_67ea00fb3825d9cd1421abf7df88fe9a.jpg resize: (1080, 1632) 1371610998 -3.3532540476343646 treat image : temp/1752245849_3790951_1371610654_4c61d5e3f65721ecd1d1cff6f0822b73.jpg resize: (1080, 1632) 1371610654 -5.009722748468801 treat image : temp/1752245849_3790951_1371610651_781461474dae6468fcaf6aa226e206f8.jpg resize: (1080, 1632) 1371610651 -5.40181156744396 treat image : temp/1752245849_3790951_1371610646_edbace9a93778c4d91f6461c72f644f8.jpg resize: (1080, 1632) 1371610646 -5.378725852370783 treat image : temp/1752245849_3790951_1371610643_7554b07405d0f3e0e602d1b1c4b96597.jpg resize: (1080, 1632) 1371610643 -5.424439652922488 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.012854576110839844 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.011938810348510742 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01480555534362793 save missing photos in datou_result : time spend for datou_step_exec : 15.542834997177124 time spend to save output : 0.0439915657043457 total time spend for step 1 : 15.58682656288147 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.59user 3.88system 0:22.08elapsed 83%CPU (0avgtext+0avgdata 139108maxresident)k 296inputs+10424outputs (18major+223672minor)pagefaults 0swaps