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 : 5193 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 : 5808>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/5193/ 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.210897922515869 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 9 22:42:31 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/1752093749_5193_1371439279_9da8c24fb7568cc627994833f502b9b6.jpg resize: (1080, 1632) 1371439279 -5.087383091082524 treat image : temp/1752093749_5193_1371439255_640254a68011c7e07684338fbb9150d0.jpg resize: (1080, 1632) 1371439255 -5.154127899835185 treat image : temp/1752093749_5193_1371439224_e05c11ced242b5e1a94af1517ffc87ee.jpg resize: (1080, 1632) 1371439224 -5.1928419502675505 treat image : temp/1752093749_5193_1371439222_b892080a1966eed836a55a7c59354ecc.jpg resize: (1080, 1632) 1371439222 -3.7438661418198156 treat image : temp/1752093749_5193_1371439042_0505cbc2a6fb0ab45be8b631efe6a95b.jpg resize: (1080, 1632) 1371439042 -5.01822843246095 treat image : temp/1752093749_5193_1371439039_f9f444fed3a2fe9270c98d0e4146e060.jpg resize: (1080, 1632) 1371439039 -5.040830900330896 treat image : temp/1752093749_5193_1371439037_e6bd0132f2a4df1ca0652d4257cd7796.jpg resize: (1080, 1632) 1371439037 -5.040206385883143 treat image : temp/1752093749_5193_1371439035_dc9f50bf14d50f09fbe1ec1ce3b4b9fa.jpg resize: (1080, 1632) 1371439035 -5.066471889125516 treat image : temp/1752093749_5193_1371439033_faae6e4f3ec131723fbd56ce35e5da8e.jpg resize: (1080, 1632) 1371439033 -5.05315085769392 treat image : temp/1752093749_5193_1371439031_d277765bbd855746c748495ebe2c6f28.jpg resize: (1080, 1632) 1371439031 -5.027572096841596 treat image : temp/1752093749_5193_1371438990_982e4bc798eae7ae5185179171b7f67e.jpg resize: (1080, 1632) 1371438990 -4.9937513167878045 treat image : temp/1752093749_5193_1371438909_c475316bc1c4fbe6b406af308a653999.jpg resize: (1080, 1632) 1371438909 -4.990301693563855 treat image : temp/1752093749_5193_1371438822_82faa1c790e8cb48e00d052fc46e09de.jpg resize: (1080, 1632) 1371438822 -3.2129485601933436 treat image : temp/1752093749_5193_1371438732_d674706e2b3c18e5eb27980032230f52.jpg resize: (1080, 1632) 1371438732 -4.8579551645375885 treat image : temp/1752093749_5193_1371438651_a6142789cc55edf1ccc5e8a6f5781e82.jpg resize: (1080, 1632) 1371438651 -4.48678891201847 treat image : temp/1752093749_5193_1371438565_baa8fbe70bb0065d70cc4c583c929aa5.jpg resize: (1080, 1632) 1371438565 -4.516142650089237 treat image : temp/1752093749_5193_1371437352_64192cdd547217f4c8351ccb8ef5750f.jpg resize: (1080, 1632) 1371437352 -2.9371928351435543 treat image : temp/1752093749_5193_1371437351_e8f3921a11452674b115792270235776.jpg resize: (1080, 1632) 1371437351 -4.847837194573764 treat image : temp/1752093749_5193_1371437350_1629ff1f04b6b30d124ab099a51be27e.jpg resize: (1080, 1632) 1371437350 -4.061493525252871 treat image : temp/1752093749_5193_1371437349_82ff847bc9fec6be094f8337fc69e794.jpg resize: (1080, 1632) 1371437349 -4.751510984605644 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.013854265213012695 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.011810302734375 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014941692352294922 save missing photos in datou_result : time spend for datou_step_exec : 14.835062265396118 time spend to save output : 0.04522252082824707 total time spend for step 1 : 14.880284786224365 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.77user 3.54system 0:21.38elapsed 80%CPU (0avgtext+0avgdata 140804maxresident)k 40inputs+8856outputs (15major+254948minor)pagefaults 0swaps