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 : 679512 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 : 5508>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/679512/ 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 : 3.069685697555542 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 17 16:27: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/1752762447_679512_1372460777_d4c7a21415884d1ef230b4600532e0cf.jpg resize: (1080, 1632) 1372460777 -1.7859447824218806 treat image : temp/1752762447_679512_1372338638_c5b0720b32284e62551d1f3414cf4667.jpg resize: (1080, 1632) 1372338638 -4.808694809633931 treat image : temp/1752762447_679512_1372338636_d018ac058933c254ee5aa8254637c8a6.jpg resize: (1080, 1632) 1372338636 -4.809628651441711 treat image : temp/1752762447_679512_1372338633_d6133d200cd1bd2eb028134eb66197ff.jpg resize: (1080, 1632) 1372338633 -4.810002504519252 treat image : temp/1752762447_679512_1372338632_5aaf3c5cfc7f82b7f031201d930ce5be.jpg resize: (1080, 1632) 1372338632 -4.805346997415309 treat image : temp/1752762447_679512_1372338630_ab059c425542f9abef00005e5fbee107.jpg resize: (1080, 1632) 1372338630 -4.808763851330084 treat image : temp/1752762447_679512_1372338628_5249f999560e6949b0df6f64a80df6c0.jpg resize: (1080, 1632) 1372338628 -4.808041534986187 treat image : temp/1752762447_679512_1372338607_1ab54a7f139dcf666a53d039b942710c.jpg resize: (1080, 1632) 1372338607 -4.8033555531002525 treat image : temp/1752762447_679512_1372338605_545ef62af31c8c4f0de22ff05cc0c1d9.jpg resize: (1080, 1632) 1372338605 -4.800959641655755 treat image : temp/1752762447_679512_1372338603_f0b565895ec017b80d0a6154dae05ce4.jpg resize: (1080, 1632) 1372338603 -4.803279490576005 treat image : temp/1752762447_679512_1372338600_f3ba0bfd8028d5aa4a8ed8e9506901a3.jpg resize: (1080, 1632) 1372338600 -4.809305171939349 treat image : temp/1752762447_679512_1372338597_9a0b8c0674c3264c6075e75606ae58a5.jpg resize: (1080, 1632) 1372338597 -4.803093894347939 treat image : temp/1752762447_679512_1372338596_b98e64a88c9130d0c17b638ba4f9ee03.jpg resize: (1080, 1632) 1372338596 -4.807057583204572 treat image : temp/1752762447_679512_1372338575_f8194de9fdf90aef72885428141ddc00.jpg resize: (1080, 1632) 1372338575 -4.801055953894449 treat image : temp/1752762447_679512_1372338572_a88147477d0bb376081dffb1beb44c8d.jpg resize: (1080, 1632) 1372338572 -4.80325181334944 treat image : temp/1752762447_679512_1372338570_a6c5972f64d20ae95211db9ad48dd7a1.jpg resize: (1080, 1632) 1372338570 -4.80737493674551 treat image : temp/1752762447_679512_1372338568_cf2d2296d1a7866eeb1b1932787ad7a5.jpg resize: (1080, 1632) 1372338568 -4.807716176142346 treat image : temp/1752762447_679512_1372338566_62446cf7c1301d3893714764b65d4bf9.jpg resize: (1080, 1632) 1372338566 -4.8066664892870525 treat image : temp/1752762447_679512_1372338564_7f33c313539876e9712e388cd115f25e.jpg resize: (1080, 1632) 1372338564 -4.803547330122891 treat image : temp/1752762447_679512_1372338535_f4a35b3db10f5eecfde524dc0d38605f.jpg resize: (1080, 1632) 1372338535 -4.800885403580112 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.03656911849975586 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.036579132080078125 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.03890681266784668 save missing photos in datou_result : time spend for datou_step_exec : 17.448864221572876 time spend to save output : 0.12825918197631836 total time spend for step 1 : 17.577123403549194 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.88user 4.80system 0:23.58elapsed 83%CPU (0avgtext+0avgdata 137700maxresident)k 72inputs+9000outputs (10major+250811minor)pagefaults 0swaps