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 : 4136425 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 updating current state to 1 we have a portfolio with more photos than limit : 1674>100 please execute split_portfolio.py -i 26381712 -l 100 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4871, datou_cur_ids : ['3643956'] with mtr_portfolio_ids : ['26381712'] and first list_photo_ids : [] new path : /proc/4136425/ 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.4298129081726074 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 Mon Sep 1 15:47:31 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/1756734449_4136425_1380643321_460a531b3d207b702849fa2a26204cae_725437.jpg resize: (1080, 1632) 1380643321 -3.5199218655620284 treat image : temp/1756734449_4136425_1380643318_f5f86f177bde4dfce79b748b89e05036_62797153.jpg resize: (1080, 1632) 1380643318 -4.811403879412389 treat image : temp/1756734449_4136425_1380643315_1cae1682140838ce33700c9ce00c2143_35770036.jpg resize: (1080, 1632) 1380643315 -5.254439136084529 treat image : temp/1756734449_4136425_1380643312_405c8ed6d36405708de3cdfb445074a5_65455190.jpg resize: (1080, 1632) 1380643312 -4.961411836408362 treat image : temp/1756734449_4136425_1380643267_f290120457192f2405328eaaad25bd56_10501256.jpg resize: (1080, 1632) 1380643267 -4.968721704384434 treat image : temp/1756734449_4136425_1380643265_7dda781855784bb65e60ccbc2cb229a2_9167265.jpg resize: (1080, 1632) 1380643265 -5.4168133852179245 treat image : temp/1756734449_4136425_1380643264_632bcaee73525c99843410eadc4c7f0e_1532054.jpg resize: (1080, 1632) 1380643264 -4.335096245409388 treat image : temp/1756734449_4136425_1380643263_888f6db988c2ebbef7740faea194920c_28033571.jpg resize: (1080, 1632) 1380643263 -5.1830397457556145 treat image : temp/1756734449_4136425_1380643262_3ce2539ffa808989dbd17d2632465542_46790397.jpg resize: (1080, 1632) 1380643262 -5.018263276532764 treat image : temp/1756734449_4136425_1380643261_14c96c279edecaec31725db0c5007b22_41796134.jpg resize: (1080, 1632) 1380643261 -3.8620199051139417 treat image : temp/1756734449_4136425_1380643151_460a531b3d207b702849fa2a26204cae_76908237.jpg resize: (1080, 1632) 1380643151 -3.5199218655620284 treat image : temp/1756734449_4136425_1380643150_f5f86f177bde4dfce79b748b89e05036_52253407.jpg resize: (1080, 1632) 1380643150 -4.811403879412389 treat image : temp/1756734449_4136425_1380643149_1cae1682140838ce33700c9ce00c2143_29164776.jpg resize: (1080, 1632) 1380643149 -5.254439136084529 treat image : temp/1756734449_4136425_1380643148_405c8ed6d36405708de3cdfb445074a5_24572051.jpg resize: (1080, 1632) 1380643148 -4.961411836408362 treat image : temp/1756734449_4136425_1380643147_f290120457192f2405328eaaad25bd56_60655648.jpg resize: (1080, 1632) 1380643147 -4.968721704384434 treat image : temp/1756734449_4136425_1380642957_517a144dd5373938cb868edd66c1f09b_91593384.jpg resize: (1080, 1632) 1380642957 -3.33689957631262 treat image : temp/1756734449_4136425_1380642956_aa9e474b410502436c23b2c41dd39e27_42920312.jpg resize: (1080, 1632) 1380642956 -4.60100302886566 treat image : temp/1756734449_4136425_1380642955_f8a2ce865d512891789c6374c4693101_51543924.jpg resize: (1080, 1632) 1380642955 -4.718106586595965 treat image : temp/1756734449_4136425_1380642954_76fc7244ed81a54385573b74084a4bf0_98295184.jpg resize: (1080, 1632) 1380642954 -5.35294241446827 treat image : temp/1756734449_4136425_1380642953_60396589da57e0eaf8dededcb46dd0fd_35567157.jpg resize: (1080, 1632) 1380642953 -5.646540946002194 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.01269984245300293 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.01197957992553711 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014792919158935547 save missing photos in datou_result : time spend for datou_step_exec : 14.573312997817993 time spend to save output : 0.04456973075866699 total time spend for step 1 : 14.61788272857666 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.01user 3.13system 0:20.57elapsed 83%CPU (0avgtext+0avgdata 139572maxresident)k 176inputs+9848outputs (19major+256430minor)pagefaults 0swaps