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 : 1515281 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 : 246>100 please execute split_portfolio.py -i 22940775 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2844070'] with mtr_portfolio_ids : ['22940775'] and first list_photo_ids : [] new path : /proc/1515281/ 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.2973225116729736 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 Wed May 14 06:07:28 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/1747195646_1515281_1358094386_54df5715c47b354e3b9a3082882a016c.jpg resize: (1080, 1632) 1358094386 -5.979406003031924 treat image : temp/1747195646_1515281_1358094383_0e0b0b54775bbbc4693e677ea9d32932.jpg resize: (1080, 1632) 1358094383 -6.120811122818907 treat image : temp/1747195646_1515281_1358094381_51f1fb8192b47d86c936a9e54589aef5.jpg resize: (1080, 1632) 1358094381 -4.1021971564178354 treat image : temp/1747195646_1515281_1358094371_0d46a4e54620de7f5115fff0a70e65df.jpg resize: (1080, 1632) 1358094371 -4.953848557542265 treat image : temp/1747195646_1515281_1358094285_7112bf706d52b2e7226fb3b16f1fae6c.jpg resize: (1080, 1632) 1358094285 -2.3753412782726238 treat image : temp/1747195646_1515281_1358094283_efa2fa0ebcf5f1cfaba4118d64e7d150.jpg resize: (1080, 1632) 1358094283 -1.5907627878309964 treat image : temp/1747195646_1515281_1358094277_a08caf4a06e6eaeb3d5d5fae199a9007.jpg resize: (1080, 1632) 1358094277 -3.2780918236594205 treat image : temp/1747195646_1515281_1358094255_2d41e01134f28d428ec4e1f69180e780.jpg resize: (1080, 1632) 1358094255 -6.176928672266424 treat image : temp/1747195646_1515281_1358094252_18313cbbaa3f022ece49f7a5d2bafbbf.jpg resize: (1080, 1632) 1358094252 -3.747548890516417 treat image : temp/1747195646_1515281_1358094250_b2affe502f211caae2337b1e50ac881b.jpg resize: (1080, 1632) 1358094250 -5.368683752263442 treat image : temp/1747195646_1515281_1358094249_306b7c03a902ccbc9f7a146e848c8d5e.jpg resize: (1080, 1632) 1358094249 -5.846849705549838 treat image : temp/1747195646_1515281_1358094247_cafa97e5802ab505dd3892d7b3e46a3c.jpg resize: (1080, 1632) 1358094247 -4.360501608411033 treat image : temp/1747195646_1515281_1358094244_266e097224259b1f3efc6625f6b945dd.jpg resize: (1080, 1632) 1358094244 -0.33453109223936517 treat image : temp/1747195646_1515281_1358093780_bde9944d62fe29b80dbcf76ffe8a08dd.jpg resize: (1080, 1632) 1358093780 -5.8846066764097085 treat image : temp/1747195646_1515281_1358093778_c441fdd1b5aa3aeb183ac961e53479e3.jpg resize: (1080, 1632) 1358093778 -5.795644848745298 treat image : temp/1747195646_1515281_1358093775_ad48b06bddbc0d0e69026abd87e3a660.jpg resize: (1080, 1632) 1358093775 -5.198846373858555 treat image : temp/1747195646_1515281_1358093770_af95c048a59043d3c6351b04aa09dd09.jpg resize: (1080, 1632) 1358093770 -5.871106368839134 treat image : temp/1747195646_1515281_1358093767_b3c9f1085c8cb3fc0cba1ae56614019b.jpg resize: (1080, 1632) 1358093767 -3.2327230570039833 treat image : temp/1747195646_1515281_1358093766_1fef4cdcad8b9676801a2d9a05d7d547.jpg resize: (1080, 1632) 1358093766 -5.412575038423722 treat image : temp/1747195646_1515281_1358093646_484e1fc143bc4feb8e82eb9d9b2cf2dc.jpg resize: (1080, 1632) 1358093646 -5.434886649506966 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.012645721435546875 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.11504149436950684 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01900625228881836 save missing photos in datou_result : time spend for datou_step_exec : 15.348623514175415 time spend to save output : 0.15183711051940918 total time spend for step 1 : 15.500460624694824 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.26user 3.70system 0:19.12elapsed 93%CPU (0avgtext+0avgdata 141272maxresident)k 24inputs+10200outputs (5major+260439minor)pagefaults 0swaps