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 : 653810 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 : 537>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/653810/ 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.347759485244751 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 02: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/1747096348_653810_1357760760_85f73c6a40a80be80843ca73c1c8c44f.jpg resize: (1080, 1632) 1357760760 -5.9805221687421115 treat image : temp/1747096348_653810_1357760757_fc17f9f14efa7fbfdca27bee8f8fb21a.jpg resize: (1080, 1632) 1357760757 -6.064834410559048 treat image : temp/1747096348_653810_1357760754_f866e9050248a9d56e27f7a87eb88caa.jpg resize: (1080, 1632) 1357760754 -5.88931141541613 treat image : temp/1747096348_653810_1357760723_80b25dad42fb172754aeaf1001c15f25.jpg resize: (1080, 1632) 1357760723 -6.023266814302195 treat image : temp/1747096348_653810_1357760719_18a263b46b6a4062dac6f4796cde71cd.jpg resize: (1080, 1632) 1357760719 -4.515061881435598 treat image : temp/1747096348_653810_1357760717_3426c74e2e9a636104195dfb927c5c16.jpg resize: (1080, 1632) 1357760717 -5.598206642186944 treat image : temp/1747096348_653810_1357760715_4d9246ce5b64fb039c1c4f1902f462ea.jpg resize: (1080, 1632) 1357760715 -5.440958373521512 treat image : temp/1747096348_653810_1357760714_8e26d8fc40ed2465a0dca716b1179ba8.jpg resize: (1080, 1632) 1357760714 -6.1638195723334 treat image : temp/1747096348_653810_1357760711_a2734e062cde89d596da967c178adcfd.jpg resize: (1080, 1632) 1357760711 -6.056351854641634 treat image : temp/1747096348_653810_1357760601_ab92b355b81e465dd0e350a70481a76a.jpg resize: (1080, 1632) 1357760601 -4.411050760455959 treat image : temp/1747096348_653810_1357760599_ccf90505816102c4894808c237e0681c.jpg resize: (1080, 1632) 1357760599 -1.9657329088739677 treat image : temp/1747096348_653810_1357760597_2d4899a8d940e5f2b180c2de7f6af746.jpg resize: (1080, 1632) 1357760597 -1.7836024554310186 treat image : temp/1747096348_653810_1357760514_737a5b00c9f23febfb8af658134ebb42.jpg resize: (1080, 1632) 1357760514 -5.211863845566741 treat image : temp/1747096348_653810_1357760506_31ec966eb6cb79b96a80072c0f0b707f.jpg resize: (1080, 1632) 1357760506 -5.064383621120281 treat image : temp/1747096348_653810_1357760499_921891f05ab9b8a155dd77e8381d4843.jpg resize: (1080, 1632) 1357760499 -5.957530575972593 treat image : temp/1747096348_653810_1357760496_d94afccc23663952da2d958e6daf5c8b.jpg resize: (1080, 1632) 1357760496 -5.607152211301086 treat image : temp/1747096348_653810_1357760494_01ac79f21eef9caa6395fa24f1268861.jpg resize: (1080, 1632) 1357760494 -5.767613048010337 treat image : temp/1747096348_653810_1357760487_da69f5ea2c294235e17a95de4253dbe8.jpg resize: (1080, 1632) 1357760487 -4.422770580252529 treat image : temp/1747096348_653810_1357760369_4a59cd57f86abe8e9d07fbdb142f2bc2.jpg resize: (1080, 1632) 1357760369 -5.91156310719659 treat image : temp/1747096348_653810_1357760362_1b845e5fc3901eafd2713d3f98118a18.jpg resize: (1080, 1632) 1357760362 -5.322583374474225 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.013627290725708008 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.014026880264282227 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017886638641357422 save missing photos in datou_result : time spend for datou_step_exec : 15.323307752609253 time spend to save output : 0.0508112907409668 total time spend for step 1 : 15.37411904335022 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.06user 3.78system 0:20.89elapsed 85%CPU (0avgtext+0avgdata 140128maxresident)k 72inputs+10656outputs (0major+261253minor)pagefaults 0swaps