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 : 994589 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 : 458>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/994589/ 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.4427294731140137 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 Mon May 12 06:52:28 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/1747025546_994589_1357600327_9c235038c94f4160c44d63ebc8e79792.jpg resize: (1080, 1632) 1357600327 -5.3828049214650475 treat image : temp/1747025546_994589_1357600326_4335eb9b878252829045778c13ff37fb.jpg resize: (1080, 1632) 1357600326 -5.816263326901135 treat image : temp/1747025546_994589_1357600324_ecd5f03b4c0bce84f3ceb6cc943a2a91.jpg resize: (1080, 1632) 1357600324 -5.300780280147535 treat image : temp/1747025546_994589_1357600322_b8e2b6dba8af240d0033aa4a53845309.jpg resize: (1080, 1632) 1357600322 -5.44675208170447 treat image : temp/1747025546_994589_1357600289_5cd2a72f36b28ae19a11dab3a84e2db4.jpg resize: (1080, 1632) 1357600289 -1.6757282804185747 treat image : temp/1747025546_994589_1357600287_42038b22dc4305c52d0ea6853bc9f07b.jpg resize: (1080, 1632) 1357600287 -2.2804839055193447 treat image : temp/1747025546_994589_1357600284_b488948f9e3d3f9345b48a2df2b891bb.jpg resize: (1080, 1632) 1357600284 -1.2350095357740214 treat image : temp/1747025546_994589_1357600258_a02c7c1ee60c5eedbe7b73f9a75aef46.jpg resize: (1080, 1632) 1357600258 -5.871469403678944 treat image : temp/1747025546_994589_1357600256_91d79625982f20ec6db6a8c96be6c729.jpg resize: (1080, 1632) 1357600256 -4.751899441474462 treat image : temp/1747025546_994589_1357600254_0ef0100f637bbabb2828b2059a85ffbe.jpg resize: (1080, 1632) 1357600254 -5.100073842816391 treat image : temp/1747025546_994589_1357600252_e9efd6a962bf7edcd43d44360d6fdcac.jpg resize: (1080, 1632) 1357600252 -5.859163765929761 treat image : temp/1747025546_994589_1357600250_f0e75fe912f1b8f140988c1975a12c01.jpg resize: (1080, 1632) 1357600250 -5.681240949379852 treat image : temp/1747025546_994589_1357600247_189d431d7f8d5abbdd97c3fe2d50d2c2.jpg resize: (1080, 1632) 1357600247 -5.606848605820708 treat image : temp/1747025546_994589_1357600218_d7e6919457b560986b474d4db33bc0d7.jpg resize: (1080, 1632) 1357600218 -4.673114841287948 treat image : temp/1747025546_994589_1357600215_e132d71d56f09c0ea72559dc3b51d909.jpg resize: (1080, 1632) 1357600215 -5.216917941072547 treat image : temp/1747025546_994589_1357600213_2ca43a50b08b2e27977698810a4682e9.jpg resize: (1080, 1632) 1357600213 -4.779616351045817 treat image : temp/1747025546_994589_1357600211_1566a41cfbf94c6b56f04e8b139b018d.jpg resize: (1080, 1632) 1357600211 -6.124775825332915 treat image : temp/1747025546_994589_1357599778_3dbbb76cd1db0b0dbb6d0e0ed68f0ee0.jpg resize: (1080, 1632) 1357599778 -6.0685568592680905 treat image : temp/1747025546_994589_1357599777_988be8f2df43861e5b5129fe1d7db22c.jpg resize: (1080, 1632) 1357599777 -6.023848776792401 treat image : temp/1747025546_994589_1357599614_8406db87b9ac52a20b9078b365de513f.jpg resize: (1080, 1632) 1357599614 -4.0202545297458405 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.013681411743164062 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.012022256851196289 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014943122863769531 save missing photos in datou_result : time spend for datou_step_exec : 17.457717180252075 time spend to save output : 0.04551434516906738 total time spend for step 1 : 17.503231525421143 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.35user 5.60system 0:21.58elapsed 92%CPU (0avgtext+0avgdata 140868maxresident)k 160inputs+10016outputs (16major+261953minor)pagefaults 0swaps