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 : 1550618 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 : 746>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/1550618/ 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.445963144302368 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 07:37: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/1747805848_1550618_1359972297_59ee85f60253f57ad8f58c7de2a80b7f.jpg resize: (1080, 1632) 1359972297 0.3687072326657831 treat image : temp/1747805848_1550618_1359972293_5131c67c6231bfad383c735100927b5e.jpg resize: (1080, 1632) 1359972293 -1.6751363240153305 treat image : temp/1747805848_1550618_1359972288_7c039cd88bb9a18b507df990bd0e35f4.jpg resize: (1080, 1632) 1359972288 -1.300734463086351 treat image : temp/1747805848_1550618_1359972285_8c2b5646a71318987cefceca786eee0e.jpg resize: (1080, 1632) 1359972285 -5.371966764679369 treat image : temp/1747805848_1550618_1359972258_4dcef14e1677ee0b444c8a2cff7ff5ba.jpg resize: (1080, 1632) 1359972258 -4.312998599857495 treat image : temp/1747805848_1550618_1359972255_ccbd1f04663c15cfb77558411601ca74.jpg resize: (1080, 1632) 1359972255 -5.4528883743793 treat image : temp/1747805848_1550618_1359972249_64f6872ab95b1d86a856829663eadedd.jpg resize: (1080, 1632) 1359972249 -5.634660536611387 treat image : temp/1747805848_1550618_1359972247_9a537c1e99572644f23d5a9d2df29b46.jpg resize: (1080, 1632) 1359972247 -4.3539449528598615 treat image : temp/1747805848_1550618_1359972240_7e94668f2faf4534341e4f199a20e38e.jpg resize: (1080, 1632) 1359972240 -5.4942944397394236 treat image : temp/1747805848_1550618_1359972226_fea6cc9893b2578088c5d22e14ff4074.jpg resize: (1080, 1632) 1359972226 -5.680575297214075 treat image : temp/1747805848_1550618_1359972118_d43e1429ceca30e67905caa44782e94b.jpg resize: (1080, 1632) 1359972118 -1.619753816444151 treat image : temp/1747805848_1550618_1359972112_efa80b1771aa0e4b67574fd3f3c89931.jpg resize: (1080, 1632) 1359972112 -3.32600818462249 treat image : temp/1747805848_1550618_1359972110_35da5323d01a59d49cf8f6c039b0d13f.jpg resize: (1080, 1632) 1359972110 -4.772735838930781 treat image : temp/1747805848_1550618_1359972106_f2bca73b6c5e5d315b6cb1785e925599.jpg resize: (1080, 1632) 1359972106 -5.316518936430809 treat image : temp/1747805848_1550618_1359972104_0a7f3194484ae4ce58402fdccf70e52e.jpg resize: (1080, 1632) 1359972104 -4.579330937457523 treat image : temp/1747805848_1550618_1359972101_ee67bc970ad060a0b9f990923b1f46f4.jpg resize: (1080, 1632) 1359972101 -4.52193570102006 treat image : temp/1747805848_1550618_1359972070_de9920a538ab0f2beb201dd1e6d18fc5.jpg resize: (1080, 1632) 1359972070 -5.596858490320357 treat image : temp/1747805848_1550618_1359972067_a2a3c6cb344262d47041c16a7940880c.jpg resize: (1080, 1632) 1359972067 -2.7226774477880236 treat image : temp/1747805848_1550618_1359972064_c03f6340a747572db6ed374c673690b6.jpg resize: (1080, 1632) 1359972064 -5.686499607148825 treat image : temp/1747805848_1550618_1359972061_e14f355199bb6deb4a919e10eb17e8ca.jpg resize: (1080, 1632) 1359972061 -0.9341696076434357 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.01383066177368164 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.16780948638916016 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.33193063735961914 save missing photos in datou_result : time spend for datou_step_exec : 19.670494079589844 time spend to save output : 0.518181324005127 total time spend for step 1 : 20.18867540359497 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.19user 7.19system 0:24.68elapsed 90%CPU (0avgtext+0avgdata 137832maxresident)k 136inputs+8960outputs (14major+260266minor)pagefaults 0swaps