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 : 3666536 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 : 2664>100 please execute split_portfolio.py -i 21602882 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2681004'] with mtr_portfolio_ids : ['21602882'] and first list_photo_ids : [] new path : /proc/3666536/ 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.587661027908325 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 Sat Mar 22 04:57: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/1742615846_3666536_1346335231_0d3230a5d0276e3cbaced21d277d7524.jpg resize: (1080, 1632) 1346335231 -5.655791656431907 treat image : temp/1742615846_3666536_1346335230_b00029d251c1d7769121d6c8fa58affe.jpg resize: (1080, 1632) 1346335230 -4.391128788843939 treat image : temp/1742615846_3666536_1346335228_5d25ddaf615624c93764eb0a17d979b5.jpg resize: (1080, 1632) 1346335228 -2.460442275282243 treat image : temp/1742615846_3666536_1346335224_c07570fd9ce71824c8d9b0c38f942518.jpg resize: (1080, 1632) 1346335224 -3.314365843106814 treat image : temp/1742615846_3666536_1346335210_2bfa01437f33665a8a542d70eccb16d2.jpg resize: (1080, 1632) 1346335210 -5.661718433949128 treat image : temp/1742615846_3666536_1346335204_446505cdbcb5e421108703d7ea06035c.jpg resize: (1080, 1632) 1346335204 -6.517347685813566 treat image : temp/1742615846_3666536_1346335201_a4da340402b8f7e59faf64b624e1e159.jpg resize: (1080, 1632) 1346335201 -4.907322846120524 treat image : temp/1742615846_3666536_1346335198_4c11487d49cb52abba1d1db20aa7af14.jpg resize: (1080, 1632) 1346335198 -6.313674091436113 treat image : temp/1742615846_3666536_1346335195_b52c2a0ec7d1b9803fdc6afa6ddab48c.jpg resize: (1080, 1632) 1346335195 -4.937968764130412 treat image : temp/1742615846_3666536_1346335192_6fb4117fea93045bc986cb2343354377.jpg resize: (1080, 1632) 1346335192 -6.031198361070113 treat image : temp/1742615846_3666536_1346335116_3b9930d5bb45418046f33b6cf5a99109.jpg resize: (1080, 1632) 1346335116 -5.659603270037756 treat image : temp/1742615846_3666536_1346335114_b5f8d32ff5f8528a80493b91cae7d7d2.jpg resize: (1080, 1632) 1346335114 -5.659603270037756 treat image : temp/1742615846_3666536_1346335112_0ddc82eb989c97fc84548db72922add8.jpg resize: (1080, 1632) 1346335112 -6.277820980566463 treat image : temp/1742615846_3666536_1346335110_363af645faf15278456ec05eb080d771.jpg resize: (1080, 1632) 1346335110 -6.277820980566463 treat image : temp/1742615846_3666536_1346334911_e1649fec7e550182f6a3c2caeca64014.jpg resize: (1080, 1632) 1346334911 -5.837912751894421 treat image : temp/1742615846_3666536_1346334907_cbae27e9d6da10dad2b21d3d2773e0b7.jpg resize: (1080, 1632) 1346334907 -6.32849177725688 treat image : temp/1742615846_3666536_1346333729_711616e4f7dd43549a92d1a2556a2cae.jpg resize: (1080, 1632) 1346333729 -6.397847381588443 treat image : temp/1742615846_3666536_1346333725_bd3213cc0f92782061ee513cfa38b9cf.jpg resize: (1080, 1632) 1346333725 -6.419087142004565 treat image : temp/1742615846_3666536_1346333721_3a9a74ce3f3f936b462b456a2ea3df18.jpg resize: (1080, 1632) 1346333721 -5.860910229953775 treat image : temp/1742615846_3666536_1346333715_8e0b4b6753f346989274829b09e0236b.jpg resize: (1080, 1632) 1346333715 -5.034430541805497 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.013682842254638672 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.013904809951782227 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.02000141143798828 save missing photos in datou_result : time spend for datou_step_exec : 14.21962285041809 time spend to save output : 0.0523381233215332 total time spend for step 1 : 14.271960973739624 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.78user 3.04system 0:18.75elapsed 89%CPU (0avgtext+0avgdata 139776maxresident)k 104inputs+11528outputs (25major+211508minor)pagefaults 0swaps