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 : 547109 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 : 9190>100 please execute split_portfolio.py -i 24580131 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3234427'] with mtr_portfolio_ids : ['24580131'] and first list_photo_ids : [] new path : /proc/547109/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.2671566009521484 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 Sat Jul 5 20:47: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/1751741247_547109_1370829503_078dfc5ce502cbf4c52932604ce46ea3.jpg resize: (1080, 1632) 1370829503 -4.54972853324714 treat image : temp/1751741247_547109_1370829502_8c96620118c7773974462ecb70dc2dac.jpg resize: (1080, 1632) 1370829502 -4.547785084032541 treat image : temp/1751741247_547109_1370829497_f8e7e462093119dab5f5a6ac93dce68f.jpg resize: (1080, 1632) 1370829497 -4.506643692604823 treat image : temp/1751741247_547109_1370829494_e7358de433deec769e102c482b6ecfb9.jpg resize: (1080, 1632) 1370829494 -4.906596429718315 treat image : temp/1751741247_547109_1370829492_185bd76bd9bcf07d0caee62ca944f309.jpg resize: (1080, 1632) 1370829492 -4.9302361726635 treat image : temp/1751741247_547109_1370829489_dde336fd0e9da2a39dc6d4533da1ea72.jpg resize: (1080, 1632) 1370829489 -4.931448115207619 treat image : temp/1751741247_547109_1370829482_5fcf9e3a8241a18f9b4757158265f888.jpg resize: (1080, 1632) 1370829482 -4.913381837409365 treat image : temp/1751741247_547109_1370829480_a026e63a4a1b8527db106482959435a2.jpg resize: (1080, 1632) 1370829480 -2.30591176304283 treat image : temp/1751741247_547109_1370829477_e1be1aad392083573d7834aaa6daa09f.jpg resize: (1080, 1632) 1370829477 -2.8966696374546683 treat image : temp/1751741247_547109_1370829474_ce56f397d119ac9f595684fe6a52d351.jpg resize: (1080, 1632) 1370829474 -5.636116600011429 treat image : temp/1751741247_547109_1370829471_afa59d7a11419d5932eebe44a6878507.jpg resize: (1080, 1632) 1370829471 -5.4241543162902435 treat image : temp/1751741247_547109_1370829468_fcecfa2735ef6f420eef2cead8d648f2.jpg resize: (1080, 1632) 1370829468 -3.922147979364491 treat image : temp/1751741247_547109_1370829466_2fa5f8e225872677a6fe9556df51246d.jpg resize: (1080, 1632) 1370829466 -5.464559592980477 treat image : temp/1751741247_547109_1370829464_7f93a47440b9a3848a994d3c151355f9.jpg resize: (1080, 1632) 1370829464 -4.5963921579354095 treat image : temp/1751741247_547109_1370829463_8793928356b67a4d602fef8f0af849b1.jpg resize: (1080, 1632) 1370829463 -4.552990261908544 treat image : temp/1751741247_547109_1370829461_ffeb351163f214e01aa53d18172690fe.jpg resize: (1080, 1632) 1370829461 -5.163437391163745 treat image : temp/1751741247_547109_1370829458_8ddc8ba02d4ddfef416ca34acf944d15.jpg resize: (1080, 1632) 1370829458 -5.566586413767426 treat image : temp/1751741247_547109_1370829455_2199e1b4474e7e51dad3c5b7fe42258f.jpg resize: (1080, 1632) 1370829455 -5.565508994386886 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 : 18 time used for this insertion : 0.013667821884155273 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.017142772674560547 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.016255617141723633 save missing photos in datou_result : time spend for datou_step_exec : 12.966620922088623 time spend to save output : 0.05158686637878418 total time spend for step 1 : 13.018207788467407 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 12.35user 3.16system 0:17.19elapsed 90%CPU (0avgtext+0avgdata 138744maxresident)k 8inputs+8312outputs (3major+232352minor)pagefaults 0swaps