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 : 3780015 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 : 5723>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/3780015/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBHTTP Error 404: Not Found can't download the photo : 1371591428 complete_path : /home/admin/workarea/git/Velours/python/temp/1752245547_3780015_1371591428_3f674cf24cb965e2989e14009e7a3096.jpg FBHTTP Error 404: Not Found can't download the photo : 1371591369 complete_path : /home/admin/workarea/git/Velours/python/temp/1752245547_3780015_1371591369_09a22835fd14fb3a4762c365ec9c3ab7.jpg FBHTTP Error 404: Not Found can't download the photo : 1371591351 complete_path : /home/admin/workarea/git/Velours/python/temp/1752245547_3780015_1371591351_a662fdda832f71c1cfa7ef0a54e0d214.jpg FBFwe have missing 3 photos in the step downloads : photo missing : [1371591428, 1371591369, 1371591351] try to delete the photos missing in DB Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371591428 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371591369 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371591351 length of list_filenames : 17 ; length of list_pids : 17 ; length of list_args : 17 time to download the photos : 3.161221504211426 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 Fri Jul 11 16:52: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/1752245547_3780015_1371610624_02b49e5e88a7d0f1dc9b02706446e975.jpg resize: (1080, 1632) 1371610624 -1.9871571538026447 treat image : temp/1752245547_3780015_1371610620_1fe2e229c11696339794bc95dac7cfee.jpg resize: (1080, 1632) 1371610620 -2.0455248175750596 treat image : temp/1752245547_3780015_1371610616_55042993f184854428e60f345389dc3e.jpg resize: (1080, 1632) 1371610616 -2.617205132321909 treat image : temp/1752245547_3780015_1371610610_f9c648d8680a9915fda54cb73520aca4.jpg resize: (1080, 1632) 1371610610 -3.194185793572922 treat image : temp/1752245547_3780015_1371610606_27ef686eee0a68ff046b239b0f5891f5.jpg resize: (1080, 1632) 1371610606 -3.1730227695581235 treat image : temp/1752245547_3780015_1371610602_e469096822f874917c8b6d4dedbb6c58.jpg resize: (1080, 1632) 1371610602 -5.536406395127537 treat image : temp/1752245547_3780015_1371610590_212d0fd728f98469d50cc4372e358682.jpg resize: (1080, 1632) 1371610590 -4.529809059010761 treat image : temp/1752245547_3780015_1371610581_907b3a05b2b6201a76262ab584fe63f1.jpg resize: (1080, 1632) 1371610581 -4.9478778045007425 treat image : temp/1752245547_3780015_1371610575_71088bf4109a6a5053d0a59b8345235a.jpg resize: (1080, 1632) 1371610575 -5.18925709535039 treat image : temp/1752245547_3780015_1371610560_de2b9872fdb1616bf89059d7f8df006d.jpg resize: (1080, 1632) 1371610560 -5.179691834472186 treat image : temp/1752245547_3780015_1371610536_24e001714e12d10212f4e8dc9cf485ec.jpg resize: (1080, 1632) 1371610536 -1.6980602942287768 treat image : temp/1752245547_3780015_1371610515_6949b60f4432ec949ef35fb2d229e4b1.jpg resize: (1080, 1632) 1371610515 -1.024575172634109 treat image : temp/1752245547_3780015_1371610376_b1d5b89a07dd1bb8684ba381d21031a8.jpg resize: (1080, 1632) 1371610376 -5.200600462133846 treat image : temp/1752245547_3780015_1371610367_db5ab260f8f3f16a5a31e99665c467d6.jpg resize: (1080, 1632) 1371610367 -5.202888679819776 treat image : temp/1752245547_3780015_1371610358_2afa50e29af7293922ecc710d3874ac4.jpg resize: (1080, 1632) 1371610358 -5.203187232316885 treat image : temp/1752245547_3780015_1371610354_317f02884377bc5dbf4f0bf83fa95ddf.jpg resize: (1080, 1632) 1371610354 -5.212546424306862 treat image : temp/1752245547_3780015_1371591340_ffa39c8b2ec36201f20e50b6e30faf8d.jpg resize: (1080, 1632) 1371591340 -5.176322754690359 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 : 17 time used for this insertion : 0.011916160583496094 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 17 time used for this insertion : 0.011829137802124023 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 17 time used for this insertion : 0.014302968978881836 save missing photos in datou_result : begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 time used for this insertion : 0.01257777214050293 time spend for datou_step_exec : 13.243132829666138 time spend to save output : 0.05551028251647949 total time spend for step 1 : 13.298643112182617 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 12.86user 3.08system 0:18.38elapsed 86%CPU (0avgtext+0avgdata 139288maxresident)k 80inputs+7488outputs (1major+202223minor)pagefaults 0swaps