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 : 3156384 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 : 1849>100 please execute split_portfolio.py -i 21715706 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2691079'] with mtr_portfolio_ids : ['21715706'] and first list_photo_ids : [] new path : /proc/3156384/ 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 : 3.215198516845703 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 Mar 26 15:02:32 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/1742997748_3156384_1347477949_dde36319bf8b8d427db078e6f30193e3.jpg resize: (1080, 1632) 1347477949 -6.2360490075407595 treat image : temp/1742997748_3156384_1347461637_a7750321e333adf72528f5dfac3cd398.jpg resize: (1080, 1632) 1347461637 -5.62302433225423 treat image : temp/1742997748_3156384_1347461631_9136e6317aed60e49885d118bfa603d9.jpg resize: (1080, 1632) 1347461631 -5.691385828850313 treat image : temp/1742997748_3156384_1347461628_5ee4442aae5ac87c416ca59fa6d3fe85.jpg resize: (1080, 1632) 1347461628 -5.831271065571841 treat image : temp/1742997748_3156384_1347461623_701efa4b53853908b1f20a74a45f0ada.jpg resize: (1080, 1632) 1347461623 -3.8819249918385057 treat image : temp/1742997748_3156384_1347461585_35080722662bbf83d114ddeb5da764b7.jpg resize: (1080, 1632) 1347461585 -3.2436802868055183 treat image : temp/1742997748_3156384_1347461583_be654f3f463336bff9a242ea096cb7a6.jpg resize: (1080, 1632) 1347461583 -3.438519025880008 treat image : temp/1742997748_3156384_1347461580_e1a6f87cc81a9ec869ba7abfa11841e0.jpg resize: (1080, 1632) 1347461580 -3.649679037205463 treat image : temp/1742997748_3156384_1347461558_328fc634f933e55504d3f44416df28b8.jpg resize: (1080, 1632) 1347461558 -6.058782116981129 treat image : temp/1742997748_3156384_1347461557_199b22a026b7dd0cf7cdec643b16afed.jpg resize: (1080, 1632) 1347461557 -5.667909956896677 treat image : temp/1742997748_3156384_1347461554_a49879ffd8ba6124d66a90429ab30f56.jpg resize: (1080, 1632) 1347461554 -5.210883896429054 treat image : temp/1742997748_3156384_1347461550_90eb98735fe1eda05aad58027bf04fba.jpg resize: (1080, 1632) 1347461550 -6.026589080638451 treat image : temp/1742997748_3156384_1347461547_98bc05ecd39388e351d33691eeb14b94.jpg resize: (1080, 1632) 1347461547 -1.5552572672486373 treat image : temp/1742997748_3156384_1347461511_1d67df204c20d08899f02ebea777710f.jpg resize: (1080, 1632) 1347461511 -5.517644357435136 treat image : temp/1742997748_3156384_1347461507_ab4251f51aa52d0662ac9a52f901d76a.jpg resize: (1080, 1632) 1347461507 -6.128212194425791 treat image : temp/1742997748_3156384_1347461484_0b41e257151e51c023d5a4ff37385804.jpg resize: (1080, 1632) 1347461484 -5.7743667192145764 treat image : temp/1742997748_3156384_1347461482_c67b2e75989d4b9250033fe8e05b0fca.jpg resize: (1080, 1632) 1347461482 -5.886077755938105 treat image : temp/1742997748_3156384_1347461477_9c07184fe093bed2e78668c66c14c70e.jpg resize: (1080, 1632) 1347461477 -3.96513418437351 treat image : temp/1742997748_3156384_1347461473_c6a68150eb5ae4fe6fc23061ef3aa370.jpg resize: (1080, 1632) 1347461473 -4.9424534754721705 treat image : temp/1742997748_3156384_1347461468_b519005b10819f73cf4abb1aff60d58c.jpg resize: (1080, 1632) 1347461468 -5.897279018554738 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.013316869735717773 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.013208627700805664 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.020999431610107422 save missing photos in datou_result : time spend for datou_step_exec : 16.596821546554565 time spend to save output : 0.0525364875793457 total time spend for step 1 : 16.64935803413391 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.26user 4.28system 0:23.22elapsed 84%CPU (0avgtext+0avgdata 140660maxresident)k 0inputs+10120outputs (15major+260362minor)pagefaults 0swaps