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 : 3392081 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 : 1615>100 please execute split_portfolio.py -i 21370538 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2664544'] with mtr_portfolio_ids : ['21370538'] and first list_photo_ids : [] new path : /proc/3392081/ 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.9518589973449707 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 15:47: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/1741877248_3392081_1343739653_6f2bf59a07e0b454722ba39de57bd89a.jpg resize: (1080, 1632) 1343739653 -6.576198820461677 treat image : temp/1741877248_3392081_1343739612_b7ac826be4c212b189960f481fadb66d.jpg resize: (1080, 1632) 1343739612 -0.9294148217666376 treat image : temp/1741877248_3392081_1343739607_7d3b9fb07c29e09159860a4242c1e571.jpg resize: (1080, 1632) 1343739607 -1.2899586812265966 treat image : temp/1741877248_3392081_1343739601_df498a10b76075fffdf1c8edcc10db40.jpg resize: (1080, 1632) 1343739601 -4.949565406084377 treat image : temp/1741877248_3392081_1343739569_d82accebac5453556871a3b9afb76547.jpg resize: (1080, 1632) 1343739569 -5.953124615667465 treat image : temp/1741877248_3392081_1343739567_384e0ca484110501d1304045a4e22d04.jpg resize: (1080, 1632) 1343739567 -5.455733045819689 treat image : temp/1741877248_3392081_1343739563_bc71f72211cf0cb6a830c8e16110cd83.jpg resize: (1080, 1632) 1343739563 -5.42740384366922 treat image : temp/1741877248_3392081_1343739559_ce8d3222fab71417c17608d65cf90183.jpg resize: (1080, 1632) 1343739559 -5.154364814296421 treat image : temp/1741877248_3392081_1343739554_437bace1c747eb17d5a99b5d9bc31a82.jpg resize: (1080, 1632) 1343739554 -6.08440383241863 treat image : temp/1741877248_3392081_1343739525_192242a825e252250fda0c1cc86085aa.jpg resize: (1080, 1632) 1343739525 -5.38387158841099 treat image : temp/1741877248_3392081_1343739523_52f25d093f51d6df1496cfe79a9dbada.jpg resize: (1080, 1632) 1343739523 -4.821536002090832 treat image : temp/1741877248_3392081_1343739517_70f9dc278e8746f22eccf0611a41ae92.jpg resize: (1080, 1632) 1343739517 -5.881026596053948 treat image : temp/1741877248_3392081_1343739512_503487c56704972953ffa0df069583a2.jpg resize: (1080, 1632) 1343739512 -5.935784339062747 treat image : temp/1741877248_3392081_1343739504_7b549c53d0783219bfd6a954f4ed43b6.jpg resize: (1080, 1632) 1343739504 -5.982596608488355 treat image : temp/1741877248_3392081_1343739421_b1eff3f312a3efde1ecc355955fc3709.jpg resize: (1080, 1632) 1343739421 -5.335859680094693 treat image : temp/1741877248_3392081_1343739416_c11e68c212bf34de68c013337fb79e87.jpg resize: (1080, 1632) 1343739416 -5.246249035833733 treat image : temp/1741877248_3392081_1343739318_17d8ccda95fe5d38ca39cdc7e8c55e95.jpg resize: (1080, 1632) 1343739318 -5.417569485970167 treat image : temp/1741877248_3392081_1343739223_424ad7272da0f72a55c798e2dcdf2a5b.jpg resize: (1080, 1632) 1343739223 -3.9073875572393617 treat image : temp/1741877248_3392081_1343739178_1831fcb41d56bfea0491d2a70a1f65a3.jpg resize: (1080, 1632) 1343739178 -3.759466902801245 treat image : temp/1741877248_3392081_1343739144_d4df57e37770304a887a759cdf3087ff.jpg resize: (1080, 1632) 1343739144 -1.0960431074423502 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.013684749603271484 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.013035058975219727 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014839887619018555 save missing photos in datou_result : time spend for datou_step_exec : 15.338332414627075 time spend to save output : 0.049022674560546875 total time spend for step 1 : 15.387355089187622 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.02user 3.96system 0:21.84elapsed 82%CPU (0avgtext+0avgdata 140152maxresident)k 136inputs+9952outputs (5major+260525minor)pagefaults 0swaps