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 : 4161904 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 : 3703>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/4161904/ 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.5695345401763916 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 11:07: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/1752743248_4161904_1372389576_ce134c67d05cb12009b62f049081e182.jpg resize: (1080, 1632) 1372389576 -5.2792218035832015 treat image : temp/1752743248_4161904_1372389565_8e112709fc21d881fa9b467076ca7466.jpg resize: (1080, 1632) 1372389565 -5.366023393374199 treat image : temp/1752743248_4161904_1372389541_2f8f3d54794da1f44b427a65577738e7.jpg resize: (1080, 1632) 1372389541 -5.380634683976964 treat image : temp/1752743248_4161904_1372389528_c5e2fe241a01adea32194c1aa80fc20c.jpg resize: (1080, 1632) 1372389528 -5.403500805545467 treat image : temp/1752743248_4161904_1372389510_715847e66cd10ca7bbbd3b0d58f57988.jpg resize: (1080, 1632) 1372389510 -5.402106013418538 treat image : temp/1752743248_4161904_1372389499_2964e5dd7b3a30368e8ed1c4d041a7fd.jpg resize: (1080, 1632) 1372389499 -5.395558689887957 treat image : temp/1752743248_4161904_1372347315_24dbec2b8cb2cd5ee52fc363d55bafd6.jpg resize: (1080, 1632) 1372347315 -5.167654775163934 treat image : temp/1752743248_4161904_1372347294_b8ff24e41c70deaa76a12c5e7f766b14.jpg resize: (1080, 1632) 1372347294 -5.294174328103022 treat image : temp/1752743248_4161904_1372347290_a5e6d7c27ba9aa32edfe3f77269ba83a.jpg resize: (1080, 1632) 1372347290 -4.3553913665675505 treat image : temp/1752743248_4161904_1372347286_cee30b9737dd371426d2840b436137fc.jpg resize: (1080, 1632) 1372347286 -4.3640167391963995 treat image : temp/1752743248_4161904_1372347283_1127ca9d1c9f9f69889dd2fa3540520b.jpg resize: (1080, 1632) 1372347283 -0.9226895853898172 treat image : temp/1752743248_4161904_1372347279_043c0cb2802c36106deeaf2dea9d3887.jpg resize: (1080, 1632) 1372347279 -2.7790822626250966 treat image : temp/1752743248_4161904_1372347277_aa69adcde881fd9ab200e88cfc3d980d.jpg resize: (1080, 1632) 1372347277 -3.2934867560261294 treat image : temp/1752743248_4161904_1372347263_59adf11b7f34a154f3861866d5febc5d.jpg resize: (1080, 1632) 1372347263 -5.061590615603446 treat image : temp/1752743248_4161904_1372347260_51b6921bdc87d80f6da1ab2c8c3a85aa.jpg resize: (1080, 1632) 1372347260 -5.083654856688039 treat image : temp/1752743248_4161904_1372347257_3c6ba4e1f737e622c7b9e14481630fb6.jpg resize: (1080, 1632) 1372347257 -4.952534160285818 treat image : temp/1752743248_4161904_1372347255_9107bd158ce7ce8b6603d914d8cb9889.jpg resize: (1080, 1632) 1372347255 -5.71011668334102 treat image : temp/1752743248_4161904_1372347252_13bab7edcb753be9d38384a9a7548d8a.jpg resize: (1080, 1632) 1372347252 -3.534918508540958 treat image : temp/1752743248_4161904_1372347250_e6c4e4ca307925c60d607cf406aba9e1.jpg resize: (1080, 1632) 1372347250 -5.381412230445933 treat image : temp/1752743248_4161904_1372347225_3627754c3c6bffe564544d6ade020bec.jpg resize: (1080, 1632) 1372347225 -4.456965859471706 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.02799844741821289 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.0322575569152832 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.024164915084838867 save missing photos in datou_result : time spend for datou_step_exec : 14.35197377204895 time spend to save output : 0.09485459327697754 total time spend for step 1 : 14.446828365325928 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.33user 2.52system 0:19.01elapsed 88%CPU (0avgtext+0avgdata 138624maxresident)k 0inputs+9520outputs (16major+260011minor)pagefaults 0swaps