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 : 3735257 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 : 3809>100 please execute split_portfolio.py -i 21319625 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2660211'] with mtr_portfolio_ids : ['21319625'] and first list_photo_ids : [] new path : /proc/3735257/ 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.3454935550689697 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 Mar 13 17:12:32 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/1741882348_3735257_1343602968_4604f5a0d4061f03d9543db649c0b1a7.jpg resize: (1080, 1632) 1343602968 -5.266931315809682 treat image : temp/1741882348_3735257_1343601860_b31b729f302088fbd216750e188582bc.jpg resize: (1080, 1632) 1343601860 -4.976816058600806 treat image : temp/1741882348_3735257_1343598318_e2fa919fa263da79f8bf71b8b332fd21.jpg resize: (1080, 1632) 1343598318 -6.0548626143223645 treat image : temp/1741882348_3735257_1343598215_2f3ad2b7678201f3f6732e3edc2e08f1.jpg resize: (1080, 1632) 1343598215 -4.944628350733306 treat image : temp/1741882348_3735257_1343598124_14dc7e32b74a57bf5fd80523c938a2a1.jpg resize: (1080, 1632) 1343598124 -5.947117162154986 treat image : temp/1741882348_3735257_1343597703_ba3fcbf324e7ab0ef0115461f5818ca6.jpg resize: (1080, 1632) 1343597703 -6.050530270523519 treat image : temp/1741882348_3735257_1343596980_c5701a29ce7168b66b6f4988f704cd23.jpg resize: (1080, 1632) 1343596980 -5.638781907959268 treat image : temp/1741882348_3735257_1343594261_2585da33b4ec97747875efd1cc29d229.jpg resize: (1080, 1632) 1343594261 -5.8445269263839785 treat image : temp/1741882348_3735257_1343594233_5936d78562fd26210f5112ae2d713948.jpg resize: (1080, 1632) 1343594233 -5.81982757105793 treat image : temp/1741882348_3735257_1343593478_335868e844e4f03269852e1c65f63386.jpg resize: (1080, 1632) 1343593478 -6.645943556277445 treat image : temp/1741882348_3735257_1343588042_e61ee7a84fd2f9ad48f3bdd2e0f4f86b.jpg resize: (1080, 1632) 1343588042 -6.2373154870381615 treat image : temp/1741882348_3735257_1343586200_1d4d800fe6d650a794249ca24d2a39b4.jpg resize: (1080, 1632) 1343586200 -3.097758435121811 treat image : temp/1741882348_3735257_1343585355_effd892dbf730c4ed696c797ce5b3172.jpg resize: (1080, 1632) 1343585355 -3.701622649028507 treat image : temp/1741882348_3735257_1343584656_279e3353a656157488a0a3c9bc8c21d0.jpg resize: (1080, 1632) 1343584656 -2.7691324085132005 treat image : temp/1741882348_3735257_1343579762_5f90a2a1398ed745d447878f7cc0d4a1.jpg resize: (1080, 1632) 1343579762 -7.037384587492403 treat image : temp/1741882348_3735257_1343579653_5285a86b1162486d1dd792816faad183.jpg resize: (1080, 1632) 1343579653 -0.3092597696763544 treat image : temp/1741882348_3735257_1343577489_8c04da349e83f764027ddf1ab55355b5.jpg resize: (1080, 1632) 1343577489 -7.405904563198006 treat image : temp/1741882348_3735257_1343573743_70f37d4013330f8fc4df58e5aa71c9eb.jpg resize: (1080, 1632) 1343573743 -6.260055590506695 treat image : temp/1741882348_3735257_1343568054_588cbc79e58251bbd07b8b3d98161a59.jpg resize: (1080, 1632) 1343568054 -6.735502774018892 treat image : temp/1741882348_3735257_1343566442_aad7642fc1679ec6976ed48904acd4e1.jpg resize: (1080, 1632) 1343566442 -7.063412004252698 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.11195659637451172 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.28290700912475586 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.1356949806213379 save missing photos in datou_result : time spend for datou_step_exec : 17.669326305389404 time spend to save output : 0.5460100173950195 total time spend for step 1 : 18.215336322784424 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.63user 3.77system 0:25.89elapsed 74%CPU (0avgtext+0avgdata 140252maxresident)k 736inputs+11224outputs (10major+257539minor)pagefaults 0swaps