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 : 1784855 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 : 2590>100 please execute split_portfolio.py -i 21478223 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2674161'] with mtr_portfolio_ids : ['21478223'] and first list_photo_ids : [] new path : /proc/1784855/ 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.2174019813537598 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 Mar 21 21:57: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/1742590650_1784855_1346233645_c0f859fd9e50592c408dde5ba6936531.jpg resize: (1080, 1632) 1346233645 -3.552842412189349 treat image : temp/1742590650_1784855_1346233640_bc8cd05e4fda5b40973ba1a1b663f192.jpg resize: (1080, 1632) 1346233640 -5.3895326408134485 treat image : temp/1742590650_1784855_1346233637_01d95d6a7924f7de9cdb7733781743c5.jpg resize: (1080, 1632) 1346233637 -5.838245230386908 treat image : temp/1742590650_1784855_1346233630_223607eba40f771f8dd0164923f7c529.jpg resize: (1080, 1632) 1346233630 -2.1457391746459327 treat image : temp/1742590650_1784855_1346233616_def200f3455650180b3ce20ea35db354.jpg resize: (1080, 1632) 1346233616 -4.458555258307122 treat image : temp/1742590650_1784855_1346233580_e1507a9838e80ef81b08671b5dbc0d3e.jpg resize: (1080, 1632) 1346233580 -5.157154565641653 treat image : temp/1742590650_1784855_1346233501_c48e7977f3c5653db5e0c828b04a8302.jpg resize: (1080, 1632) 1346233501 -6.489059539286026 treat image : temp/1742590650_1784855_1346233493_3a8086aaef091684983b5487d16d4da9.jpg resize: (1080, 1632) 1346233493 -6.327634583783375 treat image : temp/1742590650_1784855_1346233490_c7f2bea8f5f3208f9e880336d6127793.jpg resize: (1080, 1632) 1346233490 -4.365932824933782 treat image : temp/1742590650_1784855_1346233487_3a6bed09e42508d3a9878a31aea33d03.jpg resize: (1080, 1632) 1346233487 -6.108658434930342 treat image : temp/1742590650_1784855_1346233483_490f7ea149538b7d6490b2fa217b8b17.jpg resize: (1080, 1632) 1346233483 -6.148035823839867 treat image : temp/1742590650_1784855_1346233479_24ebca4b51c055320c32ee372e17947c.jpg resize: (1080, 1632) 1346233479 -5.975291768008749 treat image : temp/1742590650_1784855_1346233299_a61a82669ad6a721611820ac6b87a9fe.jpg resize: (1080, 1632) 1346233299 -5.833606333994651 treat image : temp/1742590650_1784855_1346233256_388a97b909dd9cfdf285db9baf5267ae.jpg resize: (1080, 1632) 1346233256 -6.312666342797827 treat image : temp/1742590650_1784855_1346233232_0d50a6b1f7b693cde0093771ccf0e57e.jpg resize: (1080, 1632) 1346233232 -6.307763810687154 treat image : temp/1742590650_1784855_1346233207_08224ed1c78e8c8183b5792c9be4b812.jpg resize: (1080, 1632) 1346233207 -3.293251028621464 treat image : temp/1742590650_1784855_1346233175_7814232fe280040dd1616fe1def0761e.jpg resize: (1080, 1632) 1346233175 -1.9665193711764914 treat image : temp/1742590650_1784855_1346233122_3efe841d7ad1c929a1540e24687a6882.jpg resize: (1080, 1632) 1346233122 -2.742499289006175 treat image : temp/1742590650_1784855_1346232721_b3c73fa11e353408c78aa3da6037bb12.jpg resize: (1080, 1632) 1346232721 -5.080086158842697 treat image : temp/1742590650_1784855_1346232679_e15777fdad5ecc38aeab7d80d482094a.jpg resize: (1080, 1632) 1346232679 -4.306594663119919 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.01670694351196289 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.014045953750610352 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01792621612548828 save missing photos in datou_result : time spend for datou_step_exec : 16.16197633743286 time spend to save output : 0.053531646728515625 total time spend for step 1 : 16.215507984161377 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.32user 4.23system 0:22.61elapsed 82%CPU (0avgtext+0avgdata 139748maxresident)k 160inputs+10552outputs (3major+260334minor)pagefaults 0swaps