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 : 3990745 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 : 4716>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/3990745/ 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.1534626483917236 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 Jul 9 21:02: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/1752087747_3990745_1371431029_3f25d2cded54a33a6fd82fe8798b16ef.jpg resize: (1080, 1632) 1371431029 -5.562428397341505 treat image : temp/1752087747_3990745_1371431028_ac0ded7076991ac5cc9b235e1a9ec2f6.jpg resize: (1080, 1632) 1371431028 -5.505904231887595 treat image : temp/1752087747_3990745_1371431027_8349e83457e8de4a4166c912c4b82089.jpg resize: (1080, 1632) 1371431027 -4.771634940377937 treat image : temp/1752087747_3990745_1371431026_ff55ae4e087bb1b579dcd4d285649c78.jpg resize: (1080, 1632) 1371431026 -4.767969271888952 treat image : temp/1752087747_3990745_1371431025_64e9758f24f9d8bd0a3f20b27937d788.jpg resize: (1080, 1632) 1371431025 -5.113747102973659 treat image : temp/1752087747_3990745_1371431024_97bc2b6fab2a6d1ea714f4cad934006d.jpg resize: (1080, 1632) 1371431024 -3.658514617096931 treat image : temp/1752087747_3990745_1371431021_802b176a20e50d64fd029c1d57fa9559.jpg resize: (1080, 1632) 1371431021 -4.295086444519679 treat image : temp/1752087747_3990745_1371431019_fb0c5789a3b7c54d5de7d759fd9b250a.jpg resize: (1080, 1632) 1371431019 -4.306219023834395 treat image : temp/1752087747_3990745_1371431017_971383a685e435121e5d21b3da60c97e.jpg resize: (1080, 1632) 1371431017 -4.297463288438164 treat image : temp/1752087747_3990745_1371431015_e94f44c1eef5b1bfda30bbd87aa57c35.jpg resize: (1080, 1632) 1371431015 -4.300669844831235 treat image : temp/1752087747_3990745_1371431013_a41d3abc5ea21f2caf6bfd1ea2148a35.jpg resize: (1080, 1632) 1371431013 -4.319763573183046 treat image : temp/1752087747_3990745_1371431012_6f0d1786235ccd40cfe148302d40eed7.jpg resize: (1080, 1632) 1371431012 -4.339305171943637 treat image : temp/1752087747_3990745_1371431011_0f795d37463880bd31b050ab07aa0e59.jpg resize: (1080, 1632) 1371431011 -4.856431202256868 treat image : temp/1752087747_3990745_1371431010_b484752a31835d653940712a440ff044.jpg resize: (1080, 1632) 1371431010 -4.309842666297705 treat image : temp/1752087747_3990745_1371431009_0ddded4bb9bd31932a9313b6ab860342.jpg resize: (1080, 1632) 1371431009 -4.308848464862874 treat image : temp/1752087747_3990745_1371431007_086d5f86de719bb7a19db0ed30776342.jpg resize: (1080, 1632) 1371431007 -4.304317997895524 treat image : temp/1752087747_3990745_1371431005_1415713c0c1551c1961225d9848900c4.jpg resize: (1080, 1632) 1371431005 -4.298175693840345 treat image : temp/1752087747_3990745_1371431004_6e34d959c42a217c79d4b4e97396ed06.jpg resize: (1080, 1632) 1371431004 -4.273302485848806 treat image : temp/1752087747_3990745_1371431000_eaa29547c666684ea0685d45554f256a.jpg resize: (1080, 1632) 1371431000 -4.280089625518983 treat image : temp/1752087747_3990745_1371430998_2cbd4e585f758cad34ae45b69c910414.jpg resize: (1080, 1632) 1371430998 -4.29081416389224 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.01255655288696289 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.012115716934204102 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014951705932617188 save missing photos in datou_result : time spend for datou_step_exec : 15.773815393447876 time spend to save output : 0.0447230339050293 total time spend for step 1 : 15.818538427352905 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.18user 4.03system 0:21.32elapsed 85%CPU (0avgtext+0avgdata 139412maxresident)k 0inputs+9208outputs (4major+258292minor)pagefaults 0swaps