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 : 1435326 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 : 1357>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/1435326/ 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.2435808181762695 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 06:52: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/1747111949_1435326_1357772133_f23bc9bfe2eac6eb61067499b8462f23.jpg resize: (1080, 1632) 1357772133 -1.9450991129675037 treat image : temp/1747111949_1435326_1357772132_48fe90ff29ae57a33a1e72bf661a947a.jpg resize: (1080, 1632) 1357772132 -4.432380321253058 treat image : temp/1747111949_1435326_1357772131_7436327e0a6d6b9e3f654e5252f8b156.jpg resize: (1080, 1632) 1357772131 -5.2495540370633735 treat image : temp/1747111949_1435326_1357772129_ee036e1a059e683d648b48a4aa0e6491.jpg resize: (1080, 1632) 1357772129 -4.573938027911711 treat image : temp/1747111949_1435326_1357772099_6d6fab93ce3cd6a975dc5429adef3f66.jpg resize: (1080, 1632) 1357772099 -5.511857005989933 treat image : temp/1747111949_1435326_1357772098_2e3f1d62b3e3784180d168999488e2c8.jpg resize: (1080, 1632) 1357772098 -4.0346445123338395 treat image : temp/1747111949_1435326_1357772096_852212e19b74d61306a75217fc5ad195.jpg resize: (1080, 1632) 1357772096 -4.6845265507847795 treat image : temp/1747111949_1435326_1357772093_3795bafa58760e17786aa05a6d04cda6.jpg resize: (1080, 1632) 1357772093 -5.150240854359481 treat image : temp/1747111949_1435326_1357772091_1fef8bdf636cbe215a27f571ba49b5ff.jpg resize: (1080, 1632) 1357772091 -1.7362676453237957 treat image : temp/1747111949_1435326_1357772047_b7b8d643f6d10c7930110da5aeeae47c.jpg resize: (1080, 1632) 1357772047 -6.2595049108213825 treat image : temp/1747111949_1435326_1357772042_8a7ec79c8a73c0116d6d626f81f97cd7.jpg resize: (1080, 1632) 1357772042 -6.278879380517978 treat image : temp/1747111949_1435326_1357772041_6fc5399ad35632ba21a7e488ff14497a.jpg resize: (1080, 1632) 1357772041 -6.773896775931858 treat image : temp/1747111949_1435326_1357772038_c6891ba4950c8908044fc5bd9e610e47.jpg resize: (1080, 1632) 1357772038 -5.676481735328959 treat image : temp/1747111949_1435326_1357772037_664abffc024d894ce244a52dd4a0bee8.jpg resize: (1080, 1632) 1357772037 -4.952407276406234 treat image : temp/1747111949_1435326_1357772035_4a805cf4f7289f1e9b5b159f9e589730.jpg resize: (1080, 1632) 1357772035 -5.558965612480899 treat image : temp/1747111949_1435326_1357772010_df47bf4aa91e8201b9b9f7e899b0b125.jpg resize: (1080, 1632) 1357772010 -2.1844775389589457 treat image : temp/1747111949_1435326_1357772009_918a1bcbb050bcd227b4cd0d28753bbd.jpg resize: (1080, 1632) 1357772009 -3.766110753560069 treat image : temp/1747111949_1435326_1357772008_250d617725934b871e41acc1da8e3211.jpg resize: (1080, 1632) 1357772008 -5.782903633487797 treat image : temp/1747111949_1435326_1357772006_3371dd74fe878341f5ab8d97a0a3d82b.jpg resize: (1080, 1632) 1357772006 -4.942539802887798 treat image : temp/1747111949_1435326_1357771977_c7b2d90ceed7cfe2626908fc90f11311.jpg resize: (1080, 1632) 1357771977 -5.096109570117002 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.015491008758544922 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.12699437141418457 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.2787668704986572 save missing photos in datou_result : time spend for datou_step_exec : 19.53379988670349 time spend to save output : 0.42609739303588867 total time spend for step 1 : 19.95989727973938 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.96user 7.43system 0:25.55elapsed 87%CPU (0avgtext+0avgdata 140940maxresident)k 160inputs+10000outputs (0major+262294minor)pagefaults 0swaps