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 : 1572834 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 : 3840>100 please execute split_portfolio.py -i 24493811 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3224247'] with mtr_portfolio_ids : ['24493811'] and first list_photo_ids : [] new path : /proc/1572834/ 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.7092976570129395 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 Jul 2 18:27:32 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/1751473649_1572834_1369997179_6e01162d60057e33e575ccd69f65ea6d.jpg resize: (1080, 1632) 1369997179 -5.451162874180675 treat image : temp/1751473649_1572834_1369997168_21aab8406d83195dd57ead325784fece.jpg resize: (1080, 1632) 1369997168 -5.384439233709512 treat image : temp/1751473649_1572834_1369997161_0da36a333b9f2536fa4e1b81aafa092e.jpg resize: (1080, 1632) 1369997161 -5.473224632140418 treat image : temp/1751473649_1572834_1369997141_e9a4aa7696d30fb50be3aec1683ab689.jpg resize: (1080, 1632) 1369997141 -6.463463271596443 treat image : temp/1751473649_1572834_1369997102_d2debfdeddba7312a8f6071abd217de3.jpg resize: (1080, 1632) 1369997102 -6.476995947914482 treat image : temp/1751473649_1572834_1369997093_47ab626113b045fbb9a3e01ce50cba68.jpg resize: (1080, 1632) 1369997093 -6.488279633399761 treat image : temp/1751473649_1572834_1369996416_751022b2eb32403169a4cef13ad63d9b.jpg resize: (1080, 1632) 1369996416 -6.485021291547497 treat image : temp/1751473649_1572834_1369996412_68e6f853618ddfa74ddee5d02ce6624d.jpg resize: (1080, 1632) 1369996412 -6.475466576151303 treat image : temp/1751473649_1572834_1369996409_54c9bb8975100d90352c20d7dd3bbf88.jpg resize: (1080, 1632) 1369996409 -6.472618731674618 treat image : temp/1751473649_1572834_1369996393_641a93d69665283292482fe1cd3e4b55.jpg resize: (1080, 1632) 1369996393 -6.191859810386552 treat image : temp/1751473649_1572834_1369904341_fe0210bd92995c53a68335b9c136cbf8.jpg resize: (1080, 1632) 1369904341 -5.100634141276279 treat image : temp/1751473649_1572834_1369904294_2db4e26fb752ad231a39db43ff50d623.jpg resize: (1080, 1632) 1369904294 -5.10448790999859 treat image : temp/1751473649_1572834_1369900489_1a0e6854721528371f3681a06ee8b1c6.jpg resize: (1080, 1632) 1369900489 -5.180628837297421 treat image : temp/1751473649_1572834_1369900455_9a4b03cd17d739be414e7f41f721cfe8.jpg resize: (1080, 1632) 1369900455 -5.179372168048587 treat image : temp/1751473649_1572834_1369900256_c10a79ca217ad237afae7af84f666a5b.jpg resize: (1080, 1632) 1369900256 -5.177358325203179 treat image : temp/1751473649_1572834_1369900244_137804cec9a64b62fe6aa4fdb9ba41e4.jpg resize: (1080, 1632) 1369900244 -5.174252284498259 treat image : temp/1751473649_1572834_1369900210_ffebbb21deb104e97f5ab7c62ff3d6ff.jpg resize: (1080, 1632) 1369900210 -5.167511894448815 treat image : temp/1751473649_1572834_1369900175_b9a3088b48f418fffd0ee45c9805b57e.jpg resize: (1080, 1632) 1369900175 -5.164944917800676 treat image : temp/1751473649_1572834_1369900154_f2cfc8cada09ac5f245fe427698436c4.jpg resize: (1080, 1632) 1369900154 -5.174694949473342 treat image : temp/1751473649_1572834_1369900146_c12632763c5233b95d9335b18f900a9b.jpg resize: (1080, 1632) 1369900146 -5.182446935835401 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.011914968490600586 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.012840747833251953 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.020974159240722656 save missing photos in datou_result : time spend for datou_step_exec : 16.803659439086914 time spend to save output : 0.05069589614868164 total time spend for step 1 : 16.854355335235596 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.01user 4.33system 0:23.41elapsed 82%CPU (0avgtext+0avgdata 138296maxresident)k 136inputs+10928outputs (0major+258754minor)pagefaults 0swaps