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 : 471799 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 : 3530>100 please execute split_portfolio.py -i 20278395 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2557277'] with mtr_portfolio_ids : ['20278395'] and first list_photo_ids : [] new path : /proc/471799/ 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 ! BFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 11 ; length of list_pids : 11 ; length of list_args : 11 time to download the photos : 1.1644604206085205 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 Feb 6 22:32: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/1738877549_471799_1335303595_7b12c3b87a815ba5f2ad257d37d1b66a.jpg resize: (1080, 1632) 1335303595 -2.470980038695074 treat image : temp/1738877549_471799_1335303561_9dc2716f08135c887a5da212c1f5fe28.jpg resize: (1080, 1632) 1335303561 -3.7524550280665756 treat image : temp/1738877549_471799_1335303552_146ece5b0f967ed93c9d7a565dbe5028.jpg resize: (1080, 1632) 1335303552 -4.291346217962791 treat image : temp/1738877549_471799_1335303528_b5a1a20ee9341561295797804193bc62.jpg resize: (1080, 1632) 1335303528 -6.028882391623109 treat image : temp/1738877549_471799_1335303265_297b56cfcd61c5a6f25795a61cfceffd.jpg resize: (1080, 1632) 1335303265 -4.836616354555006 treat image : temp/1738877549_471799_1335303262_2e22d882cbfa743237a2dbcb0c254086.jpg resize: (1080, 1632) 1335303262 -6.01399984185093 treat image : temp/1738877549_471799_1335303208_34375d1d2b1d429ca1c8c523132a4480.jpg resize: (1080, 1632) 1335303208 -6.204392383800473 treat image : temp/1738877549_471799_1335303190_546e8b965b934f1851da60a349ff5084.jpg resize: (1080, 1632) 1335303190 -5.35245234536373 treat image : temp/1738877549_471799_1335303186_3a04ff1b39e5dad42c7b64589e45e7a3.jpg resize: (1080, 1632) 1335303186 -6.285516162065487 treat image : temp/1738877549_471799_1335303182_b59bb5557eef8c499eeaab42a9a7daaa.jpg resize: (1080, 1632) 1335303182 -5.12462944932877 treat image : temp/1738877549_471799_1335303179_35c2822e7d25cb374898fb2f9281af7c.jpg resize: (1080, 1632) 1335303179 -4.725159520610414 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 : 11 time used for this insertion : 0.012090682983398438 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 11 time used for this insertion : 0.011440515518188477 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.012537240982055664 save missing photos in datou_result : time spend for datou_step_exec : 7.250734567642212 time spend to save output : 0.04097175598144531 total time spend for step 1 : 7.291706323623657 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 11 set_done_treatment 8.28user 0.86system 0:12.62elapsed 72%CPU (0avgtext+0avgdata 139688maxresident)k 40inputs+5472outputs (17major+92994minor)pagefaults 0swaps