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 : 265195 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 : 4097>100 please execute split_portfolio.py -i 21995993 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2718254'] with mtr_portfolio_ids : ['21995993'] and first list_photo_ids : [] new path : /proc/265195/ 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.4104537963867188 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 Apr 3 19:27:30 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/1743701247_265195_1349844596_41c9544891e1c52a719ba2e14899ec3b.jpg resize: (1080, 1632) 1349844596 -5.961869020689129 treat image : temp/1743701247_265195_1349844590_7499a5202a43bd21ef43ae805413da14.jpg resize: (1080, 1632) 1349844590 -4.411159457715131 treat image : temp/1743701247_265195_1349844586_81e3d8d27a24d0665aeb17332c86add9.jpg resize: (1080, 1632) 1349844586 -5.445080589308196 treat image : temp/1743701247_265195_1349844580_9cf8e4237716b1d2d4d2c4544510c8ab.jpg resize: (1080, 1632) 1349844580 -6.59548263854357 treat image : temp/1743701247_265195_1349844572_99ebc38a5e0be0a0db587c31a9b9929d.jpg resize: (1080, 1632) 1349844572 -5.604618774445617 treat image : temp/1743701247_265195_1349844571_47d0c89d00fdbec68b308516733b4867.jpg resize: (1080, 1632) 1349844571 -5.055677597987891 treat image : temp/1743701247_265195_1349844567_1c277cd10579f4f0937efc780d027afc.jpg resize: (1080, 1632) 1349844567 -5.466613768356504 treat image : temp/1743701247_265195_1349844561_12ff44618c3ef79b685f968524ec6cd3.jpg resize: (1080, 1632) 1349844561 -5.915757621868956 treat image : temp/1743701247_265195_1349844555_4e95202e9e18438a47d69bc15ee8c61f.jpg resize: (1080, 1632) 1349844555 -5.676412924170079 treat image : temp/1743701247_265195_1349844549_034b017d9537f1cb9f9e8babf34b71a6.jpg resize: (1080, 1632) 1349844549 -5.91564851305207 treat image : temp/1743701247_265195_1349844534_b7a743c4525f5f9cee155293ad8ea6ac.jpg resize: (1080, 1632) 1349844534 -6.379650299414732 treat image : temp/1743701247_265195_1349844523_e1745dc259e8794f3bb9e87292d52b19.jpg resize: (1080, 1632) 1349844523 -6.711694500907113 treat image : temp/1743701247_265195_1349844517_6896b1840c70b12f8a52e83a63308e60.jpg resize: (1080, 1632) 1349844517 -4.294198036721799 treat image : temp/1743701247_265195_1349844509_2b67d75be2cbadbea47fd20801647ec0.jpg resize: (1080, 1632) 1349844509 -1.521472545009825 treat image : temp/1743701247_265195_1349844489_2344e3f5f13819c37576a829f1fc23e8.jpg resize: (1080, 1632) 1349844489 -5.551489742651578 treat image : temp/1743701247_265195_1349844483_f91442acf67bcdf64808fdc9a30aa96e.jpg resize: (1080, 1632) 1349844483 -5.542042891987428 treat image : temp/1743701247_265195_1349822881_72d5e51d52ca1256cdf207c059ca2a8b.jpg resize: (1080, 1632) 1349822881 -4.123481471097228 treat image : temp/1743701247_265195_1349822878_ccb30c4e2a141e249034e0d8355f3b7b.jpg resize: (1080, 1632) 1349822878 0.13606423977450427 treat image : temp/1743701247_265195_1349822862_c53e1531f0b23b35ce7a49b3ce1e5c5e.jpg resize: (1080, 1632) 1349822862 -5.957107785832356 treat image : temp/1743701247_265195_1349822858_ab23b609ee76df258b00dd7b6c794dc0.jpg resize: (1080, 1632) 1349822858 -1.4356897202121335 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.046647071838378906 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.043770790100097656 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.045300960540771484 save missing photos in datou_result : time spend for datou_step_exec : 16.405202388763428 time spend to save output : 0.1548755168914795 total time spend for step 1 : 16.560077905654907 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.14user 3.61system 0:21.46elapsed 87%CPU (0avgtext+0avgdata 138036maxresident)k 4200inputs+10552outputs (17major+251982minor)pagefaults 0swaps