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 : 3320452 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 : 3358>100 please execute split_portfolio.py -i 24536011 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3231073'] with mtr_portfolio_ids : ['24536011'] and first list_photo_ids : [] new path : /proc/3320452/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.0064280033111572 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 Jul 3 12:02: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/1751536948_3320452_1370414302_9fe184e7bb778b92c57bb605ac315729.jpg resize: (1080, 1632) 1370414302 -5.049157896732189 treat image : temp/1751536948_3320452_1370414271_260fd67e59deb0ab94ed12b8624b835e.jpg resize: (1080, 1632) 1370414271 -2.501972700984008 treat image : temp/1751536948_3320452_1370414219_dd7b09540aa5a0a74ac9549b9472ef5e.jpg resize: (1080, 1632) 1370414219 -2.454922550261699 treat image : temp/1751536948_3320452_1370414149_145dcc30eb9f4cb99c276db813c596c8.jpg resize: (1080, 1632) 1370414149 -2.481442312610911 treat image : temp/1751536948_3320452_1370414013_64854405d47dfff7178abb064ef2babe.jpg resize: (1080, 1632) 1370414013 -1.5839754726194935 treat image : temp/1751536948_3320452_1370413890_46b2b0f256e042748d5d6d3aa6a6b2eb.jpg resize: (1080, 1632) 1370413890 -2.7245334645354546 treat image : temp/1751536948_3320452_1370413596_8734eeadac21116d0d96b0f1dd026b2b.jpg resize: (1080, 1632) 1370413596 -5.786277434070452 treat image : temp/1751536948_3320452_1370413528_7ef2f6105ac01a75e61f920dd38577ca.jpg resize: (1080, 1632) 1370413528 -5.778782901684509 treat image : temp/1751536948_3320452_1370413434_2d8a6cffe904c19a119a63cd540c99ab.jpg resize: (1080, 1632) 1370413434 -5.285982469265865 treat image : temp/1751536948_3320452_1370413362_c40797883d62a064050ebb17ac090e01.jpg resize: (1080, 1632) 1370413362 -5.290240515374729 treat image : temp/1751536948_3320452_1370413267_fe728d4ced4c1d97043784afd821d912.jpg resize: (1080, 1632) 1370413267 -5.304265484318297 treat image : temp/1751536948_3320452_1370413168_52ee170eb4037cff0a7cacfbf313029d.jpg resize: (1080, 1632) 1370413168 -5.384129348708231 treat image : temp/1751536948_3320452_1370412693_236463c0b5deb3fd96ccec9154725455.jpg resize: (1080, 1632) 1370412693 -4.969346583949827 treat image : temp/1751536948_3320452_1370412579_d6bf946adeb81a7f4d13cd3bf53f91fe.jpg resize: (1080, 1632) 1370412579 -4.911798273260436 treat image : temp/1751536948_3320452_1370412479_fb4d50d7361f6b11e1e38fa2ad28e424.jpg resize: (1080, 1632) 1370412479 -4.947285563097061 treat image : temp/1751536948_3320452_1370412392_f59a007a81c98fef4f7daa949990a776.jpg resize: (1080, 1632) 1370412392 -4.9157394909889565 treat image : temp/1751536948_3320452_1370412304_372dfe35e1899ceffdf00c3fd24c6cc9.jpg resize: (1080, 1632) 1370412304 -3.556866105472137 treat image : temp/1751536948_3320452_1370412205_279e50a42810873bb7e6b825a40f2cc6.jpg resize: (1080, 1632) 1370412205 -4.757945763672279 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 : 18 time used for this insertion : 0.011772632598876953 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.013896465301513672 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.013900518417358398 save missing photos in datou_result : time spend for datou_step_exec : 15.105332136154175 time spend to save output : 0.04383134841918945 total time spend for step 1 : 15.149163484573364 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 13.31user 4.18system 0:20.58elapsed 84%CPU (0avgtext+0avgdata 138912maxresident)k 1472inputs+8120outputs (16major+237861minor)pagefaults 0swaps