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 : 2823595 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 : 1686>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/2823595/ 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.343881130218506 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 Wed May 21 13:52: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/1747828347_2823595_1360031606_c67b2dd8bd1fc27020855a44111e595c.jpg resize: (1080, 1632) 1360031606 -5.948116791657185 treat image : temp/1747828347_2823595_1360031582_f7d6a6cc15d0f7d327872ae598f08373.jpg resize: (1080, 1632) 1360031582 -5.534938491860861 treat image : temp/1747828347_2823595_1360031554_40595cc46ca27a926bdd6bd12ae8699f.jpg resize: (1080, 1632) 1360031554 -1.0175329708007972 treat image : temp/1747828347_2823595_1360031384_281ed447c302a28d8d6114172541ffc2.jpg resize: (1080, 1632) 1360031384 -4.401574001137986 treat image : temp/1747828347_2823595_1360031351_fa5ab2e7503351ad1db6b30f6d084216.jpg resize: (1080, 1632) 1360031351 -6.5648319860989215 treat image : temp/1747828347_2823595_1360031332_b2cbd1a556657195a187db5e92f99264.jpg resize: (1080, 1632) 1360031332 -4.7739680691272275 treat image : temp/1747828347_2823595_1360031326_881b0382c02ac6e6c32987336e7b5f46.jpg resize: (1080, 1632) 1360031326 -5.701895066431191 treat image : temp/1747828347_2823595_1360031322_42d6de2f4fe534892af227a8f235ed9a.jpg resize: (1080, 1632) 1360031322 -5.535224359234653 treat image : temp/1747828347_2823595_1360031162_f8c6277b790ea6fd57bc6ebb68f3e60a.jpg resize: (1080, 1632) 1360031162 -5.507716039321038 treat image : temp/1747828347_2823595_1360031131_b84666269de00f8d09386a47d495e91b.jpg resize: (1080, 1632) 1360031131 -5.447269097660652 treat image : temp/1747828347_2823595_1360031105_f0d6c09476ca3a09cfa7a14f941c640d.jpg resize: (1080, 1632) 1360031105 -5.896969609737752 treat image : temp/1747828347_2823595_1360031004_64880e80de4119805811e925b450963c.jpg resize: (1080, 1632) 1360031004 -5.439574297996728 treat image : temp/1747828347_2823595_1360030761_3a73577939ac125a1ef78c0e86ab3f26.jpg resize: (1080, 1632) 1360030761 -1.31929526901853 treat image : temp/1747828347_2823595_1360030758_08722c85e80f1f932e02f438f639211e.jpg resize: (1080, 1632) 1360030758 -1.7721310267217685 treat image : temp/1747828347_2823595_1360030755_66d3d6b31bd03400a2f52ffd8ba393c2.jpg resize: (1080, 1632) 1360030755 -3.141757202671011 treat image : temp/1747828347_2823595_1360030750_6e298a29582cbc13410f9c0dd4a67e87.jpg resize: (1080, 1632) 1360030750 -5.2391502957116645 treat image : temp/1747828347_2823595_1360030747_366a6667f7ac556210b788a2575aa88e.jpg resize: (1080, 1632) 1360030747 -4.945117762628386 treat image : temp/1747828347_2823595_1360030716_7e250406003bbde2647f02c139eb8d7a.jpg resize: (1080, 1632) 1360030716 -5.9485037725066405 treat image : temp/1747828347_2823595_1360030711_2803ed5d20b96b14316cbc5f602e4d7f.jpg resize: (1080, 1632) 1360030711 -5.232848242083569 treat image : temp/1747828347_2823595_1360030708_a9401c46cf2480afbd0028224edb394c.jpg resize: (1080, 1632) 1360030708 -3.544453280350188 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.012734413146972656 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.012780427932739258 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014895200729370117 save missing photos in datou_result : time spend for datou_step_exec : 18.420090675354004 time spend to save output : 0.04508352279663086 total time spend for step 1 : 18.465174198150635 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.40user 5.95system 0:23.09elapsed 92%CPU (0avgtext+0avgdata 139032maxresident)k 144inputs+9824outputs (2major+260616minor)pagefaults 0swaps