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 : 2778697 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 : 3165>100 please execute split_portfolio.py -i 21089077 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2640530'] with mtr_portfolio_ids : ['21089077'] and first list_photo_ids : [] new path : /proc/2778697/ 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 : 1.9985008239746094 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 Mar 6 18:07:28 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/1741280846_2778697_1341274145_e700352fb3163cee9bbbcef690b773f2.jpg resize: (1080, 1632) 1341274145 -4.12022001855444 treat image : temp/1741280846_2778697_1341274143_a9dcc084df173ae3d04e4535684c14a6.jpg resize: (1080, 1632) 1341274143 -5.122770130717853 treat image : temp/1741280846_2778697_1341274135_07d1609a8c714dc91ff7e1468aa7c819.jpg resize: (1080, 1632) 1341274135 -4.958507951534026 treat image : temp/1741280846_2778697_1341274132_6ba9db703972f3ccfb9cebc5d1b01e77.jpg resize: (1080, 1632) 1341274132 -6.300591694385145 treat image : temp/1741280846_2778697_1341274088_31ea179a9c4e6918e40af63bc07c3ab3.jpg resize: (1080, 1632) 1341274088 -6.298861212067771 treat image : temp/1741280846_2778697_1341274085_255289216c339ff8464cf007451838b5.jpg resize: (1080, 1632) 1341274085 -6.455113192146324 treat image : temp/1741280846_2778697_1341274072_bdebb270d4d00cdd1c4e049caa5ee886.jpg resize: (1080, 1632) 1341274072 -4.250827585402418 treat image : temp/1741280846_2778697_1341274067_c9d7c8ca1cadecbf7cb438909d27aeb0.jpg resize: (1080, 1632) 1341274067 -5.708246551449704 treat image : temp/1741280846_2778697_1341274062_5a0bd31ecc6ead0177d0516622aabb73.jpg resize: (1080, 1632) 1341274062 -2.063053863229204 treat image : temp/1741280846_2778697_1341274056_4dab7f8199b77201fbde1cae449fe5b3.jpg resize: (1080, 1632) 1341274056 -3.4365360086080328 treat image : temp/1741280846_2778697_1341274053_163adbc1ec1ba29f5c5cdfc165eed31f.jpg resize: (1080, 1632) 1341274053 -4.246899462497519 treat image : temp/1741280846_2778697_1341274017_363219dd03256d725ac5a582180f4352.jpg resize: (1080, 1632) 1341274017 -3.604950168721927 treat image : temp/1741280846_2778697_1341273964_27072425d8fa9b71afd79d47765ec1c3.jpg resize: (1080, 1632) 1341273964 -4.846343061432519 treat image : temp/1741280846_2778697_1341273881_653b35ce2cc6d73acf80361dbe651d66.jpg resize: (1080, 1632) 1341273881 -5.956355105630846 treat image : temp/1741280846_2778697_1341273790_844b264e1345a17dc9bfee490f0cf976.jpg resize: (1080, 1632) 1341273790 -5.919192071761828 treat image : temp/1741280846_2778697_1341273782_d2440b753e263267d9a96aeb369d681e.jpg resize: (1080, 1632) 1341273782 -6.328827043935616 treat image : temp/1741280846_2778697_1341273771_972bbd5fa1e6f62c8354bd63af2e3094.jpg resize: (1080, 1632) 1341273771 -4.834473943448498 treat image : temp/1741280846_2778697_1341273766_1e22a7b9dda500609e40b1fdece9cad5.jpg resize: (1080, 1632) 1341273766 -5.287615213631477 treat image : temp/1741280846_2778697_1341273718_936f07b0891ca76e974db04875d32d59.jpg resize: (1080, 1632) 1341273718 -5.781154356091019 treat image : temp/1741280846_2778697_1341273714_b0647610a21335d0903478444681a32b.jpg resize: (1080, 1632) 1341273714 -5.448865782364099 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.013620853424072266 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.01366281509399414 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01488947868347168 save missing photos in datou_result : time spend for datou_step_exec : 18.01787304878235 time spend to save output : 0.047441959381103516 total time spend for step 1 : 18.065315008163452 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.59user 5.21system 0:21.60elapsed 96%CPU (0avgtext+0avgdata 142384maxresident)k 4328inputs+10320outputs (40major+265171minor)pagefaults 0swaps