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 : 4173086 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 : 7151>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/4173086/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBHTTP Error 404: Not Found can't download the photo : 1371585380 complete_path : /home/admin/workarea/git/Velours/python/temp/1752253948_4173086_1371585380_d79ca000daba9ac22f47c630bb8f104f.jpg FBFBFBHTTP Error 404: Not Found can't download the photo : 1371585128 complete_path : /home/admin/workarea/git/Velours/python/temp/1752253948_4173086_1371585128_d8aa7cfe4209041bc30a7b07f403bab7.jpg Fwe have missing 2 photos in the step downloads : photo missing : [1371585380, 1371585128] try to delete the photos missing in DB Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371585380 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371585128 length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 3.032780408859253 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 19: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/1752253948_4173086_1371643854_a74aa888bfd26fcc305fb4e423c94a12.jpg resize: (1080, 1632) 1371643854 -5.183514423489572 treat image : temp/1752253948_4173086_1371643850_54b2b0782f13afc6de4a3af788851981.jpg resize: (1080, 1632) 1371643850 -5.187474292287418 treat image : temp/1752253948_4173086_1371643846_c05f0b6a7c462b36d14f47d28c1be62e.jpg resize: (1080, 1632) 1371643846 -5.192342153035763 treat image : temp/1752253948_4173086_1371643842_edecc02d61a7f7a3e22aaae7ca8265f8.jpg resize: (1080, 1632) 1371643842 -5.1784100933942225 treat image : temp/1752253948_4173086_1371643837_d60e3436e93026348b515c2f1fa6419b.jpg resize: (1080, 1632) 1371643837 -5.173840063280367 treat image : temp/1752253948_4173086_1371643833_e0fecbea608eed9b088f2c558b2a985a.jpg resize: (1080, 1632) 1371643833 -5.1631137611641575 treat image : temp/1752253948_4173086_1371643690_ed42c8163aa7851cfbeb4ee2e90a0ad6.jpg resize: (1080, 1632) 1371643690 -5.183269546146769 treat image : temp/1752253948_4173086_1371643687_6a6d345311353cbf43b6b9e10c973d59.jpg resize: (1080, 1632) 1371643687 -5.218021469013524 treat image : temp/1752253948_4173086_1371643682_baac6d9e54438566c14dea4a18995a3d.jpg resize: (1080, 1632) 1371643682 -5.191175583928764 treat image : temp/1752253948_4173086_1371643678_9d2112873e02862907b9a3db80f4be27.jpg resize: (1080, 1632) 1371643678 -5.216848815746007 treat image : temp/1752253948_4173086_1371643662_b05b1b54ccf5702c622027b1ad508557.jpg resize: (1080, 1632) 1371643662 -1.4688657175123025 treat image : temp/1752253948_4173086_1371643660_cad58eb4fe5f88af0d9c488e2951b100.jpg resize: (1080, 1632) 1371643660 -1.4566592301126335 treat image : temp/1752253948_4173086_1371643658_ad675d7166f216e2a54031861303fc9f.jpg resize: (1080, 1632) 1371643658 -1.451291074759944 treat image : temp/1752253948_4173086_1371643656_37dae1ff2bf247abd0f8352cf9b19b18.jpg resize: (1080, 1632) 1371643656 -5.651778446754474 treat image : temp/1752253948_4173086_1371643654_615645c9d2de493b08719fabdb08be6c.jpg resize: (1080, 1632) 1371643654 -5.65955107611173 treat image : temp/1752253948_4173086_1371643652_490a1d36608f80293e279812c9541c63.jpg resize: (1080, 1632) 1371643652 -5.716553330464535 treat image : temp/1752253948_4173086_1371585374_0556229b2779fed305653f0023978f7c.jpg resize: (1080, 1632) 1371585374 -5.15836905288444 treat image : temp/1752253948_4173086_1371585358_89e4c3e5beb937d2f0d98642793196f3.jpg resize: (1080, 1632) 1371585358 -5.217749880145021 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 : 18 time used for this insertion : 0.011740684509277344 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.01196908950805664 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.013046503067016602 save missing photos in datou_result : begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 time used for this insertion : 0.011070013046264648 time spend for datou_step_exec : 14.6735258102417 time spend to save output : 0.05261850357055664 total time spend for step 1 : 14.726144313812256 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.09user 3.91system 0:21.65elapsed 78%CPU (0avgtext+0avgdata 140128maxresident)k 16inputs+8648outputs (1major+233776minor)pagefaults 0swaps