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 : 3732575 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 : 5506>100 please execute split_portfolio.py -i 26769748 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3700792'] with mtr_portfolio_ids : ['26769748'] and first list_photo_ids : [] new path : /proc/3732575/ 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 : 3.566408157348633 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 Sep 16 20: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/1758049047_3732575_1383534117_edc1c021890f3e127019d2e4bc3006a5.jpg resize: (1080, 1632) 1383534117 -1.0642687947504468 treat image : temp/1758049047_3732575_1383534115_331d878e4479c7a9acdf0aeaf6f36b7c.jpg resize: (1080, 1632) 1383534115 -3.994460525893091 treat image : temp/1758049047_3732575_1383534114_66e50d85999cfd44779a1acf0759077a.jpg resize: (1080, 1632) 1383534114 -5.546989356045322 treat image : temp/1758049047_3732575_1383534113_37bc67c443122742acbd077fd7b95544.jpg resize: (1080, 1632) 1383534113 -6.02823847279829 treat image : temp/1758049047_3732575_1383534011_87b5bcb5a7a0ccc045459f78d71b0d9a.jpg resize: (1080, 1632) 1383534011 -5.837208815125265 treat image : temp/1758049047_3732575_1383533295_ebefa4dbe30cc4ceba3b9dedf7013910.jpg resize: (1080, 1632) 1383533295 -5.019528473973092 treat image : temp/1758049047_3732575_1383533293_55c7c86e9d301e389750a05b2ae0d684.jpg resize: (1080, 1632) 1383533293 -5.519382713156254 treat image : temp/1758049047_3732575_1383533289_780b7b217b9bc564a1155d6389370b3c.jpg resize: (1080, 1632) 1383533289 -5.408994911910483 treat image : temp/1758049047_3732575_1383533245_0639f1eb4aece92fde8f1735f9c2ffae.jpg resize: (1080, 1632) 1383533245 -1.7742313435538348 treat image : temp/1758049047_3732575_1383533243_232d6bd4ac9b3d24096a4d3aa6694379.jpg resize: (1080, 1632) 1383533243 -2.3530838631046733 treat image : temp/1758049047_3732575_1383533238_24a049a4950280d82b7e888919bf9a42.jpg resize: (1080, 1632) 1383533238 -3.4521349532571373 treat image : temp/1758049047_3732575_1383533213_e16f99e0815839ef15ad773aa66adf89.jpg resize: (1080, 1632) 1383533213 -5.407423869474871 treat image : temp/1758049047_3732575_1383532898_397349f3bfb0823b69ef71a18329c360.jpg resize: (1080, 1632) 1383532898 -5.153732883597752 treat image : temp/1758049047_3732575_1383532873_ae6976e53cab01f3d04d5a0d0b702790.jpg resize: (1080, 1632) 1383532873 -4.757053491614263 treat image : temp/1758049047_3732575_1383532847_1f4022a0d2e9452eb7d68721b8bb8a0b.jpg resize: (1080, 1632) 1383532847 -4.850539835282564 treat image : temp/1758049047_3732575_1383532821_7414864ec34d479be8998c1cfd280a7a.jpg resize: (1080, 1632) 1383532821 -2.2485732248526324 treat image : temp/1758049047_3732575_1383532784_9182ae1578d97d8667c0c9794827ac61.jpg resize: (1080, 1632) 1383532784 -1.8761445461975883 treat image : temp/1758049047_3732575_1383532779_04a33295b3e64d2d66b431893b178639.jpg resize: (1080, 1632) 1383532779 -1.66199186716645 treat image : temp/1758049047_3732575_1383532776_280431569167bb2c5990cdbd9a2e307f.jpg resize: (1080, 1632) 1383532776 -5.4248767228137105 treat image : temp/1758049047_3732575_1383532774_eb558542080cfc8de4c72daf9bfc438c.jpg resize: (1080, 1632) 1383532774 -5.568594469859864 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.014525890350341797 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.015918493270874023 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01827096939086914 save missing photos in datou_result : time spend for datou_step_exec : 15.557928085327148 time spend to save output : 0.053498268127441406 total time spend for step 1 : 15.61142635345459 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.58user 3.45system 0:22.59elapsed 79%CPU (0avgtext+0avgdata 137480maxresident)k 80inputs+9048outputs (3major+259489minor)pagefaults 0swaps