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 : 410287 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 : 4953>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/410287/ 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.7311618328094482 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 14: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/1752756449_410287_1372417759_a7f9015cb8add8ad09b658d876afe41a.jpg resize: (1080, 1632) 1372417759 -4.894838344353109 treat image : temp/1752756449_410287_1372417735_cd38825c062557c427b51723620a7e46.jpg resize: (1080, 1632) 1372417735 -4.9091670282845925 treat image : temp/1752756449_410287_1372417709_238c22730b05015f108fc44da371bb45.jpg resize: (1080, 1632) 1372417709 -4.404579347959194 treat image : temp/1752756449_410287_1372417667_81f9f69fe373f0e6dc6e8059b4402fc3.jpg resize: (1080, 1632) 1372417667 -5.481997387542393 treat image : temp/1752756449_410287_1372417634_01c155a3649e40df762d958f11197462.jpg resize: (1080, 1632) 1372417634 -5.477838833352126 treat image : temp/1752756449_410287_1372417576_e0da243aec3c213ba0485da751cf9fb2.jpg resize: (1080, 1632) 1372417576 -5.421433423330054 treat image : temp/1752756449_410287_1372417335_8fb4433d836adc1c8293ed1674020806.jpg resize: (1080, 1632) 1372417335 -3.2770914573247434 treat image : temp/1752756449_410287_1372417298_91976f3e917e0301f04d527a206df528.jpg resize: (1080, 1632) 1372417298 -5.119036294013649 treat image : temp/1752756449_410287_1372417275_10a44922e55a9bfdef62f8cc3624bf18.jpg resize: (1080, 1632) 1372417275 -4.84614646390234 treat image : temp/1752756449_410287_1372417252_bf986ef8ed4c407a473c56b85b8349e5.jpg resize: (1080, 1632) 1372417252 -5.521507928309293 treat image : temp/1752756449_410287_1372417230_9ed03ae5599c8445e6beeabad8db539d.jpg resize: (1080, 1632) 1372417230 -5.518973432723168 treat image : temp/1752756449_410287_1372417208_bb5c891e312453d048cdea65246ba8b7.jpg resize: (1080, 1632) 1372417208 -3.6079397145351524 treat image : temp/1752756449_410287_1372341385_70498a7991fd2e01d90a73b557e901a0.jpg resize: (1080, 1632) 1372341385 -5.978278573162433 treat image : temp/1752756449_410287_1372341384_0f4f6e52dbbcd8d2b80811c809eef7db.jpg resize: (1080, 1632) 1372341384 -5.9866397737806105 treat image : temp/1752756449_410287_1372341383_691bc4e779d0c933ddcb24ee43036f80.jpg resize: (1080, 1632) 1372341383 -5.988854798251897 treat image : temp/1752756449_410287_1372341381_36c7047740e101fbbe968eeaf0d27126.jpg resize: (1080, 1632) 1372341381 -5.9842416196528765 treat image : temp/1752756449_410287_1372341378_d6d9bd6e74acafbcfaa60c94038a062a.jpg resize: (1080, 1632) 1372341378 -4.967227943038804 treat image : temp/1752756449_410287_1372341375_a21abe454533454a673be7cac90d97bd.jpg resize: (1080, 1632) 1372341375 -4.94658271080609 treat image : temp/1752756449_410287_1372341351_a0a24adf17dce269bd84d2a1723a6c70.jpg resize: (1080, 1632) 1372341351 -5.580656219366475 treat image : temp/1752756449_410287_1372341348_df22be6c73a4fc06782bd78db8e03c72.jpg resize: (1080, 1632) 1372341348 -5.764400324940716 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.02690410614013672 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.024838924407958984 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 7.55414080619812 save missing photos in datou_result : time spend for datou_step_exec : 17.63043212890625 time spend to save output : 7.6158223152160645 total time spend for step 1 : 25.246254444122314 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.31user 5.83system 0:31.07elapsed 64%CPU (0avgtext+0avgdata 140392maxresident)k 48inputs+10008outputs (1major+259123minor)pagefaults 0swaps