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 : 839753 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 : 5861>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/839753/ 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.746229648590088 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 17:32: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/1752766350_839753_1372481562_d49928820cec2df7863013cb55e53e21.jpg resize: (1080, 1632) 1372481562 -5.496664648842681 treat image : temp/1752766350_839753_1372481553_64b00764c8f1951f0f5ecb8987f3d9b4.jpg resize: (1080, 1632) 1372481553 -5.506574052073959 treat image : temp/1752766350_839753_1372481546_6b6c70d65c19a08564c9e60798bb0346.jpg resize: (1080, 1632) 1372481546 -5.506852067156925 treat image : temp/1752766350_839753_1372481539_998ce7897bad338075d3460e6314f675.jpg resize: (1080, 1632) 1372481539 -5.508407086723823 treat image : temp/1752766350_839753_1372481525_fe58eb6de6df11457b49b77d60ee830f.jpg resize: (1080, 1632) 1372481525 -5.514972122931905 treat image : temp/1752766350_839753_1372481520_125da56f11a0147ea16bbc44ac5f0bd9.jpg resize: (1080, 1632) 1372481520 -5.517362864404043 treat image : temp/1752766350_839753_1372481278_ae8141e1d9f69e544388d6971f677495.jpg resize: (1080, 1632) 1372481278 -2.752868254587882 treat image : temp/1752766350_839753_1372481260_a6896f12dfcb2f914bf284213b802a55.jpg resize: (1080, 1632) 1372481260 -2.7768260851544873 treat image : temp/1752766350_839753_1372481240_96e23bb8192d8e27f20d8eec2f34b8c9.jpg resize: (1080, 1632) 1372481240 -2.7933743729283798 treat image : temp/1752766350_839753_1372481217_310f6b28f2e7eaecf38f35a78c76f297.jpg resize: (1080, 1632) 1372481217 -3.162413008885767 treat image : temp/1752766350_839753_1372481199_2f17318bd95aa04c1d1b3e03561eaf3f.jpg resize: (1080, 1632) 1372481199 -5.4777012497749675 treat image : temp/1752766350_839753_1372481179_ca77a4d30b4adf674370aa3b744cccd6.jpg resize: (1080, 1632) 1372481179 -5.499643746255476 treat image : temp/1752766350_839753_1372336776_02d14b7a462952bc334139811e3f5c0b.jpg resize: (1080, 1632) 1372336776 -4.995424117948141 treat image : temp/1752766350_839753_1372336775_c8af1731507482f624624a9f5c404bdf.jpg resize: (1080, 1632) 1372336775 -4.996012924610222 treat image : temp/1752766350_839753_1372336773_67489e45a31d553850349e7f2b384c15.jpg resize: (1080, 1632) 1372336773 -4.99384231511749 treat image : temp/1752766350_839753_1372336751_80dec2882b16ab99ff1d1bdef055ec4c.jpg resize: (1080, 1632) 1372336751 -2.7708906336930372 treat image : temp/1752766350_839753_1372336748_438a186c28ed51dd3c3c44364e3c6dca.jpg resize: (1080, 1632) 1372336748 -4.26406502514026 treat image : temp/1752766350_839753_1372336747_0f42cddb7f416b1f4d6a6100e9e0b343.jpg resize: (1080, 1632) 1372336747 -4.254768526196367 treat image : temp/1752766350_839753_1372336746_704b5ed77a8dd779c3800a8f862dd4b5.jpg resize: (1080, 1632) 1372336746 -4.395370337889402 treat image : temp/1752766350_839753_1372336745_27e1c5d36970752e60d693a82110d040.jpg resize: (1080, 1632) 1372336745 -4.403060128676108 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.034258127212524414 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.03648972511291504 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.035005807876586914 save missing photos in datou_result : time spend for datou_step_exec : 17.653388738632202 time spend to save output : 0.12156128883361816 total time spend for step 1 : 17.77495002746582 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.22user 5.60system 0:24.37elapsed 81%CPU (0avgtext+0avgdata 139084maxresident)k 104inputs+9008outputs (9major+249091minor)pagefaults 0swaps