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 : 4175202 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 : 3763>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/4175202/ 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.425840377807617 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 Thu Jul 17 11:17: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/1752743847_4175202_1372390847_87079886306ed6345b91b44d3f6e4d3d.jpg resize: (1080, 1632) 1372390847 -5.438550881008575 treat image : temp/1752743847_4175202_1372390837_be1c733f5d90345c135ce60eaa961950.jpg resize: (1080, 1632) 1372390837 -5.290282251093159 treat image : temp/1752743847_4175202_1372390807_6f5478fc7bddbec52462b41a71b5573a.jpg resize: (1080, 1632) 1372390807 -5.376926992153549 treat image : temp/1752743847_4175202_1372390790_3e8cf870ee3a9bf4310d5907e491f566.jpg resize: (1080, 1632) 1372390790 -5.403800830899336 treat image : temp/1752743847_4175202_1372390787_75c1f75e832ee7792eab4405d82cc51b.jpg resize: (1080, 1632) 1372390787 -5.394597337341488 treat image : temp/1752743847_4175202_1372390779_4e2dd2b6a894faa9ff44b9f016841eaa.jpg resize: (1080, 1632) 1372390779 -5.361622199399704 treat image : temp/1752743847_4175202_1372390731_e8342f2ceb99f238e11f670cd982618e.jpg resize: (1080, 1632) 1372390731 -5.323023809573054 treat image : temp/1752743847_4175202_1372390704_5d77d4e3f1230a7a9928d2e496bc7eb4.jpg resize: (1080, 1632) 1372390704 -5.320060338040792 treat image : temp/1752743847_4175202_1372390681_7736a471e63469479452bac595bc0c29.jpg resize: (1080, 1632) 1372390681 -5.3546058479731204 treat image : temp/1752743847_4175202_1372390659_234a781ce03b8a301ef6ec56c926e63f.jpg resize: (1080, 1632) 1372390659 -5.311556084418486 treat image : temp/1752743847_4175202_1372390638_5f97ae1c60cb8d49c23c257d5e8c1f0c.jpg resize: (1080, 1632) 1372390638 -5.148998062261535 treat image : temp/1752743847_4175202_1372390614_7c175dd746dc08b50ef56beb995b2e97.jpg resize: (1080, 1632) 1372390614 -5.2348804286386965 treat image : temp/1752743847_4175202_1372347056_a815599595b99762e2257afc8bc4e8ca.jpg resize: (1080, 1632) 1372347056 -5.666092272214305 treat image : temp/1752743847_4175202_1372347052_c5de60984e494e57f862ce48e192d8d7.jpg resize: (1080, 1632) 1372347052 -5.6194800397829425 treat image : temp/1752743847_4175202_1372347049_131df0d695d38719218dd3ba4ddc5920.jpg resize: (1080, 1632) 1372347049 -5.659945834416188 treat image : temp/1752743847_4175202_1372347037_da8b1bceb9e9f7e03e851c642f393877.jpg resize: (1080, 1632) 1372347037 -2.2555003218531913 treat image : temp/1752743847_4175202_1372347034_9dd75a1a902f48bce8f1c1caa040990c.jpg resize: (1080, 1632) 1372347034 -4.997329584615651 treat image : temp/1752743847_4175202_1372347031_edeb365d49dd3a52bca5c9453ec80c5d.jpg resize: (1080, 1632) 1372347031 -3.4940758103066747 treat image : temp/1752743847_4175202_1372347028_6594733db67f16f5e30fad18cd62484a.jpg resize: (1080, 1632) 1372347028 -5.187219272089114 treat image : temp/1752743847_4175202_1372347025_86bedc0a7537383506aa5515fde27fe7.jpg resize: (1080, 1632) 1372347025 -3.7088872489764384 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.0441436767578125 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.047980308532714844 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.047867774963378906 save missing photos in datou_result : time spend for datou_step_exec : 14.385281562805176 time spend to save output : 0.16061615943908691 total time spend for step 1 : 14.545897722244263 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.03user 3.21system 0:19.54elapsed 88%CPU (0avgtext+0avgdata 139792maxresident)k 0inputs+9960outputs (6major+253210minor)pagefaults 0swaps