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 : 3407481 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 : 294>100 please execute split_portfolio.py -i 21570233 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2678697'] with mtr_portfolio_ids : ['21570233'] and first list_photo_ids : [] new path : /proc/3407481/ 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.2669668197631836 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 Fri Mar 21 12:17: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/1742555847_3407481_1345973903_b7408052f663762773fdd63d29465d38.jpg resize: (1080, 1632) 1345973903 -1.9659727418181583 treat image : temp/1742555847_3407481_1345973899_a7613509edb4324d14042d2d72227e7c.jpg resize: (1080, 1632) 1345973899 -3.2638904587316744 treat image : temp/1742555847_3407481_1345973894_b39b6dc6e97a5b67cbecae68398fc461.jpg resize: (1080, 1632) 1345973894 -4.592035635308385 treat image : temp/1742555847_3407481_1345973875_86048e6d288674e5d7841ed1253b6223.jpg resize: (1080, 1632) 1345973875 -6.73591017864519 treat image : temp/1742555847_3407481_1345973863_f5c6a23801c2a1a7b2041c18d0e1ca83.jpg resize: (1080, 1632) 1345973863 -6.324315766000775 treat image : temp/1742555847_3407481_1345973859_91fefad44231a2b5dd0b8edb347de798.jpg resize: (1080, 1632) 1345973859 -4.231223977856567 treat image : temp/1742555847_3407481_1345973847_93d8c31e04022ca40cc25d009cb85876.jpg resize: (1080, 1632) 1345973847 -4.677518585219863 treat image : temp/1742555847_3407481_1345973844_5539dae8b728d9034cfd6d6a14a6f421.jpg resize: (1080, 1632) 1345973844 -5.634414372655044 treat image : temp/1742555847_3407481_1345973840_98b37cf9c62826e0cf5ba7e10a2ecfb7.jpg resize: (1080, 1632) 1345973840 -1.2940463809797516 treat image : temp/1742555847_3407481_1345973836_f6e193746df91dcbc26886ba5b6ebbb1.jpg resize: (1080, 1632) 1345973836 -2.705004250928326 treat image : temp/1742555847_3407481_1345973833_bf3e90aa560934499c4c3effe2db2e09.jpg resize: (1080, 1632) 1345973833 -4.179895752397812 treat image : temp/1742555847_3407481_1345973823_e16b5ce99da0309b2a768afb0100ca9d.jpg resize: (1080, 1632) 1345973823 -5.80718498949854 treat image : temp/1742555847_3407481_1345973813_4d4e3052ed0cc1e5003d04c4324f0b85.jpg resize: (1080, 1632) 1345973813 -5.396545933214871 treat image : temp/1742555847_3407481_1345973811_b87b24adb8cb2d1c4a185c28afbd42ac.jpg resize: (1080, 1632) 1345973811 -5.396545933214871 treat image : temp/1742555847_3407481_1345973804_049ec8e3d12f4473b26ec643d2f272f6.jpg resize: (1080, 1632) 1345973804 -5.732783876948653 treat image : temp/1742555847_3407481_1345973803_b49a2cd9685e6692043945e1781b8c10.jpg resize: (1080, 1632) 1345973803 -5.732783876948653 treat image : temp/1742555847_3407481_1345973793_ec2ced70c3f81fa840ad9286a6ffdc68.jpg resize: (1080, 1632) 1345973793 -5.064988287937153 treat image : temp/1742555847_3407481_1345973792_7fde43a1a64e434a302486a1111f4dc6.jpg resize: (1080, 1632) 1345973792 -5.064988287937153 treat image : temp/1742555847_3407481_1345973775_0f7d0f5fe241b349b48e64b9ba7d96eb.jpg resize: (1080, 1632) 1345973775 -5.362800336073679 treat image : temp/1742555847_3407481_1345973773_074a36d413e3263c248424d77dc70822.jpg resize: (1080, 1632) 1345973773 -5.362800336073679 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.014505863189697266 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.015090227127075195 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018935203552246094 save missing photos in datou_result : time spend for datou_step_exec : 25.78800058364868 time spend to save output : 0.053267717361450195 total time spend for step 1 : 25.841268301010132 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.81user 14.02system 0:30.09elapsed 92%CPU (0avgtext+0avgdata 138640maxresident)k 4760inputs+10424outputs (37major+256849minor)pagefaults 0swaps