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 : 1934025 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 : 5080>100 please execute split_portfolio.py -i 24580131 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3234427'] with mtr_portfolio_ids : ['24580131'] and first list_photo_ids : [] new path : /proc/1934025/ 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.258423328399658 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 4 18:47: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/1751647646_1934025_1370669263_eaa808ea4ee86cbe210474c10a3d0305.jpg resize: (1080, 1632) 1370669263 -4.988956550938294 treat image : temp/1751647646_1934025_1370669230_452455fc4152a838673e87e0787a29bd.jpg resize: (1080, 1632) 1370669230 -4.240185798064265 treat image : temp/1751647646_1934025_1370669218_f32f2e381b3a45feab923836d382f11a.jpg resize: (1080, 1632) 1370669218 -5.092908129389375 treat image : temp/1751647646_1934025_1370669217_48e3692ea7adfa95cc89670dd75e6372.jpg resize: (1080, 1632) 1370669217 -2.577749271590813 treat image : temp/1751647646_1934025_1370669216_40beb2e305806a071a4502572c728f35.jpg resize: (1080, 1632) 1370669216 -2.6946135282712773 treat image : temp/1751647646_1934025_1370669213_55a05b39bd65a3f9a29330deec786fa7.jpg resize: (1080, 1632) 1370669213 -1.5161306376683157 treat image : temp/1751647646_1934025_1370669158_5718361f80fccd1f6025d2d1aaae6095.jpg resize: (1080, 1632) 1370669158 -5.794239729533967 treat image : temp/1751647646_1934025_1370669123_5aaabe9f785070394389d82d402e0392.jpg resize: (1080, 1632) 1370669123 -5.797735433927474 treat image : temp/1751647646_1934025_1370669109_964c7ad619f5b7c879cb3b72e34f0c36.jpg resize: (1080, 1632) 1370669109 -5.788079016920128 treat image : temp/1751647646_1934025_1370669106_b636937c6e20b6051fb5a0bcbeb19ca6.jpg resize: (1080, 1632) 1370669106 -5.7751524546004855 treat image : temp/1751647646_1934025_1370669093_11dd0871e9cef5806a1f503d22bb88cd.jpg resize: (1080, 1632) 1370669093 -5.77367478966495 treat image : temp/1751647646_1934025_1370669062_0e8b2fe63e3d4121df19087ba2754183.jpg resize: (1080, 1632) 1370669062 -5.773561153641055 treat image : temp/1751647646_1934025_1370669014_2784931c0687bed7c3bc09f04b31a2b0.jpg resize: (1080, 1632) 1370669014 -5.803788429466299 treat image : temp/1751647646_1934025_1370668977_6b85e96e84b7e7761954194568a0835c.jpg resize: (1080, 1632) 1370668977 -5.797989539983323 treat image : temp/1751647646_1934025_1370668939_fa5f6d97404039cc4c467e49387cafeb.jpg resize: (1080, 1632) 1370668939 -5.751463980186014 treat image : temp/1751647646_1934025_1370668929_cf480b47aeec6120d0cba11accd711dc.jpg resize: (1080, 1632) 1370668929 -5.781764687838554 treat image : temp/1751647646_1934025_1370668921_256c9c53856a947737c2048a200ac350.jpg resize: (1080, 1632) 1370668921 -5.802092588748057 treat image : temp/1751647646_1934025_1370668911_92d4b2df4edd69e9733879b958f17c28.jpg resize: (1080, 1632) 1370668911 -5.781686500099714 treat image : temp/1751647646_1934025_1370668410_3e72917aa2b37501457273507eca061c.jpg resize: (1080, 1632) 1370668410 -5.783155950989119 treat image : temp/1751647646_1934025_1370668401_f8ddfe747c72cd001866b41c848b022b.jpg resize: (1080, 1632) 1370668401 -5.788027848550941 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.01391148567199707 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.015347480773925781 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0185544490814209 save missing photos in datou_result : time spend for datou_step_exec : 15.550619840621948 time spend to save output : 0.05261492729187012 total time spend for step 1 : 15.603234767913818 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.88user 4.11system 0:19.43elapsed 92%CPU (0avgtext+0avgdata 137464maxresident)k 264inputs+10136outputs (12major+258459minor)pagefaults 0swaps