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 : 3698656 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 : 5417>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/3698656/ 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.3700406551361084 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 Jul 11 16:22:32 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/1752243750_3698656_1371606178_6f1d3154fd054b960caffcdc1cc7b228.jpg resize: (1080, 1632) 1371606178 -4.561542616989734 treat image : temp/1752243750_3698656_1371606173_0e1cbe30a27779d9b9cf7dc3e2639a7d.jpg resize: (1080, 1632) 1371606173 -5.042025058869921 treat image : temp/1752243750_3698656_1371606168_26fadce2910dc12ad338a7b86bc93ba4.jpg resize: (1080, 1632) 1371606168 -5.049401698994555 treat image : temp/1752243750_3698656_1371606166_5f5ab731a12ee45760874d07314da1f5.jpg resize: (1080, 1632) 1371606166 -5.028879824371961 treat image : temp/1752243750_3698656_1371606160_8fbb641336fec9046968a56dd669d82b.jpg resize: (1080, 1632) 1371606160 -1.3802255963267496 treat image : temp/1752243750_3698656_1371606157_2d5231f4f7edc0b98d5c6dc7da29385a.jpg resize: (1080, 1632) 1371606157 -2.4031317536279118 treat image : temp/1752243750_3698656_1371606145_0516b48ebeeb953ce8e68be5de938d44.jpg resize: (1080, 1632) 1371606145 -5.148026263897183 treat image : temp/1752243750_3698656_1371606140_5e2356b3068dc8dc76dd695ab690be7e.jpg resize: (1080, 1632) 1371606140 -5.130803983637937 treat image : temp/1752243750_3698656_1371606134_64505f1a52daf608985ccd76e0f45f18.jpg resize: (1080, 1632) 1371606134 -5.1306272415090355 treat image : temp/1752243750_3698656_1371606129_1d2a38d71b4512658e6f9eeb569360cd.jpg resize: (1080, 1632) 1371606129 -5.139718723241302 treat image : temp/1752243750_3698656_1371606126_8834656682c2542666cc98d51cd88009.jpg resize: (1080, 1632) 1371606126 -5.143827560164201 treat image : temp/1752243750_3698656_1371606111_9c30c9badf3483fbcfdb9a91331183db.jpg resize: (1080, 1632) 1371606111 -5.131300545977978 treat image : temp/1752243750_3698656_1371605310_98a60bbf65d87573ef63e180f0648ca9.jpg resize: (1080, 1632) 1371605310 -5.161950903978807 treat image : temp/1752243750_3698656_1371605259_d0fee8febbb639c865e6ede21a8993a3.jpg resize: (1080, 1632) 1371605259 -5.156732106262638 treat image : temp/1752243750_3698656_1371605222_767cc1fa2770af30001e892ccdea459e.jpg resize: (1080, 1632) 1371605222 -5.159501356873467 treat image : temp/1752243750_3698656_1371605173_9dba1f32d10c503321fb93eabe635232.jpg resize: (1080, 1632) 1371605173 -5.157101918326626 treat image : temp/1752243750_3698656_1371604967_e0c783395056843883146c6cf0c20a2d.jpg resize: (1080, 1632) 1371604967 -4.168707328518635 treat image : temp/1752243750_3698656_1371604932_f8412e6f29e29d71eff292a69c095fd8.jpg resize: (1080, 1632) 1371604932 -5.523218975388867 treat image : temp/1752243750_3698656_1371604883_dc2c84e73c7f11aad44c717f52c73df2.jpg resize: (1080, 1632) 1371604883 -5.581863163143168 treat image : temp/1752243750_3698656_1371604827_4c01a1741092babb07065f8b0b3c6527.jpg resize: (1080, 1632) 1371604827 -5.421771912582753 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.013762950897216797 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.012115716934204102 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014812469482421875 save missing photos in datou_result : time spend for datou_step_exec : 16.391512870788574 time spend to save output : 0.045455217361450195 total time spend for step 1 : 16.436968088150024 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.30user 3.91system 0:22.98elapsed 79%CPU (0avgtext+0avgdata 140764maxresident)k 24inputs+9632outputs (9major+237447minor)pagefaults 0swaps