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 : 1301881 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 : 1170>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/1301881/ 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.2030844688415527 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:07: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/1747109247_1301881_1357769787_ca4684cb7acfdf6c3a2a9adc88222df0.jpg resize: (1080, 1632) 1357769787 -5.770880664480459 treat image : temp/1747109247_1301881_1357769785_c21f2c1dd275e93dbf9bd3b4ad0f543b.jpg resize: (1080, 1632) 1357769785 -5.492760758183124 treat image : temp/1747109247_1301881_1357769783_52a78e9cb12b8f80534e0c593a7975f1.jpg resize: (1080, 1632) 1357769783 -5.379633249297343 treat image : temp/1747109247_1301881_1357769780_b0c307f7b72bcbe2cfe9e7adff5f1769.jpg resize: (1080, 1632) 1357769780 -5.286241141440526 treat image : temp/1747109247_1301881_1357769763_6b6de19af69c54ae16fd9e42a88039c6.jpg resize: (1080, 1632) 1357769763 -6.397912766959763 treat image : temp/1747109247_1301881_1357769761_f08577c91467677e836a48cd613baab9.jpg resize: (1080, 1632) 1357769761 -6.473497646792767 treat image : temp/1747109247_1301881_1357769758_3a51e893879ec7545a30fce5a8251418.jpg resize: (1080, 1632) 1357769758 -6.451811858297056 treat image : temp/1747109247_1301881_1357769756_6b432476e9f5333c392322d716bf7c8d.jpg resize: (1080, 1632) 1357769756 -5.695306565005202 treat image : temp/1747109247_1301881_1357769755_18b5938a28e23a1c51de58c7a45144ce.jpg resize: (1080, 1632) 1357769755 -5.58072590541021 treat image : temp/1747109247_1301881_1357769752_bc8158d7c3c1bcfe4e6ddad383a21d7f.jpg resize: (1080, 1632) 1357769752 -4.285130735833949 treat image : temp/1747109247_1301881_1357769730_e0297c05570071549844002e6f22cb41.jpg resize: (1080, 1632) 1357769730 -6.137838169311639 treat image : temp/1747109247_1301881_1357769728_de39507c8c50955e5343fc90ae8a105d.jpg resize: (1080, 1632) 1357769728 -2.0002748896441114 treat image : temp/1747109247_1301881_1357769724_413b8f7dd20bc68b36543c4c9e74b097.jpg resize: (1080, 1632) 1357769724 -4.996492461997456 treat image : temp/1747109247_1301881_1357769708_409d7c4fc93e546431195f7fb9b5cab3.jpg resize: (1080, 1632) 1357769708 -2.524303622630653 treat image : temp/1747109247_1301881_1357769704_074cfd60167a75621d191ec71a71a5de.jpg resize: (1080, 1632) 1357769704 -5.801220006174535 treat image : temp/1747109247_1301881_1357769701_217bdff41a7fc4de2b1b946ada4f5d5a.jpg resize: (1080, 1632) 1357769701 -5.84478076536621 treat image : temp/1747109247_1301881_1357769699_8814cd7a44efa19fcf6f84e0a6f58629.jpg resize: (1080, 1632) 1357769699 -6.054229315450673 treat image : temp/1747109247_1301881_1357769698_cf7b7bc7bec9662e763d17f035b94db8.jpg resize: (1080, 1632) 1357769698 -6.1550347227847695 treat image : temp/1747109247_1301881_1357769688_2a4623ec77689554f6d10e0f377e2050.jpg resize: (1080, 1632) 1357769688 -3.4338592627864246 treat image : temp/1747109247_1301881_1357769665_d38d951bf00b63ba906a4cd3f403edbb.jpg resize: (1080, 1632) 1357769665 -1.945730457641286 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.01747584342956543 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.0179593563079834 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.022716283798217773 save missing photos in datou_result : time spend for datou_step_exec : 17.082536935806274 time spend to save output : 0.06325745582580566 total time spend for step 1 : 17.14579439163208 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.58user 5.08system 0:21.71elapsed 90%CPU (0avgtext+0avgdata 141532maxresident)k 3032inputs+10696outputs (23major+257847minor)pagefaults 0swaps