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 : 2060270 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 : 1933>100 please execute split_portfolio.py -i 21820661 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2699617'] with mtr_portfolio_ids : ['21820661'] and first list_photo_ids : [] new path : /proc/2060270/ 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.4498517513275146 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 28 14:37:29 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/1743169046_2060270_1348280875_2af9605d71bb409d44c30095908b5ede.jpg resize: (1080, 1632) 1348280875 -5.597142052018055 treat image : temp/1743169046_2060270_1348280702_2c9745691541bd7b5e0b1d6860d6f6be.jpg resize: (1080, 1632) 1348280702 -6.114080721595199 treat image : temp/1743169046_2060270_1348280653_9f178d84531a49facd76eae1a916fd20.jpg resize: (1080, 1632) 1348280653 -4.4295572804423875 treat image : temp/1743169046_2060270_1348280601_e6b6ec6d06d7e6bf57dcce902ca16431.jpg resize: (1080, 1632) 1348280601 -2.484020402573246 treat image : temp/1743169046_2060270_1348280011_216d1c30c8f08dc0713f91185bf6b1b6.jpg resize: (1080, 1632) 1348280011 -5.431691721101569 treat image : temp/1743169046_2060270_1348279948_df57b14047bb659fb6d01855852a5ac0.jpg resize: (1080, 1632) 1348279948 -3.9028229069273768 treat image : temp/1743169046_2060270_1348279903_8aa072d0b05528dfb17ba632e29d2efe.jpg resize: (1080, 1632) 1348279903 -5.3908491574369 treat image : temp/1743169046_2060270_1348279849_85ba830f2e451c1c3944bf45dab308fd.jpg resize: (1080, 1632) 1348279849 -5.539115426972712 treat image : temp/1743169046_2060270_1348279628_f7ff436060761f1717b42cbdd1de6b60.jpg resize: (1080, 1632) 1348279628 -5.725540926771041 treat image : temp/1743169046_2060270_1348279565_ad89a7556b43558af8d31a4e5de4aab0.jpg resize: (1080, 1632) 1348279565 -6.37716872439211 treat image : temp/1743169046_2060270_1348279546_f028e87f780ac73bcf70979a98d65325.jpg resize: (1080, 1632) 1348279546 -4.938235884374337 treat image : temp/1743169046_2060270_1348279438_d5f04958c24a0d6f71dd61fe3bad368c.jpg resize: (1080, 1632) 1348279438 -6.433011081231004 treat image : temp/1743169046_2060270_1348279394_34fa7de1b537196001e5aaa656df651b.jpg resize: (1080, 1632) 1348279394 -5.820331669516627 treat image : temp/1743169046_2060270_1348279370_9bb5bae8089662401177f9e6aa349113.jpg resize: (1080, 1632) 1348279370 -3.647334938861877 treat image : temp/1743169046_2060270_1348278909_56cf36a0c051a3782e3d609bfd6db1cd.jpg resize: (1080, 1632) 1348278909 -6.175465236413506 treat image : temp/1743169046_2060270_1348278854_184e834129b3309f432677b775f11467.jpg resize: (1080, 1632) 1348278854 -3.1510444677260008 treat image : temp/1743169046_2060270_1348278823_b82ddd8190dc4ea5e2d8269289fcafb7.jpg resize: (1080, 1632) 1348278823 -1.5405945184742622 treat image : temp/1743169046_2060270_1348278559_51bf7bd04fd486497941c7599cc30057.jpg resize: (1080, 1632) 1348278559 -5.680710349480842 treat image : temp/1743169046_2060270_1348278516_a081c9ab59f44e2ef4b3247059f529c8.jpg resize: (1080, 1632) 1348278516 -5.485678686973952 treat image : temp/1743169046_2060270_1348278468_a5f42907d14722b8dbfd1d0cdb90887f.jpg resize: (1080, 1632) 1348278468 -5.781166159054394 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.012751579284667969 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.012827634811401367 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018026113510131836 save missing photos in datou_result : time spend for datou_step_exec : 15.426326751708984 time spend to save output : 0.0482025146484375 total time spend for step 1 : 15.474529266357422 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.07user 3.27system 0:19.39elapsed 94%CPU (0avgtext+0avgdata 138228maxresident)k 160inputs+10480outputs (13major+256862minor)pagefaults 0swaps