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 : 3682339 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 : 2705>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/3682339/ 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.531919002532959 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 Tue May 13 17: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/1747151248_3682339_1357869484_66415c880006ed94ab0d99e6a5d373a1.jpg resize: (1080, 1632) 1357869484 -5.58138988361061 treat image : temp/1747151248_3682339_1357863178_6399462327b73ac18a3434218131e824.jpg resize: (1080, 1632) 1357863178 -2.2026525887921142 treat image : temp/1747151248_3682339_1357863175_648f55685297e7d3d362c947094eb977.jpg resize: (1080, 1632) 1357863175 -1.7028897941482997 treat image : temp/1747151248_3682339_1357863147_1bd3e660e058f308677d36e1f2a97abe.jpg resize: (1080, 1632) 1357863147 -3.540036630253728 treat image : temp/1747151248_3682339_1357863146_33ce92479139e12bc8581e3665bf0f76.jpg resize: (1080, 1632) 1357863146 -5.1738631030791025 treat image : temp/1747151248_3682339_1357863144_b74116ceec0691902af21530a08bb1dd.jpg resize: (1080, 1632) 1357863144 -6.044046129993541 treat image : temp/1747151248_3682339_1357863142_8c8f92cad1b6417a7db46bbf57157803.jpg resize: (1080, 1632) 1357863142 -5.072893800029229 treat image : temp/1747151248_3682339_1357863140_3208cffd92c47afa4d87ff05f5066784.jpg resize: (1080, 1632) 1357863140 -5.258908382670951 treat image : temp/1747151248_3682339_1357863137_9acc43f96e1eda3b426d30b7f9d7d262.jpg resize: (1080, 1632) 1357863137 -6.058811319523984 treat image : temp/1747151248_3682339_1357862883_173a8339ebc50171a935f8156fafc406.jpg resize: (1080, 1632) 1357862883 -0.597846499129944 treat image : temp/1747151248_3682339_1357862879_93d338cfe32ac6e119c0e5f654bce1c2.jpg resize: (1080, 1632) 1357862879 -1.9917697818671605 treat image : temp/1747151248_3682339_1357862875_804938385a9aed17ee3569c0be349086.jpg resize: (1080, 1632) 1357862875 -3.21299973530079 treat image : temp/1747151248_3682339_1357862872_f257c12cfa8f01ec649ff1f9dff34d1b.jpg resize: (1080, 1632) 1357862872 -4.338421255771854 treat image : temp/1747151248_3682339_1357862841_16f1fe5ad1ef38bf26b4606e8946d71d.jpg resize: (1080, 1632) 1357862841 -3.5102018212411257 treat image : temp/1747151248_3682339_1357862837_90dc69f9e2e5649ed5a679529bf0ace4.jpg resize: (1080, 1632) 1357862837 -5.821059864317073 treat image : temp/1747151248_3682339_1357862834_be7fa7e4c90899c9eaa4328ac6860871.jpg resize: (1080, 1632) 1357862834 -5.2917672040624755 treat image : temp/1747151248_3682339_1357862831_cec2da22e8aa5b26a9342917e356ad74.jpg resize: (1080, 1632) 1357862831 -5.113101527321268 treat image : temp/1747151248_3682339_1357862828_1d4e23eb7529919ae81110d9cdd9de7b.jpg resize: (1080, 1632) 1357862828 -4.323235780822422 treat image : temp/1747151248_3682339_1357862795_8f3f4dfe4398f2925328bf55a329e153.jpg resize: (1080, 1632) 1357862795 -5.236064267055472 treat image : temp/1747151248_3682339_1357862791_2bae325b7163557585bbb31c6ec422f8.jpg resize: (1080, 1632) 1357862791 -5.981809446336383 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.013779878616333008 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.015008926391601562 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015903711318969727 save missing photos in datou_result : time spend for datou_step_exec : 17.509546518325806 time spend to save output : 0.049895286560058594 total time spend for step 1 : 17.559441804885864 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.80user 5.42system 0:22.84elapsed 88%CPU (0avgtext+0avgdata 139764maxresident)k 2408inputs+9680outputs (31major+251617minor)pagefaults 0swaps