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 : 4126820 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 : 2004>100 please execute split_portfolio.py -i 21570233 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2678697'] with mtr_portfolio_ids : ['21570233'] and first list_photo_ids : [] new path : /proc/4126820/ 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.0380959510803223 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 Mar 21 15:07: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/1742566047_4126820_1346019353_2f3537535add2229b9fa8f2eca9c492f.jpg resize: (1080, 1632) 1346019353 -5.927761233736713 treat image : temp/1742566047_4126820_1346019348_388f56d0a837b418718ddcfecbf44b41.jpg resize: (1080, 1632) 1346019348 -5.863696444439913 treat image : temp/1742566047_4126820_1346019342_e06b15ddaab2ca4c659eae9bb0116fc5.jpg resize: (1080, 1632) 1346019342 -6.61737624669775 treat image : temp/1742566047_4126820_1346019336_34347dabf0b3f76150dcb72b37ce4938.jpg resize: (1080, 1632) 1346019336 -5.747412112210812 treat image : temp/1742566047_4126820_1346019325_8b0c6ae470a88befa65ca0d3e5078e6d.jpg resize: (1080, 1632) 1346019325 -5.4799704533653975 treat image : temp/1742566047_4126820_1346019288_a75c23032ff958c5792bc25a935a3478.jpg resize: (1080, 1632) 1346019288 -5.796555639136254 treat image : temp/1742566047_4126820_1346018683_a8495fa79bef916aa9971592ae0c3b2d.jpg resize: (1080, 1632) 1346018683 -6.287801597339247 treat image : temp/1742566047_4126820_1346018668_498479013f0c7ab769e8f9774317a344.jpg resize: (1080, 1632) 1346018668 -6.200862431027464 treat image : temp/1742566047_4126820_1346018665_0cd2c06437cf46fd4bdd208cb520534b.jpg resize: (1080, 1632) 1346018665 -6.287422071639313 treat image : temp/1742566047_4126820_1346018643_21af3eeda32a609558b0cf87c0c3ba91.jpg resize: (1080, 1632) 1346018643 -5.891437589740606 treat image : temp/1742566047_4126820_1346018585_fad1675f2022724e659ccb9488b4adaa.jpg resize: (1080, 1632) 1346018585 -5.1488872441885 treat image : temp/1742566047_4126820_1346018568_993e20560bd424e0510e2c2ea240683e.jpg resize: (1080, 1632) 1346018568 -6.318217008786262 treat image : temp/1742566047_4126820_1346018545_6dd8f70788afc671d77b38dd11b6db08.jpg resize: (1080, 1632) 1346018545 -6.20442527938222 treat image : temp/1742566047_4126820_1346018527_b8ed8960aa84edaf03cda3554b1f7d02.jpg resize: (1080, 1632) 1346018527 -6.388668985442498 treat image : temp/1742566047_4126820_1346018505_c322daa049418640a7f2bb0dc2410d55.jpg resize: (1080, 1632) 1346018505 -6.601166327691398 treat image : temp/1742566047_4126820_1346018477_b304b0d39da30c892bd5c1459db39eb1.jpg resize: (1080, 1632) 1346018477 -6.570700101552159 treat image : temp/1742566047_4126820_1346014579_d4a98be58e9f9716ff0f07a1c8de75db.jpg resize: (1080, 1632) 1346014579 -4.939915766544222 treat image : temp/1742566047_4126820_1346014556_3350feed33c8cf02e859c6cc050fa3e6.jpg resize: (1080, 1632) 1346014556 -5.007726667876846 treat image : temp/1742566047_4126820_1345972930_97b96d29d4ff4cab3401481528e85b30.jpg resize: (1080, 1632) 1345972930 -5.435058638878904 treat image : temp/1742566047_4126820_1345972928_c42903a0850571f6ddcddc8bcab66ec9.jpg resize: (1080, 1632) 1345972928 -6.036435745671359 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.013526678085327148 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.7961249351501465 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016822338104248047 save missing photos in datou_result : time spend for datou_step_exec : 16.30140233039856 time spend to save output : 0.8316762447357178 total time spend for step 1 : 17.133078575134277 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.85user 3.85system 0:21.07elapsed 88%CPU (0avgtext+0avgdata 140980maxresident)k 8inputs+12136outputs (4major+225981minor)pagefaults 0swaps