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 : 2459849 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 : 1946>100 please execute split_portfolio.py -i 23145313 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2900260'] with mtr_portfolio_ids : ['23145313'] and first list_photo_ids : [] new path : /proc/2459849/ 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.492706537246704 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 20 13:57: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/1747742247_2459849_1359807209_b5f0c2e7d152b4dd94624a4111d712d8.jpg resize: (1080, 1632) 1359807209 -1.4940255476419242 treat image : temp/1747742247_2459849_1359807206_336495605973b8c06cbee83a12092644.jpg resize: (1080, 1632) 1359807206 -3.2074550461049918 treat image : temp/1747742247_2459849_1359807199_c3d1ff2c6ee694d3c7c909e2092f5e88.jpg resize: (1080, 1632) 1359807199 -4.496938034245624 treat image : temp/1747742247_2459849_1359807147_4b7f65cea9d86bd6546151cd9d45fcbd.jpg resize: (1080, 1632) 1359807147 -5.097440360250432 treat image : temp/1747742247_2459849_1359807143_6ed47ac42d4886dd0e08153ec896bda6.jpg resize: (1080, 1632) 1359807143 -2.392400578327656 treat image : temp/1747742247_2459849_1359807000_452d6fbb54de37541e06de4bb272b465.jpg resize: (1080, 1632) 1359807000 -1.4373835169036135 treat image : temp/1747742247_2459849_1359806997_7d20314969d85bd7f3b9ea7724500fb6.jpg resize: (1080, 1632) 1359806997 -2.2520417031840596 treat image : temp/1747742247_2459849_1359806995_5743b96b320b69f95e7878297c55551e.jpg resize: (1080, 1632) 1359806995 -4.10346102678811 treat image : temp/1747742247_2459849_1359806890_f84b85641a076b437a38d160e25cd17d.jpg resize: (1080, 1632) 1359806890 -4.71555847587083 treat image : temp/1747742247_2459849_1359806887_24b8b38ff8f0857f0211132844351c35.jpg resize: (1080, 1632) 1359806887 -4.3447294080899574 treat image : temp/1747742247_2459849_1359806884_ae8f10a7b2c317759341dae8a1b33299.jpg resize: (1080, 1632) 1359806884 -3.264498021733671 treat image : temp/1747742247_2459849_1359806882_d24a95c70a511040a8c04691035ee034.jpg resize: (1080, 1632) 1359806882 -4.98823854594515 treat image : temp/1747742247_2459849_1359806846_739e651d552d5575d257dc8a9099a3ea.jpg resize: (1080, 1632) 1359806846 -5.271571283196149 treat image : temp/1747742247_2459849_1359806841_4e606e44842f306492a614aff779b160.jpg resize: (1080, 1632) 1359806841 -5.49354662067455 treat image : temp/1747742247_2459849_1359806838_e9d2bba96febd74372173bd8b0f67315.jpg resize: (1080, 1632) 1359806838 -5.574037339429079 treat image : temp/1747742247_2459849_1359806835_a6bc953287b8debb05d2ff5872f1ca89.jpg resize: (1080, 1632) 1359806835 -5.573270584587981 treat image : temp/1747742247_2459849_1359806832_e2ffd8654fcc64287abbfb640d0bb73d.jpg resize: (1080, 1632) 1359806832 -5.136073888789887 treat image : temp/1747742247_2459849_1359806825_aa648f48a522da5d8c8684630aebb442.jpg resize: (1080, 1632) 1359806825 -3.0428560010440298 treat image : temp/1747742247_2459849_1359806798_8e42495ab923bfc0ccb83cdcedd80c43.jpg resize: (1080, 1632) 1359806798 -1.4139910771976907 treat image : temp/1747742247_2459849_1359806795_4a34592c146cfa03f0a6b4b5d63bd45d.jpg resize: (1080, 1632) 1359806795 -1.8391679795220564 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.014833688735961914 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.013921022415161133 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015736818313598633 save missing photos in datou_result : time spend for datou_step_exec : 18.15656542778015 time spend to save output : 0.04901576042175293 total time spend for step 1 : 18.205581188201904 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.14user 5.65system 0:22.52elapsed 92%CPU (0avgtext+0avgdata 140284maxresident)k 128inputs+8544outputs (14major+260726minor)pagefaults 0swaps