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 : 874034 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 : 239>100 please execute split_portfolio.py -i 24862863 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3273660'] with mtr_portfolio_ids : ['24862863'] and first list_photo_ids : [] new path : /proc/874034/ 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.3277549743652344 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 Sat Jul 12 00:37:28 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/1752273446_874034_1371751555_16bd0130352d3f6850f64f8ef44e673b.jpg resize: (1080, 1632) 1371751555 -5.351072156322044 treat image : temp/1752273446_874034_1371751552_3ee68da7aded14aa4b74fd17e0900c73.jpg resize: (1080, 1632) 1371751552 -5.343205313414882 treat image : temp/1752273446_874034_1371751548_85a4353481ea556397eea5880494b2d0.jpg resize: (1080, 1632) 1371751548 -5.205010757771662 treat image : temp/1752273446_874034_1371751544_caedbca421f33c0b64b7bd61ceb3e74f.jpg resize: (1080, 1632) 1371751544 -5.1974025337709024 treat image : temp/1752273446_874034_1371751539_9934a87311f79ec0313facba2de36975.jpg resize: (1080, 1632) 1371751539 -2.989740706466335 treat image : temp/1752273446_874034_1371751527_e81933148abe6d5859db66804b261db1.jpg resize: (1080, 1632) 1371751527 -5.084146639645358 treat image : temp/1752273446_874034_1371751413_2d354cc20658748dfcbcff79ce25d587.jpg resize: (1080, 1632) 1371751413 -4.73790960906877 treat image : temp/1752273446_874034_1371751399_0de3d1433a9d579e1641aed83d4dfd96.jpg resize: (1080, 1632) 1371751399 -5.096172364193559 treat image : temp/1752273446_874034_1371751397_18962be4364364cd482e8ba45fe96ae2.jpg resize: (1080, 1632) 1371751397 -5.908377795824399 treat image : temp/1752273446_874034_1371751394_e0220af9ac9eef61524912e7b8811234.jpg resize: (1080, 1632) 1371751394 -5.2310218991889075 treat image : temp/1752273446_874034_1371751376_03d1f03f021f04e9cda1ee68ac191717.jpg resize: (1080, 1632) 1371751376 -2.313886003311849 treat image : temp/1752273446_874034_1371751374_2c1b06c5d89630729e20b4a2ad0f3105.jpg resize: (1080, 1632) 1371751374 -2.313886003311849 treat image : temp/1752273446_874034_1371751366_5a5e9f4555e3318093c27102e8b744a5.jpg resize: (1080, 1632) 1371751366 -1.5860201045544895 treat image : temp/1752273446_874034_1371751362_1016f7afe97c15f5d1f9f646d6fdb401.jpg resize: (1080, 1632) 1371751362 -1.5860201045544895 treat image : temp/1752273446_874034_1371751358_3ec0160c606644230bc4b22bb6ce69cd.jpg resize: (1080, 1632) 1371751358 -5.437041023752149 treat image : temp/1752273446_874034_1371751356_f8915753ea4aeba641f0e25fddf3f7bd.jpg resize: (1080, 1632) 1371751356 -5.437041023752149 treat image : temp/1752273446_874034_1371751353_4821303ba24eaba2f2c4c375aeb9c88c.jpg resize: (1080, 1632) 1371751353 20.0 treat image : temp/1752273446_874034_1371751351_4748e7c7d4271ed7cfca23934923ffde.jpg resize: (1080, 1632) 1371751351 20.0 treat image : temp/1752273446_874034_1371751344_69f2ef279ce1c1390ebc04a55522a762.jpg resize: (1080, 1632) 1371751344 -5.787426035563168 treat image : temp/1752273446_874034_1371751343_21d8b55fb3234f12e9c7d7243e63a62f.jpg resize: (1080, 1632) 1371751343 -5.787426035563168 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.012418270111083984 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.06190013885498047 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.5708370208740234 save missing photos in datou_result : time spend for datou_step_exec : 16.01614809036255 time spend to save output : 0.6497113704681396 total time spend for step 1 : 16.66585946083069 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.26user 4.16system 0:21.09elapsed 87%CPU (0avgtext+0avgdata 137632maxresident)k 48inputs+8792outputs (4major+249464minor)pagefaults 0swaps