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 : 3682378 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 : 2626>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/3682378/ 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.2032947540283203 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 Wed May 21 17:52: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/1747842749_3682378_1360056156_b5bbce7ecd0e4499b66db737678dad0e.jpg resize: (1080, 1632) 1360056156 -5.123325340509152 treat image : temp/1747842749_3682378_1360056021_f5897244a41b80514f3dce712c3a6e0c.jpg resize: (1080, 1632) 1360056021 -3.5273934228229757 treat image : temp/1747842749_3682378_1360056018_65ee32667098cd0a01f98d1ef5ae5c5f.jpg resize: (1080, 1632) 1360056018 -2.8783242968321936 treat image : temp/1747842749_3682378_1360055973_3d99a242736f7467871e054e7aed51b9.jpg resize: (1080, 1632) 1360055973 -6.042956455622236 treat image : temp/1747842749_3682378_1360055952_d314360bfd09fc1ca9d701b436df47a7.jpg resize: (1080, 1632) 1360055952 -4.773793741895963 treat image : temp/1747842749_3682378_1360055947_7981acf5062ddb66176eeadd52a0c21e.jpg resize: (1080, 1632) 1360055947 -4.869760206233 treat image : temp/1747842749_3682378_1360055940_6f125cfdd79448f36bebf809883d5e84.jpg resize: (1080, 1632) 1360055940 -5.4978219614011365 treat image : temp/1747842749_3682378_1360055770_0cde16a4f31ac842ac0dc0cbcc2f2e7a.jpg resize: (1080, 1632) 1360055770 -1.035491812685124 treat image : temp/1747842749_3682378_1360055767_9666c11c1f7af5a2bacdd42c96d9ce57.jpg resize: (1080, 1632) 1360055767 -3.376517131140341 treat image : temp/1747842749_3682378_1360055650_9ece7efd521f9e4e9063f6f6a25f707c.jpg resize: (1080, 1632) 1360055650 -4.894122804082181 treat image : temp/1747842749_3682378_1360055645_862e85e76f07a0e5a8578f040126a762.jpg resize: (1080, 1632) 1360055645 -5.301857381459502 treat image : temp/1747842749_3682378_1360055632_3f54b7f90254c49ceddd5ed67f732098.jpg resize: (1080, 1632) 1360055632 -5.414520653400694 treat image : temp/1747842749_3682378_1360055605_ff9d3bffa8fe7eaa39e92279b457c432.jpg resize: (1080, 1632) 1360055605 -1.4655978970852106 treat image : temp/1747842749_3682378_1360050631_964fe9612ee1f508844040ca838a88a6.jpg resize: (1080, 1632) 1360050631 -5.223150575302432 treat image : temp/1747842749_3682378_1360050626_6ef95002834fdba395dce58a61de25c4.jpg resize: (1080, 1632) 1360050626 -5.806781166799381 treat image : temp/1747842749_3682378_1360050458_9733ed4e6bcc6735f418620e58c95cb8.jpg resize: (1080, 1632) 1360050458 -5.907934962266047 treat image : temp/1747842749_3682378_1360050452_9366772d695a093cbc8c15e2eea6d597.jpg resize: (1080, 1632) 1360050452 -1.0256177178961943 treat image : temp/1747842749_3682378_1360050424_9def26a801db53cd65e3d87db6cfbec7.jpg resize: (1080, 1632) 1360050424 -1.6054051308612622 treat image : temp/1747842749_3682378_1360050418_c975aa924ca2690fcae5cc92c8f1a3ee.jpg resize: (1080, 1632) 1360050418 -1.049244133959478 treat image : temp/1747842749_3682378_1360049232_0b2fc0020d0b6a7c061cbc21fcd3dcbb.jpg resize: (1080, 1632) 1360049232 -5.551783509820179 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.01574110984802246 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.013846397399902344 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015123128890991211 save missing photos in datou_result : time spend for datou_step_exec : 15.56046986579895 time spend to save output : 0.049701690673828125 total time spend for step 1 : 15.610171556472778 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.31user 4.04system 0:22.32elapsed 82%CPU (0avgtext+0avgdata 137968maxresident)k 152inputs+9072outputs (7major+260276minor)pagefaults 0swaps