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 : 1569938 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 : 355>100 please execute split_portfolio.py -i 22940775 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2844070'] with mtr_portfolio_ids : ['22940775'] and first list_photo_ids : [] new path : /proc/1569938/ 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.328763246536255 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 14 06:32: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/1747197149_1569938_1358095276_74543f1991262afacebb2572e8d59961.jpg resize: (1080, 1632) 1358095276 -5.388491616351534 treat image : temp/1747197149_1569938_1358095274_2f90df78987416f4bd667d293abf1128.jpg resize: (1080, 1632) 1358095274 -5.610128883399719 treat image : temp/1747197149_1569938_1358095272_bc6155bf07d2cff9445374c9ea70e2b4.jpg resize: (1080, 1632) 1358095272 -5.549987772710645 treat image : temp/1747197149_1569938_1358095253_59c00de29d69694d9b979e81f65d4752.jpg resize: (1080, 1632) 1358095253 -2.6504721495977095 treat image : temp/1747197149_1569938_1358095249_fc2232a42980f34cfcc31fc5b5507cd7.jpg resize: (1080, 1632) 1358095249 -6.049955487551826 treat image : temp/1747197149_1569938_1358095247_0e42143b67fa1fb9405818dfe9efb5ca.jpg resize: (1080, 1632) 1358095247 -5.921107922494992 treat image : temp/1747197149_1569938_1358095245_96be984213ecdacda44f46019b4553d8.jpg resize: (1080, 1632) 1358095245 -5.449401186147194 treat image : temp/1747197149_1569938_1358095243_cb6807644922cc04037500db2f0ac7c0.jpg resize: (1080, 1632) 1358095243 -4.60228545314894 treat image : temp/1747197149_1569938_1358095239_6067edf51deddcc99836b2ebe6d332a1.jpg resize: (1080, 1632) 1358095239 -5.635845701893434 treat image : temp/1747197149_1569938_1358095211_91a237277dfd268666b53441b0c31628.jpg resize: (1080, 1632) 1358095211 -3.611933500399729 treat image : temp/1747197149_1569938_1358095209_5a404fdabd42d9e021ade9764ab06c53.jpg resize: (1080, 1632) 1358095209 -5.913747101842119 treat image : temp/1747197149_1569938_1358095207_0c42e9b2f0c4521d0b0f9899dd3fa4ce.jpg resize: (1080, 1632) 1358095207 -0.6643609236640953 treat image : temp/1747197149_1569938_1358095200_6218e0cc583b80621343c44bc4b18d9c.jpg resize: (1080, 1632) 1358095200 -2.077635631677738 treat image : temp/1747197149_1569938_1358095164_a0c502aacbc593fdb9cc6b9877a7d1bc.jpg resize: (1080, 1632) 1358095164 -5.641177172308955 treat image : temp/1747197149_1569938_1358095160_b15e76cd51795dcc51a95c7b37cc0157.jpg resize: (1080, 1632) 1358095160 -6.130884186737802 treat image : temp/1747197149_1569938_1358095157_d37ba1fe04851125ca09e9cd88fcfdbf.jpg resize: (1080, 1632) 1358095157 -5.381694147657232 treat image : temp/1747197149_1569938_1358095155_30f082bda0976932fa5ba1339ddb6045.jpg resize: (1080, 1632) 1358095155 -3.8667762441119637 treat image : temp/1747197149_1569938_1358095153_a994db8bd0f50eb7ad9a5e1af782c5cd.jpg resize: (1080, 1632) 1358095153 -3.112938954896548 treat image : temp/1747197149_1569938_1358095134_def758e480c9edd7cc064c037bdac2e7.jpg resize: (1080, 1632) 1358095134 -6.157257644816903 treat image : temp/1747197149_1569938_1358095131_e02456f47fba7504e6355f8b30abf941.jpg resize: (1080, 1632) 1358095131 -1.8982732708996617 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.011977672576904297 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.18988895416259766 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0168759822845459 save missing photos in datou_result : time spend for datou_step_exec : 14.685117483139038 time spend to save output : 0.22342157363891602 total time spend for step 1 : 14.908539056777954 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.95user 3.04system 0:20.07elapsed 84%CPU (0avgtext+0avgdata 140688maxresident)k 3256inputs+9976outputs (17major+248722minor)pagefaults 0swaps