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 : 4104862 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 : 5506>100 please execute split_portfolio.py -i 26769748 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3700792'] with mtr_portfolio_ids : ['26769748'] and first list_photo_ids : [] new path : /proc/4104862/ 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.616253137588501 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 Tue Sep 16 23:52: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/1758059548_4104862_1383517828_64f0f6c8d7a2463d309b1fbcc74ca7b6.jpg resize: (1080, 1632) 1383517828 -4.479438495044686 treat image : temp/1758059548_4104862_1383517807_30b374c078d6982cc41875a2aa3566c8.jpg resize: (1080, 1632) 1383517807 -5.854965610814306 treat image : temp/1758059548_4104862_1383517594_5b62c21ee2b77a494c1e664a6ca96956.jpg resize: (1080, 1632) 1383517594 -5.327832093935017 treat image : temp/1758059548_4104862_1383517559_dad1d0e26449def76e7e72065222a308.jpg resize: (1080, 1632) 1383517559 -5.739841909003342 treat image : temp/1758059548_4104862_1383517510_08f6516037aa7ddbbda8fd6f491fdde6.jpg resize: (1080, 1632) 1383517510 -5.95390537835568 treat image : temp/1758059548_4104862_1383517460_4eaa02b3ff6158c4ba75fb6419666cb1.jpg resize: (1080, 1632) 1383517460 -6.2820643760460815 treat image : temp/1758059548_4104862_1383517410_cb390833480e9ab247f9276dfebd6719.jpg resize: (1080, 1632) 1383517410 -1.9516129251395615 treat image : temp/1758059548_4104862_1383515278_dda1e38f455e600c5b431b96915582f4.jpg resize: (1080, 1632) 1383515278 -5.6888665007134644 treat image : temp/1758059548_4104862_1383508996_04c587b461224ea671f76b075ff8f5e7.jpg resize: (1080, 1632) 1383508996 -5.292951829713932 treat image : temp/1758059548_4104862_1383505979_6d0ce8f0c4d09842962bb8928ccf5c8f.jpg resize: (1080, 1632) 1383505979 -4.213319774306493 treat image : temp/1758059548_4104862_1383505975_54c4bc954840c69d506643c65cd0f0db.jpg resize: (1080, 1632) 1383505975 -5.05539249010242 treat image : temp/1758059548_4104862_1383505973_1c0bd844e080f98b1a4a72ef7e412ec3.jpg resize: (1080, 1632) 1383505973 -2.307888100243251 treat image : temp/1758059548_4104862_1383505972_b8ea46b212a7e236053411ef65df410b.jpg resize: (1080, 1632) 1383505972 -1.8480433369083407 treat image : temp/1758059548_4104862_1383505969_6bf77b2e884954eaee88c2f0b0237acb.jpg resize: (1080, 1632) 1383505969 -3.5110614965932108 treat image : temp/1758059548_4104862_1383505901_6dd199f4cb06988c42c1aa6f92880c42.jpg resize: (1080, 1632) 1383505901 -1.8498358046963683 treat image : temp/1758059548_4104862_1383505875_34ee381dc3be219d98268cfac7e3b98e.jpg resize: (1080, 1632) 1383505875 -2.1309665936132185 treat image : temp/1758059548_4104862_1383505846_13ea8e53b210c42177dfe0d5bcce3705.jpg resize: (1080, 1632) 1383505846 -5.3906261521931 treat image : temp/1758059548_4104862_1383505821_9a8979ad9effd22cf3b24446027d13c1.jpg resize: (1080, 1632) 1383505821 -5.110490159578944 treat image : temp/1758059548_4104862_1383505794_df8548a9e7393d409924dd212414f9d1.jpg resize: (1080, 1632) 1383505794 -5.333232742886718 treat image : temp/1758059548_4104862_1383505579_02046d5a5c1bcbe3c5e95d2a3c2115a9.jpg resize: (1080, 1632) 1383505579 -4.0988381282489526 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.016501665115356445 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.02068161964416504 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.023323774337768555 save missing photos in datou_result : time spend for datou_step_exec : 14.978175640106201 time spend to save output : 0.06540846824645996 total time spend for step 1 : 15.043584108352661 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.76user 4.04system 0:22.39elapsed 79%CPU (0avgtext+0avgdata 137952maxresident)k 720inputs+10040outputs (13major+262587minor)pagefaults 0swaps