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 : 4056093 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 : 3023>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/4056093/ 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.3304529190063477 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 Tue May 13 19:37:29 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/1747157847_4056093_1357895984_25b61c1b6969fde9b8aceef7cccf0cd9.jpg resize: (1080, 1632) 1357895984 -5.263168607722393 treat image : temp/1747157847_4056093_1357894668_2cbd5bd3c45147a44893414c34dbb2c5.jpg resize: (1080, 1632) 1357894668 -5.38990730423678 treat image : temp/1747157847_4056093_1357894665_a2a2945465f025f439060226a5929889.jpg resize: (1080, 1632) 1357894665 -4.499556658073195 treat image : temp/1747157847_4056093_1357894587_a8bb6a9356031f9bda87ed2b51989603.jpg resize: (1080, 1632) 1357894587 -5.777362705569307 treat image : temp/1747157847_4056093_1357894576_e17f98f5fd29aaf9b96450c644d3597b.jpg resize: (1080, 1632) 1357894576 -5.776968745129016 treat image : temp/1747157847_4056093_1357894573_8e9afbca6fdbdf2afe7b1f33dd487400.jpg resize: (1080, 1632) 1357894573 -4.253425668153271 treat image : temp/1747157847_4056093_1357894557_6905fde6cedd112d5063ef6aca01507d.jpg resize: (1080, 1632) 1357894557 -5.431866883059391 treat image : temp/1747157847_4056093_1357894537_294b94f6df3c205569d2b6705b70e030.jpg resize: (1080, 1632) 1357894537 -5.202411582646684 treat image : temp/1747157847_4056093_1357894265_7c1ff9ff460ffcb47ac584090fadfca9.jpg resize: (1080, 1632) 1357894265 -3.2852510759389912 treat image : temp/1747157847_4056093_1357894214_51e1377867aa83cbe94f45a79bcaec28.jpg resize: (1080, 1632) 1357894214 -2.898503357174275 treat image : temp/1747157847_4056093_1357894162_3ea34b6c18370203bdb8db17bb9d8137.jpg resize: (1080, 1632) 1357894162 -4.225964733696532 treat image : temp/1747157847_4056093_1357894133_7be89523e1b22bcbc8a9c917dd009812.jpg resize: (1080, 1632) 1357894133 -4.4323269169891635 treat image : temp/1747157847_4056093_1357894129_bfe5524569346aca15a93e443627aab1.jpg resize: (1080, 1632) 1357894129 -5.1473716917207835 treat image : temp/1747157847_4056093_1357894095_9a7ae9cef16db9b0a90c1dea243263b4.jpg resize: (1080, 1632) 1357894095 -5.144245623518889 treat image : temp/1747157847_4056093_1357894091_9be0f96b309ca9018d85aa46da45cd87.jpg resize: (1080, 1632) 1357894091 -5.071250912931553 treat image : temp/1747157847_4056093_1357894077_25abc4ccb95bba69593b400c88fcb462.jpg resize: (1080, 1632) 1357894077 -0.7536639684137069 treat image : temp/1747157847_4056093_1357891857_ff64cd41a765df2fa700788b934837e0.jpg resize: (1080, 1632) 1357891857 -5.8535205299956665 treat image : temp/1747157847_4056093_1357891827_2586a347a2e75906d903a6ece5101eec.jpg resize: (1080, 1632) 1357891827 -6.472873149286016 treat image : temp/1747157847_4056093_1357890420_27d83113d0c5b0a773b35c164e4bd5bb.jpg resize: (1080, 1632) 1357890420 -5.697833184952652 treat image : temp/1747157847_4056093_1357890415_d3653f1f3ab86c9cc9c591d0c86544ff.jpg resize: (1080, 1632) 1357890415 -0.48763034231103836 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.011800050735473633 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.012049198150634766 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013896942138671875 save missing photos in datou_result : time spend for datou_step_exec : 17.009658336639404 time spend to save output : 0.042421579360961914 total time spend for step 1 : 17.052079916000366 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.88user 4.60system 0:22.31elapsed 87%CPU (0avgtext+0avgdata 140828maxresident)k 2752inputs+9480outputs (14major+256042minor)pagefaults 0swaps