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 : 2650811 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/2650811/ 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.030524492263794 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 18 05:12: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/1752808347_2650811_1372326777_efc96dd473dc0e7f37c05e7e90a15bc8.jpg resize: (1080, 1632) 1372326777 -2.5114204590886953 treat image : temp/1752808347_2650811_1372326773_6649f2db7240284ef4031d4e356d8257.jpg resize: (1080, 1632) 1372326773 -2.876232837093364 treat image : temp/1752808347_2650811_1372326771_72759b77702c1a0ce2a0ad0a9a28be49.jpg resize: (1080, 1632) 1372326771 -1.3222364968615028 treat image : temp/1752808347_2650811_1372326769_51123cf645d67d7e4ca1c386f3e0dbcd.jpg resize: (1080, 1632) 1372326769 -4.414538418987037 treat image : temp/1752808347_2650811_1372326766_c828d0af060e8958d57fd56e59e3eed3.jpg resize: (1080, 1632) 1372326766 -4.809557654787948 treat image : temp/1752808347_2650811_1372326742_5e2ade8b8d72dced44e197478c88ac1d.jpg resize: (1080, 1632) 1372326742 -3.5492185501315587 treat image : temp/1752808347_2650811_1372326740_5b31ae7c23fb642e903df9fee715f9a5.jpg resize: (1080, 1632) 1372326740 -3.556462149011761 treat image : temp/1752808347_2650811_1372326739_156468b2f0f25e94d4fd0f902a8731c8.jpg resize: (1080, 1632) 1372326739 -3.60192992697774 treat image : temp/1752808347_2650811_1372326737_b85d202efeae5e0107d55e96a413c6ad.jpg resize: (1080, 1632) 1372326737 -4.336609265458453 treat image : temp/1752808347_2650811_1372326736_003d19b383ceebc469fb65c5fc57c15f.jpg resize: (1080, 1632) 1372326736 -3.602899180016519 treat image : temp/1752808347_2650811_1372326734_79183e3d7b53e48352147994de0f8448.jpg resize: (1080, 1632) 1372326734 -1.9497299543909257 treat image : temp/1752808347_2650811_1372326714_6ec3877d996cd622e30f9980233b5d1f.jpg resize: (1080, 1632) 1372326714 -3.6416527401456698 treat image : temp/1752808347_2650811_1372326712_3480ad50c40617f26f87af0c023bd6e4.jpg resize: (1080, 1632) 1372326712 -3.5913987597669967 treat image : temp/1752808347_2650811_1372326710_4c1a2545d4df2cd158c308384f11b096.jpg resize: (1080, 1632) 1372326710 -3.5725390243981554 treat image : temp/1752808347_2650811_1372326708_9d3ebf2e5228456dda26d0ac337dce0b.jpg resize: (1080, 1632) 1372326708 -3.5607106509597752 treat image : temp/1752808347_2650811_1372326707_4fce157f3ecf61a89c66f1830e8ad5e6.jpg resize: (1080, 1632) 1372326707 -3.5597337261413213 treat image : temp/1752808347_2650811_1372326674_7d4b223b7c40ce75b05cd7120c90240d.jpg resize: (1080, 1632) 1372326674 -4.481315256189132 treat image : temp/1752808347_2650811_1372326640_f2b746375415f328dcb27df4178f40ad.jpg resize: (1080, 1632) 1372326640 -5.7834104158671344 treat image : temp/1752808347_2650811_1372326637_e49cb3e519a69dc70ba7320d49e848b0.jpg resize: (1080, 1632) 1372326637 -3.5813154257835795 treat image : temp/1752808347_2650811_1372326634_88e278ba216cbca963dff70028bc0175.jpg resize: (1080, 1632) 1372326634 -4.791330040189815 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.012760639190673828 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.014857769012451172 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015934467315673828 save missing photos in datou_result : time spend for datou_step_exec : 17.80484914779663 time spend to save output : 0.04877758026123047 total time spend for step 1 : 17.85362672805786 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.05user 5.93system 0:24.20elapsed 82%CPU (0avgtext+0avgdata 137836maxresident)k 152inputs+7872outputs (16major+258109minor)pagefaults 0swaps