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 : 2336066 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/2336066/ 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.8641018867492676 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 18 03:12: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/1752801148_2336066_1372328574_a13f5a25b745c90338b94f1848126a2d.jpg resize: (1080, 1632) 1372328574 -4.672867626736733 treat image : temp/1752801148_2336066_1372328571_5c878a43dd29c74b4504bec4c9827237.jpg resize: (1080, 1632) 1372328571 -3.8604848498278486 treat image : temp/1752801148_2336066_1372328569_f2793ff8fef368fc291cab3731f4bbff.jpg resize: (1080, 1632) 1372328569 -1.2319213365657737 treat image : temp/1752801148_2336066_1372328566_71c37e0931405b8c18585075052f1d2b.jpg resize: (1080, 1632) 1372328566 -1.3096371325024831 treat image : temp/1752801148_2336066_1372328529_b99280cd7bff94a3c78093f0153f5b22.jpg resize: (1080, 1632) 1372328529 -1.6163890799478642 treat image : temp/1752801148_2336066_1372328527_cf35ac73ef917bf8ea723d16d541ad54.jpg resize: (1080, 1632) 1372328527 -1.7428298374536628 treat image : temp/1752801148_2336066_1372328524_866b59234292a7aaddd1ef1e38c5ae0f.jpg resize: (1080, 1632) 1372328524 -2.709968638158701 treat image : temp/1752801148_2336066_1372328522_0a2fc1d3786bf2474e8107025813ae5b.jpg resize: (1080, 1632) 1372328522 -2.786988858440188 treat image : temp/1752801148_2336066_1372328517_0980f1d195be8ce22d354e7e33c96688.jpg resize: (1080, 1632) 1372328517 -1.877151584178276 treat image : temp/1752801148_2336066_1372328514_c5d05ea4a8a3117393ac1e9e11eabc34.jpg resize: (1080, 1632) 1372328514 -5.055526230506145 treat image : temp/1752801148_2336066_1372328496_4c50819ac7a18c3facb2b77288f0aa28.jpg resize: (1080, 1632) 1372328496 -4.756786706790263 treat image : temp/1752801148_2336066_1372328493_c796cbb3e6b7f3b23e4158f228cce37b.jpg resize: (1080, 1632) 1372328493 -4.196611482185559 treat image : temp/1752801148_2336066_1372328490_b757a18ab56a574aa175fd62b8c89d23.jpg resize: (1080, 1632) 1372328490 -4.1789514393270855 treat image : temp/1752801148_2336066_1372328486_18dde6ec4bfcb955489cb055e78a3574.jpg resize: (1080, 1632) 1372328486 -3.9803881715289147 treat image : temp/1752801148_2336066_1372328482_25f0ecc433a7e4dd20dee279148d3638.jpg resize: (1080, 1632) 1372328482 -5.561897696477446 treat image : temp/1752801148_2336066_1372328479_bfac75afbfad0c5c2f18c0afa8bbaa38.jpg resize: (1080, 1632) 1372328479 -5.568852002331036 treat image : temp/1752801148_2336066_1372328460_b56917f7a0d9e0bde058655ead70b4a8.jpg resize: (1080, 1632) 1372328460 -3.6530451482588853 treat image : temp/1752801148_2336066_1372328458_cb7f6e57ec6d7e6afc62f456678dd7d0.jpg resize: (1080, 1632) 1372328458 -5.128624584616347 treat image : temp/1752801148_2336066_1372328456_6ed12209a78e8353dd6c6c0776036e68.jpg resize: (1080, 1632) 1372328456 -3.059467052893525 treat image : temp/1752801148_2336066_1372328453_f76d8ee9d078e46cef6732093871ce05.jpg resize: (1080, 1632) 1372328453 -5.065593832707724 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.013737916946411133 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.013974905014038086 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014708518981933594 save missing photos in datou_result : time spend for datou_step_exec : 17.230928421020508 time spend to save output : 0.047989845275878906 total time spend for step 1 : 17.278918266296387 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.40user 5.30system 0:22.64elapsed 87%CPU (0avgtext+0avgdata 137912maxresident)k 32inputs+8096outputs (11major+257693minor)pagefaults 0swaps